:root {
  --primary-color: #5c7999;       /* Your logo's slate blue */
  --primary-hover: #48627e;       /* A slightly darker blue for hover states */
  --text-dark: #1e293b;           /* Clean dark slate for text/headings */
  --text-muted: #64748b;          /* Soft grey for secondary text/subtitles */
  --bg-light: #f8fafc;            /* Clean off-white background */
  --white: #ffffff;
}


@media (max-width: 900px) {
  /* Prevent accidental horizontal overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Optimize touch buttons */
  .btn-primary,
  .btn-secondary,
  .btn-quote,
  .form-submit-btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Prevent mobile Safari automatic text zoom on form focus */
  input, select, textarea {
    font-size: 16px !important;
  }
}

.site-header {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0.75rem 2rem; /* */
  display: flex; /*[cite: 6] */
  justify-content: space-between; /*[cite: 6] */
  align-items: center; /*[cite: 6] */
  position: sticky; /*[cite: 6] */
  top: 0; /*[cite: 6] */
  z-index: 1000; /*[cite: 6] */
}

.logo{
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: darkslateblue;
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links{
  list-style: none;
  margin:0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.nav-links a{
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover { 
  color: var(--primary-color); 
}

.header-cta{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-cta a[href^="tel:"] {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.header-cta a[href^="tel:"]:hover {
  color: var(--primary-color);
}

.btn-quote{
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-quote:hover{
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark); /*[cite: 6] */
  background-image: 
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.75) 20%,
      rgba(255, 255, 255, 0.96) 35%,
      rgba(255, 255, 255, 0.96) 65%,
      rgba(255, 255, 255, 0.75) 80%,
      rgba(255, 255, 255, 0.15) 100%
    ),
    url('images/marble-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3.5rem;
}

.hero-content {
  flex: 1;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 2rem 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  text-decoration: none;
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid #cbd5e1;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: #94a3b8;
}

.hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-image-frame {
  position: relative; /*[cite: 6] */
  border-radius: 20px;
  overflow: hidden; /*[cite: 6] */
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  max-width: 480px; /*[cite: 6] */
  width: 100%; /*[cite: 6] */
  aspect-ratio: 4 / 5; /*[cite: 6] */
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  transition: all 0.75s ease;
  pointer-events: none;
}

.hero-image-frame:hover::after {
  left: 130%;
}


.trust-strip {
  display: flex; /*[cite: 6] */
  justify-content: space-between;
  align-items: center; /*[cite: 6] */
  max-width: 1100px;
  margin: 1rem auto 4rem;
  padding: 0 1.5rem;
  background: transparent;
  border: none;
  gap: 1.5rem; /*[cite: 6] */
  animation: fadeInUp 1.2s ease-out forwards;
}

.trust-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center; /*[cite: 6] */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(92, 121, 153, 0.15);
}

.trust-divider {
  display: none; /* Removed in favor of card separation */
}


.trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.trust-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title-wrap h2 {
  font-size: 2.2rem;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Process Section */
.process-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -8px rgba(92, 121, 153, 0.15);
}

.step-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.process-card h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Contact & Glass Form Section */
.contact-section {
  padding: 5rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 2.2rem;
  color: #0f172a;
  margin: 0 0 1rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.6;
}

.quick-contact-details {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.quick-contact-details p {
  margin: 0.5rem 0;
  color: var(--text-dark);
}

.quick-contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

/* Frosted Form Styling */
.glass-form {
  flex: 1.4;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  padding: 2.5rem;
  border-radius: 16px;
}

.form-group-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(92, 121, 153, 0.2);
}

.form-submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.precision-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.precision-container {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 3rem;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.06);
  flex-wrap: wrap;
}

.precision-media {
  flex: 1;
  min-width: 300px;
}

.precision-image-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
  aspect-ratio: 3 / 2;
}

.precision-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.precision-content {
  flex: 1.2;
  min-width: 320px;
}

.precision-content h2 {
  font-size: 2rem;
  color: #0f172a;
  margin: 0.5rem 0 1rem;
}

.precision-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.precision-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.precision-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: #0f172a;
}

.precision-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}


/* Services Section */
.services-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -8px rgba(92, 121, 153, 0.15);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 0 0 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Gallery Section & Filter Controls */
.gallery-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #cbd5e1;
  padding: 0.6rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px -5px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
}

.image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.gallery-info {
  padding: 1.25rem 1rem;
}

.gallery-info h3 {
  font-size: 1rem;
  color: #0f172a;
  margin: 0 0 0.3rem;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
}

.review-text {
  font-style: italic;
  color: var(--text-dark); /*[cite: 8] */
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.reviews-section {
  padding: 4rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-author strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
}

.review-author span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.social-badges-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-badge-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.social-badge-link:hover {
  background: var(--white);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.social-icon-img {
  display: block;
  object-fit: contain;
}

.fb-img {
  width: 22px;
  height: 22px;
}

.yelp-img {
  height: 20px;
  width: auto;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 85%;
  max-height: 75vh;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

#lightbox-caption {
  color: #e2e8f0;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  padding: 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}