/* ===== NATYARANGETRAM.COM — STATIC STYLESHEET ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #C49A3C;
  --gold-light:  #E8C96B;
  --gold-dark:   #9A7520;
  --maroon:      #6B1C2E;
  --maroon-dark: #4A1020;
  --cream:       #FDF8F0;
  --cream-dark:  #F2E8D5;
  --text:        #2C1A0E;
  --text-light:  #6B5744;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --radius:      6px;
  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-body:   'Lato', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--maroon); }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--maroon);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { margin-bottom: 1rem; color: var(--text-light); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

/* ----- Layout Helpers ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section--alt { background: var(--cream-dark); }
.section--dark { background: var(--maroon); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--gold-light); }
.section--dark p { color: rgba(253,248,240,0.85); }

.text-center { text-align: center; }
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border: none;
  margin: 1rem auto;
  border-radius: 2px;
}

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--cream-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
}

.logo-icon { font-size: 1.6rem; }

.site-nav { display: flex; gap: 2rem; list-style: none; }

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--maroon);
  border-color: var(--gold);
}

.nav-cta {
  background: var(--maroon);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius);
  border: none !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--maroon-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ----- Hero ----- */
.hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, #8B2540 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C49A3C' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 700px;
}

.hero .section-label { color: var(--gold-light); }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.hero h1 strong { font-weight: 700; color: var(--gold-light); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  margin-left: 1rem;
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ----- Saree Promo Strip ----- */
.saree-promo {
  background: linear-gradient(90deg, var(--cream-dark), var(--cream), var(--cream-dark));
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  padding: 0.65rem 0;
}
.saree-promo__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.saree-promo__icon { font-size: 1rem; flex-shrink: 0; }
.saree-promo__text {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}
.saree-promo__text a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.saree-promo__text a:hover { color: var(--maroon); }

/* ----- What We Do ----- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-text h2 { margin-bottom: 0.5rem; }
.intro-text p { font-size: 1.05rem; }

.intro-icon {
  font-size: 7rem;
  text-align: center;
  opacity: 0.85;
  line-height: 1;
}

/* ----- Template Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.gallery-card__thumb {
  background: var(--cream-dark);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.gallery-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.gallery-card__body { padding: 1.2rem 1.2rem 1.4rem; }
.gallery-card__style {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}
.gallery-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--maroon);
}
.gallery-card__body p { font-size: 0.88rem; margin-bottom: 0.9rem; }

.gallery-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.gallery-card__link:hover { color: var(--maroon); }

/* ----- Services ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.service-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(196,154,60,0.35);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: background 0.2s;
}
.service-card:hover { background: rgba(255,255,255,0.12); }

.service-card__icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }

/* ----- Process Steps ----- */
.steps { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.step__num {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__body h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.step__body p  { margin: 0; font-size: 0.93rem; }

/* ----- About Page ----- */
.about-hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 70px 0;
  text-align: center;
}
.about-hero h1 { color: var(--white); }
.about-hero p  { color: rgba(255,255,255,0.8); max-width: 580px; margin: 1rem auto 0; }

.nataraja-block {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.nataraja-block img {
  width: 200px;
  min-width: 200px;
  border-radius: 50%;
  border: 5px solid var(--gold);
  box-shadow: var(--shadow);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  padding: 2rem 1.2rem;
  box-shadow: var(--shadow);
}
.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-card p  { font-size: 0.88rem; margin: 0; }

/* ----- Contact Page ----- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.4rem; }
.contact-info p { font-size: 0.97rem; }

.contact-detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-detail__icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-detail__text strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); }
.contact-detail__text span   { font-size: 0.95rem; color: var(--text-light); }

/* ----- Contact Form ----- */
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.4rem; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.45rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,60,0.15);
  background: var(--white);
}

textarea { min-height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit { margin-top: 0.5rem; }
.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--maroon);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--maroon-dark); }

/* Alert messages */
.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  display: none;
}
.alert--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert--error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ----- Footer ----- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(253,248,240,0.75);
  padding: 50px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo { color: var(--gold-light); margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-head);
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: rgba(253,248,240,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.84rem;
}

/* ----- Logo image ----- */
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

/* ----- Hero with photo background ----- */
.hero--photo {
  background:
    linear-gradient(135deg, rgba(74,16,32,0.82) 0%, rgba(107,28,46,0.75) 55%, rgba(74,16,32,0.65) 100%),
    url('../assets/sunset_temple.jpg') center / cover no-repeat;
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1 1 0; }

.hero-silhouette {
  flex: 0 0 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-silhouette img {
  width: 260px;
  max-height: 380px;
  object-fit: contain;
  /* white bg → transparent: isolate the black silhouette against the hero */
  mix-blend-mode: screen;
  filter: invert(1) brightness(1.1);
  opacity: 0.92;
  drop-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ----- Nataraja in intro section ----- */
.intro-nataraja {
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-nataraja img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(156,117,32,0.35));
  animation: floatNataraja 5s ease-in-out infinite;
}

@keyframes floatNataraja {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ----- Navarasa strip ----- */
.navarasa-strip {
  /*display: flex;*/
  display: none;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}

.navarasa-item {
  flex: 1 1 0;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.navarasa-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}

.navarasa-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.navarasa-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(74,16,32,0.85) 0%, transparent 100%);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-style: italic;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ----- Contact page silhouette ----- */
.contact-silhouette {
  margin-top: 2rem;
  text-align: center;
}
.contact-silhouette img {
  width: 160px;
  opacity: 0.18;
  filter: grayscale(1);
}

/* ----- How It Works two-column grid ----- */
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hiw-services {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ----- Utility classes ----- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ----- Responsive ----- */

/* Tablet — up to 900px */
@media (max-width: 900px) {
  .hiw-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-grid      { grid-template-columns: 1fr; }
  .intro-nataraja  { display: none; }
  .contact-layout  { grid-template-columns: 1fr; }
  .nataraja-block  { flex-direction: column; text-align: center; }
  .nataraja-block img { margin: 0 auto; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .hero-split      { flex-direction: column; gap: 1.5rem; }
  .hero-silhouette { display: none; }
  .navarasa-item img { height: 260px; }
  .gallery-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — up to 620px */
@media (max-width: 620px) {
  .hero    { padding: 60px 0 50px; }
  .section { padding: 50px 0; }

  /* Nav */
  .site-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--cream-dark);
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav li   { width: 100%; }
  .site-nav a    { display: block; padding: 0.8rem 1.5rem; border-bottom: none; font-size: 1rem; }
  .nav-cta       { margin: 0.4rem 1rem; border-radius: var(--radius) !important; }
  .nav-toggle    { display: flex; }

  /* Hero */
  h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .btn-outline { margin-left: 0; }
  .btn { width: 100%; text-align: center; }

  /* How it works — service cards horizontal on mobile */
  .hiw-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .hiw-services { gap: 0.8rem; }
  .service-card { display: flex; align-items: flex-start; gap: 1rem; text-align: left; padding: 1.2rem; }
  .service-card__icon { font-size: 1.8rem; min-width: 2rem; margin-bottom: 0; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card__thumb { height: 150px; }

  /* Navarasa */
  .navarasa-strip { flex-direction: column; }
  .navarasa-item img { height: 220px; }

  /* Steps */
  .steps { gap: 1.2rem; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
  .contact-silhouette { display: none; }

  /* Footer */
  .footer-inner  { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand p { max-width: 100%; }
}
