/* ============================================================
   SITE.CSS — Srinivas Enclave
   Core layout, components and animations for the one-page site.
   (Color tokens live in theme.css; breakpoints live in responsive.css)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

  body {
    font-family: 'Jost', sans-serif;
    background: var(--warm-white);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(26,39,68,0.97);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    border-bottom: 1px solid rgba(184,147,58,0.3);
  }
  .nav-logo {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    text-decoration: none;
  }
  .nav-logo img { height: 52px; width: auto; }
  .nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
  .nav-logo-text span:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem; font-weight: 700;
    color: #fff; letter-spacing: 2px;
  }
  .nav-logo-text span:last-child {
    font-size: 0.62rem; letter-spacing: 3px; color: var(--gold-light);
    text-transform: uppercase;
  }
  .nav-links {
    display: flex; list-style: none; gap: 2.5rem;
  }
  .nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--gold); transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-links a:hover::after { width: 100%; }

  /* Hamburger */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .hamburger span { width: 24px; height: 2px; background: var(--gold-light); transition: all 0.3s; }

  /* ── HERO ── */
  #home {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--navy) 0%, #0f1a30 60%, #1a2a18 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero-bg-photo {
    position: absolute; inset: 0;
    background-image: url("../images/backgrounds/hero-building-exterior.jpg");
    background-size: cover;
    background-position: center top;
    opacity: 0.22;
    z-index: 0;
  }
  .hero-pattern {
    position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 20% 50%, rgba(184,147,58,0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(74,103,65,0.12) 0%, transparent 40%),
      url("../svg/pattern-hero-diamonds.svg");
    opacity: 1;
  }
  .hero-content {
    position: relative; z-index: 2;
    animation: fadeUp 1s ease both;
  }
  .hero-logo { width: 120px; height: auto; margin-bottom: 1.5rem; border-radius: 15%; filter: drop-shadow(0 4px 20px rgba(184,147,58,0.4)); }
  .hero-eyebrow {
    font-size: 0.72rem; letter-spacing: 5px; color: var(--gold-light);
    text-transform: uppercase; margin-bottom: 1rem; font-weight: 500;
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 700; color: #fff;
    line-height: 1.1; margin-bottom: 0.4rem;
  }
  .hero-title em { font-style: italic; color: var(--gold-light); }
  .hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: rgba(255,255,255,0.65);
    letter-spacing: 1px; margin-bottom: 0.8rem;
  }
  .hero-location {
    font-size: 0.78rem; letter-spacing: 3px; color: var(--olive);
    color: #8aad82; text-transform: uppercase; margin-bottom: 2rem;
  }
  .hero-divider {
    width: 80px; height: 1px; background: var(--gold);
    margin: 1.2rem auto; opacity: 0.7;
  }
  .hero-contact {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(184,147,58,0.15);
    border: 1px solid rgba(184,147,58,0.4);
    color: var(--gold-light); padding: 0.7rem 1.6rem;
    border-radius: 2px; font-size: 0.95rem; font-weight: 500;
    letter-spacing: 1px; text-decoration: none;
    transition: all 0.3s;
  }
  .hero-contact:hover { background: rgba(184,147,58,0.25); border-color: var(--gold-light); }

  .hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.3); font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
    animation: bounce 2s infinite;
  }
  .hero-scroll span { display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); margin: 0 auto; }

  /* ── SECTIONS BASE ── */
  section { padding: 6rem 5%; }
  .section-label {
    font-size: 0.68rem; letter-spacing: 5px; color: var(--gold);
    text-transform: uppercase; font-weight: 600; margin-bottom: 0.8rem;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700; color: var(--navy);
    line-height: 1.15; margin-bottom: 1.2rem;
  }
  .section-title em { font-style: italic; color: var(--olive); }
  .gold-line { width: 60px; height: 2px; background: var(--gold); margin-bottom: 2rem; }

  /* ── SERVICES ── */
  #services { background: var(--cream); }
  .services-intro {
    max-width: 700px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 3rem;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .service-card {
    background: var(--warm-white);
    border: 1px solid rgba(184,147,58,0.2);
    border-top: 3px solid var(--gold);
    padding: 2rem 1.6rem;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26,39,68,0.1); }
  .service-icon {
    font-size: 2rem; margin-bottom: 1rem;
    display: block;
  }
  .service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem; font-weight: 700;
    color: var(--navy); margin-bottom: 0.5rem;
  }
  .service-card p {
    font-size: 0.9rem; color: var(--text-light); line-height: 1.7;
  }

  /* ── GALLERY ── */
  #gallery { background: var(--navy); color: #fff; }
  #gallery .section-title { color: #fff; }
  #gallery .section-label { color: var(--gold-light); }

  .gallery-tabs {
    display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap;
  }
  .tab-btn {
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(184,147,58,0.4);
    background: transparent; color: rgba(255,255,255,0.6);
    font-family: 'Jost', sans-serif; font-size: 0.78rem;
    letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s; border-radius: 2px;
  }
  .tab-btn.active, .tab-btn:hover {
    background: var(--gold); border-color: var(--gold); color: #fff;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .gallery-item {
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(184,147,58,0.15);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 0.5rem;
    color: rgba(255,255,255,0.3); font-size: 0.8rem; letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s; cursor: pointer; overflow: hidden; position: relative;
  }
  .gallery-item:hover { border-color: var(--gold); background: rgba(184,147,58,0.07); }
  .gallery-item .gallery-icon { font-size: 2rem; opacity: 0.4; }

  .video-section {
    margin-top: 2rem;
    display: none;
  }
  .video-section.active { display: block; }
  .video-placeholder {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(184,147,58,0.2);
    border-radius: 4px;
    height: 300px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 1rem;
    color: rgba(255,255,255,0.35); font-size: 0.85rem; letter-spacing: 1px;
  }
  .play-btn {
    width: 60px; height: 60px; border-radius: 50%;
    border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.4rem; cursor: pointer; transition: all 0.3s;
  }
  .play-btn:hover { background: var(--gold); color: #fff; }

  /* ── TOURS ── */
  #tours { background: var(--warm-white); }
  .tours-intro { max-width: 650px; color: var(--text-light); line-height: 1.8; margin-bottom: 3rem; }
  .tours-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  .tour-card {
    border: 1px solid rgba(26,39,68,0.1);
    overflow: hidden; transition: all 0.3s;
  }
  .tour-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(26,39,68,0.12); }
  .tour-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--navy), var(--olive));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; position: relative; overflow: hidden;
  }
  .tour-card-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
  }
  .tour-card-body { padding: 1.4rem; }
  .tour-card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem;
  }
  .tour-card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
  .tour-tag {
    display: inline-block; margin-top: 0.8rem;
    font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); border: 1px solid rgba(184,147,58,0.4);
    padding: 0.2rem 0.6rem;
  }

  /* ── CONTACT ── */
  #contact { background: var(--cream); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
  }
  .contact-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem;
  }
  .contact-item {
    display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem;
  }
  .contact-item-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: var(--navy); color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; border-radius: 2px;
  }
  .contact-item-text strong { display: block; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
  .contact-item-text span { font-size: 0.95rem; color: var(--text); }
  .contact-item-text a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
  .contact-item-text a:hover { color: var(--gold); }

  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }
  .form-group input, .form-group textarea, .form-group select {
    padding: 0.8rem 1rem; border: 1px solid rgba(26,39,68,0.2);
    background: var(--warm-white); font-family: 'Jost', sans-serif;
    font-size: 0.92rem; color: var(--text); outline: none;
    transition: border-color 0.3s; border-radius: 2px;
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--gold);
  }
  .form-group textarea { resize: vertical; min-height: 110px; }
  .submit-btn {
    padding: 0.9rem 2.5rem;
    background: var(--navy); color: var(--gold-light);
    border: none; font-family: 'Jost', sans-serif;
    font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s; align-self: flex-start;
    font-weight: 600;
  }
  .submit-btn:hover { background: var(--gold); color: #fff; }

  /* ── FOOTER ── */
  footer {
    background: #0d1520;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2.5rem 5%;
    font-size: 0.8rem; letter-spacing: 1px;
    border-top: 1px solid rgba(184,147,58,0.2);
  }
  footer strong { color: var(--gold-light); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }
  .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }

  /* ── MOBILE ── */


/* ============================================================
   EXTRACTED INLINE STYLES
   Every style="" attribute from the original single-file page
   has been promoted to a named class below (grouped by the
   section of the page it belongs to). Nothing here changes how
   anything looks — it only moves the same declarations out of
   the HTML and into CSS, per the publish-package requirements.
   ============================================================ */

.hero-framed-photo {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(184,147,58,0.5);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-framed-photo-img {
  width: 100%;
  display: block;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.video-tour-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.video-tour-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.video-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(184,147,58,0.45);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  background: #000;
  aspect-ratio: 9/16;
  cursor: pointer;
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6));
}

.video-card-play-wrap {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-button {
  width: 76px; height: 76px;
  background: rgba(255,0,0,0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px rgba(0,0,0,0.6);
}

.video-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.video-card-title {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0;
}

.video-card-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  margin: 0.2rem 0 0;
  letter-spacing: 1px;
}

.video-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.75);
  border-radius: 4px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-badge-text {
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 1px;
}

.youtube-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 2rem;
  background: rgba(255,0,0,0.15);
  border: 1px solid rgba(255,80,80,0.5);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s;
  font-weight: 500;
}
.youtube-cta:hover { background: rgba(255,0,0,0.3); }

#map { padding: 0; background: var(--cream); }

.map-intro { padding: 4rem 5% 2rem; }

.map-intro-text {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.8;
}

.map-frame-wrap { position: relative; }

.map-iframe { border: 0; display: block; filter: grayscale(20%) contrast(1.05); }

.map-overlay-card {
  position: absolute;
  top: 30px; left: 5%;
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--gold);
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.map-overlay-label {
  font-size: 0.68rem;
  letter-spacing: 4px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.map-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.map-overlay-line {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.map-overlay-line--last { margin-bottom: 0.5rem; }

.map-overlay-phone {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.footer-phone-line { margin-top: 0.5rem; }

.footer-phone-link { color: var(--gold-light); text-decoration: none; }

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(184,147,58,0.3);
  border: 1px solid rgba(184,147,58,0.5);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}
.lightbox-nav--prev { left: 1rem; }
.lightbox-nav--next { right: 1rem; }

.lightbox-image {
  max-height: 85vh;
  max-width: 90vw;
  object-fit: contain;
  border: 2px solid rgba(184,147,58,0.3);
  border-radius: 4px;
}

.lightbox-caption {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

.lightbox-counter {
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}
