/*
Theme Name: Anika Bharatanatyam
Theme URI: https://example.com
Author: Custom Build
Author URI: https://example.com
Description: A premium, temple-inspired WordPress theme for Bharatanatyam artist Anika Vinay Kulkarni. Clean, responsive, and fully editable with the default WordPress block editor.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: anika-bharatanatyam
Tags: one-column, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root{
  --ink:        #2B1810;
  --ivory:      #FAF3E7;
  --ivory-2:    #F2E8D8;
  --maroon:     #7B1E3A;
  --maroon-2:   #5C1529;
  --gold:       #B8862B;
  --gold-light: #E2A63B;
  --teal:       #1F4A44;
  --white:      #FFFFFF;

  --font-display: 'Marcellus', 'Cormorant Garamond', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --radius-arch: 999px 999px 8px 8px;
  --container: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--maroon); text-decoration:none; transition:color .2s ease; }
a:hover{ color:var(--gold); }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:400;
}
h1{ font-size:clamp(2.4rem,5vw,4rem); }
h2{ font-size:clamp(1.8rem,3.5vw,2.7rem); }
h3{ font-size:clamp(1.3rem,2.5vw,1.7rem); }
p{ margin:0 0 1.2em; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 clamp(1.25rem,4vw,2.5rem);
}
.section{ padding:clamp(3.5rem,8vw,6.5rem) 0; }
.section--alt{ background:var(--ivory-2); }
.section--dark{ background:var(--ink); color:var(--ivory); }
.section--dark h2, .section--dark h3{ color:var(--ivory); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family:var(--font-body);
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--maroon);
  font-weight:600;
  margin-bottom:.9em;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--gold);
  display:inline-block;
}
.section-head{ max-width:640px; margin:0 0 3rem; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ==========================================================================
   SIGNATURE: TEMPLE-ARCH FRAME
   The recurring visual motif — a gopuram-niche silhouette wraps every photo
   and video embed on the site, tying imagery back to the temple stage.
   ========================================================================== */
.arch-frame{
  position:relative;
  border-radius: 50% 50% 6px 6px / 22% 22% 6px 6px;
  overflow:hidden;
  border:3px solid var(--gold);
  box-shadow: 0 18px 40px -20px rgba(43,24,16,.45);
  background:var(--ink);
}
.arch-frame::after{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  box-shadow: inset 0 0 0 6px var(--ivory);
  pointer-events:none;
}
.arch-frame img,
.arch-frame iframe{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.arch-frame.ratio-portrait{ aspect-ratio: 3/4; }
.arch-frame.ratio-square{ aspect-ratio: 1/1; }
.arch-frame.ratio-video{ aspect-ratio: 16/9; border-radius: 26px 26px 6px 6px; }
.arch-frame.ratio-video::after{ box-shadow: inset 0 0 0 6px var(--ivory); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,243,231,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(184,134,43,.25);
}
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem clamp(1.25rem,4vw,2.5rem);
  max-width:var(--container); margin:0 auto;
}
.site-title{
  font-family:var(--font-display);
  font-size:1.5rem;
  letter-spacing:.02em;
  color:var(--ink);
}
.site-title a{ color:inherit; }
.site-title small{
  display:block;
  font-family:var(--font-body);
  font-size:.68rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--maroon);
  font-weight:600;
}
.primary-nav ul{ display:flex; gap:2.1rem; align-items:center; }
.primary-nav a{
  font-size:.92rem; font-weight:500; color:var(--ink);
  position:relative; padding:.3rem 0;
}
.primary-nav a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:0; height:2px; background:var(--gold);
  transition:width .25s ease;
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after{ width:100%; }

.menu-toggle{
  display:none; background:none; border:1px solid var(--ink); border-radius:6px;
  width:42px; height:38px; align-items:center; justify-content:center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  content:""; display:block; width:20px; height:2px; background:var(--ink);
  position:relative; transition:.25s;
}
.menu-toggle span::before{ position:absolute; top:-6px; }
.menu-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 860px){
  .menu-toggle{ display:flex; }
  .primary-nav{
    position:fixed; inset:0 0 0 30%; background:var(--ivory);
    transform:translateX(100%); transition:transform .3s ease;
    padding:6rem 2rem 2rem; box-shadow:-10px 0 30px rgba(0,0,0,.15);
  }
  .primary-nav.is-open{ transform:translateX(0); }
  .primary-nav ul{ flex-direction:column; align-items:flex-start; gap:1.4rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  padding:clamp(3rem,8vw,5rem) 0 clamp(4rem,9vw,6rem);
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; top:-120px; right:-120px;
  width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(184,134,43,.16), transparent 70%);
}
.hero__grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4rem);
  align-items:center;
}
.hero__eyebrow{ color:var(--maroon); }
.hero h1{ margin-bottom:.4em; }
.hero h1 em{ font-style:italic; color:var(--maroon); }
.hero p{ font-size:1.08rem; max-width:44ch; color:#4a3626; }
.hero__ctas{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:1.6rem; }

.btn{
  display:inline-flex; align-items:center; gap:.5em;
  padding:.9rem 1.9rem; border-radius:999px;
  font-weight:600; font-size:.92rem; letter-spacing:.02em;
  border:1px solid transparent; transition:all .22s ease;
}
.btn--primary{ background:var(--maroon); color:var(--white); }
.btn--primary:hover{ background:var(--maroon-2); color:var(--white); }
.btn--outline{ border-color:var(--ink); color:var(--ink); }
.btn--outline:hover{ background:var(--ink); color:var(--ivory); }
.btn--gold{ background:var(--gold); color:var(--ink); }
.btn--gold:hover{ background:var(--gold-light); }

@media (max-width:860px){
  .hero__grid{ grid-template-columns:1fr; }
}

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid{ display:grid; gap:var(--gap); }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:920px){ .grid--3,.grid--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid--3,.grid--4,.grid--2{ grid-template-columns:1fr; } }

.card{ text-align:center; }
.card h3{ margin:1.1rem 0 .3rem; }
.card .meta{ font-size:.85rem; color:var(--maroon); letter-spacing:.04em; text-transform:uppercase; font-weight:600; }
.card p.desc{ font-size:.95rem; color:#5a4433; }

.divider{
  display:flex; align-items:center; justify-content:center; gap:.8rem;
  margin:.5rem 0 2.5rem; color:var(--gold);
}
.divider::before, .divider::after{ content:""; height:1px; width:60px; background:var(--gold); opacity:.6; }
.divider .dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); }

/* Testimonials */
.testimonial{
  background:var(--white); border-left:3px solid var(--gold);
  padding:2rem; border-radius:4px 16px 16px 4px;
  box-shadow:0 10px 30px -18px rgba(43,24,16,.3);
}
.testimonial p{ font-style:italic; color:#4a3626; }
.testimonial .who{ font-weight:600; color:var(--maroon); font-style:normal; }

/* Social row */
.social-row{ display:flex; gap:1rem; }
.social-row a{
  width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--gold); color:var(--ink);
}
.social-row a:hover{ background:var(--gold); color:var(--white); }

/* Awards / timeline list */
.award-item{
  display:flex; gap:1.5rem; padding:1.6rem 0;
  border-bottom:1px solid rgba(184,134,43,.25);
}
.award-item:last-child{ border-bottom:none; }
.award-item__year{
  font-family:var(--font-display); font-size:1.3rem; color:var(--gold);
  min-width:90px;
}

/* Contact form */
.contact-form input, .contact-form textarea{
  width:100%; padding:.9rem 1rem; margin-bottom:1rem;
  border:1px solid rgba(43,24,16,.25); border-radius:8px;
  background:var(--white); font-family:var(--font-body); font-size:.95rem;
}
.contact-form textarea{ min-height:140px; resize:vertical; }

/* Footer */
.site-footer{ background:var(--ink); color:var(--ivory); padding:3.5rem 0 1.5rem; }
.site-footer a{ color:var(--ivory); }
.site-footer a:hover{ color:var(--gold-light); }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:2.5rem; margin-bottom:2.5rem; }
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-bottom{
  border-top:1px solid rgba(250,243,231,.15); padding-top:1.5rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  font-size:.82rem; color:rgba(250,243,231,.65);
}

/* Page header (interior pages) */
.page-header{ padding:clamp(3rem,6vw,4.5rem) 0 2rem; text-align:center; }
.page-header h1{ margin-bottom:.4rem; }

/* Utility */
.mt-0{ margin-top:0; }
.text-center{ text-align:center; }
.entry-content{ max-width:760px; margin:0 auto; }
.entry-content > *:first-child{ margin-top:0; }
.skip-link{
  position:absolute; left:-999px; top:auto; background:var(--maroon); color:#fff;
  padding:.7rem 1.2rem; z-index:100;
}
.skip-link:focus{ left:1rem; top:1rem; }
