/* ============================================================
   Hotel Chettinadu - Premium Restaurant Website
   style.css

   COLOR PALETTE:
   --gold:       #c9a84c  (accents, borders, highlights)
   --gold-light: #f0c040  (hover states)
   --charcoal:   #1c1c1c  (primary background)
   --charcoal-2: #2a2a2a  (card backgrounds)
   --charcoal-3: #353535  (lighter sections)
   --cream:      #f5f0e8  (light section bg)
   --cream-2:    #ede8dc  (alternate light bg)
   --deep-red:   #8b1a1a  (accent, buttons)
   --red-hover:  #a52020  (button hover)
   --white:      #ffffff
   --text-light: #d4c9b0  (body text on dark)
   --text-dark:  #2d2d2d  (body text on light)
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
    --gold:        #c9a84c;
    --gold-light:  #f0c040;
    --gold-dim:    #9a7d32;
    --charcoal:    #1c1c1c;
    --charcoal-2:  #2a2a2a;
    --charcoal-3:  #353535;
    --cream:       #f5f0e8;
    --cream-2:     #ede8dc;
    --deep-red:    #8b1a1a;
    --red-hover:   #a52020;
    --white:       #ffffff;
    --text-light:  #d4c9b0;
    --text-muted:  #9a9080;
    --text-dark:   #2d2d2d;
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
    --shadow-dark: 0 8px 32px rgba(0,0,0,0.45);
    --transition:  all 0.35s ease;
    --radius:      6px;
    --nav-height:  72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Lato', sans-serif;
    background: var(--charcoal);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
}

.section-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    color: var(--white);
    margin-bottom: 1.1rem;
}

.section-title span { color: var(--gold); }

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
}

.divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 1.2rem 0 2rem;
}

.divider.center { margin: 1.2rem auto 2rem; }

/* ── Layout Helpers ── */
.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

section { padding: 90px 0; }

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.82rem 2rem;
    border-radius: var(--radius);
    font-family: 'Lato', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--charcoal);
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-red {
    background: var(--deep-red);
    color: var(--white);
}
.btn-red:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139,26,26,0.4);
}

.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.8rem; }

/* ── ─────────────────────────────── ── */
/* ── NAVBAR                         ── */
/* ── ─────────────────────────────── ── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-inner {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* REPLACE: swap text logo for <img src="assets/images/logo.png"> */
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav-logo .logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
}
.nav-logo .logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Logo image (nav + footer) ── */
.nav-logo img.logo-img {
    height: 54px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: filter 0.3s ease;
}
.nav-logo:hover img.logo-img {
    filter: drop-shadow(0 2px 14px rgba(201,168,76,0.5));
}

.footer-logo-img {
    height: 72px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-light);
    transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── ─────────────────────────────── ── */
/* ── HERO                            ── */
/* ── ─────────────────────────────── ── */
#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ── Hero Slideshow ── */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: opacity, transform;
}
.hs1 {
    background-image: url('../images/gallery/restaurant.jpg');
    background-color: #7a2d10;
    animation: heroSlide1 20s ease-in-out infinite, kenBurns 20s ease-in-out infinite;
}
.hs2 {
    background-image: url('../images/gallery/dining-spread.jpg');
    background-color: #2e5c20;
    animation: heroSlide2 20s ease-in-out infinite, kenBurns 20s ease-in-out infinite;
}
.hs3 {
    background-image: url('../images/gallery/interior.jpg');
    background-color: #7a5010;
    animation: heroSlide3 20s ease-in-out infinite, kenBurns 20s ease-in-out infinite;
}
.hs4 {
    background-image: url('../images/gallery/meals.jpg');
    background-color: #7a1040;
    animation: heroSlide4 20s ease-in-out infinite, kenBurns 20s ease-in-out infinite;
}

@keyframes heroSlide1 {
    0%   { opacity: 1; } 20%  { opacity: 1; }
    25%  { opacity: 0; } 95%  { opacity: 0; } 100% { opacity: 1; }
}
@keyframes heroSlide2 {
    0%   { opacity: 0; } 22%  { opacity: 0; }
    25%  { opacity: 1; } 45%  { opacity: 1; }
    50%  { opacity: 0; } 100% { opacity: 0; }
}
@keyframes heroSlide3 {
    0%   { opacity: 0; } 47%  { opacity: 0; }
    50%  { opacity: 1; } 70%  { opacity: 1; }
    75%  { opacity: 0; } 100% { opacity: 0; }
}
@keyframes heroSlide4 {
    0%   { opacity: 0; } 72%  { opacity: 0; }
    75%  { opacity: 1; } 95%  { opacity: 1; } 100% { opacity: 0; }
}
@keyframes kenBurns {
    0%   { transform: scale(1.0); }
    50%  { transform: scale(1.07); }
    100% { transform: scale(1.0); }
}

/* ── Slide Progress Dots ── */
.hero-progress {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 6px;
    align-items: center;
}
.hp-dot {
    height: 3px;
    border-radius: 2px;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.hp-dot.d1 { width: 28px; background: var(--gold);           animation-name: d1active; }
.hp-dot.d2 { width: 18px; background: rgba(255,255,255,0.3); animation-name: d2active; }
.hp-dot.d3 { width: 18px; background: rgba(255,255,255,0.3); animation-name: d3active; }
.hp-dot.d4 { width: 18px; background: rgba(255,255,255,0.3); animation-name: d4active; }

@keyframes d1active {
    0%  { width:28px; background:var(--gold); }          20% { width:28px; background:var(--gold); }
    25% { width:18px; background:rgba(255,255,255,0.3); } 100%{ width:18px; background:rgba(255,255,255,0.3); }
}
@keyframes d2active {
    0%  { width:18px; background:rgba(255,255,255,0.3); } 24%{ width:18px; background:rgba(255,255,255,0.3); }
    25% { width:28px; background:var(--gold); }           45%{ width:28px; background:var(--gold); }
    50% { width:18px; background:rgba(255,255,255,0.3); } 100%{ width:18px; background:rgba(255,255,255,0.3); }
}
@keyframes d3active {
    0%  { width:18px; background:rgba(255,255,255,0.3); } 49%{ width:18px; background:rgba(255,255,255,0.3); }
    50% { width:28px; background:var(--gold); }           70%{ width:28px; background:var(--gold); }
    75% { width:18px; background:rgba(255,255,255,0.3); } 100%{ width:18px; background:rgba(255,255,255,0.3); }
}
@keyframes d4active {
    0%  { width:18px; background:rgba(255,255,255,0.3); } 74%{ width:18px; background:rgba(255,255,255,0.3); }
    75% { width:28px; background:var(--gold); }           95%{ width:28px; background:var(--gold); }
    100%{ width:18px; background:rgba(255,255,255,0.3); }
}

/* ── Stats Strip ── */
.stats-strip {
    background: var(--gold);
    padding: 1.1rem 0;
    position: relative;
    z-index: 10;
}
.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.3rem 2.5rem;
    text-align: center;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}
.stat-num sup { font-size: 0.65em; font-weight: 500; vertical-align: super; }
.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.6);
    margin-top: 0.35rem;
}
.stat-divider {
    width: 1px;
    height: 2.2rem;
    background: rgba(28,28,28,0.2);
    flex-shrink: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(5,3,2,0.72) 0%,
        rgba(5,3,2,0.50) 45%,
        rgba(5,3,2,0.20) 75%,
        rgba(5,3,2,0.05) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--gold);
    border-radius: 40px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
    backdrop-filter: blur(4px);
    background: rgba(201,168,76,0.07);
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}
.hero-title .gold { color: var(--gold); }
.hero-title .italic { font-style: italic; font-weight: 400; }

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.hero-divider {
    width: 80px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 1.4rem 0;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.4rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── ─────────────────────────────── ── */
/* ── ABOUT                           ── */
/* ── ─────────────────────────────── ── */
#about { background: var(--charcoal-2); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* REPLACE: set a beautiful interior or chef photo
   Recommended: 600x700px portrait orientation */
.about-image-wrap {
    position: relative;
}

.about-img-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-img-frame img,
.about-img-placeholder {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-placeholder {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3020 50%, #2a2018 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dim);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
}

.about-img-border {
    position: absolute;
    top: 18px; left: 18px; right: -18px; bottom: -18px;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.5;
}

.about-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--gold);
    color: var(--charcoal);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-dark);
}
.about-badge .badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.about-badge .badge-txt {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--charcoal-3);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    padding: 1.2rem;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-card h4 {
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}
.feature-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── ─────────────────────────────── ── */
/* ── MENU                            ── */
/* ── ─────────────────────────────── ── */
#menu { background: var(--charcoal); }

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 40px;
    border: 1.5px solid rgba(201,168,76,0.3);
    background: transparent;
    color: var(--text-muted);
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

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

.menu-item {
    background: var(--charcoal-2);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: block;
}
/* JS adds .menu-initialized to .menu-grid once tabs are ready */
.menu-initialized .menu-item         { display: none; }
.menu-initialized .menu-item.active  { display: block; }
.menu-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

/* REPLACE: swap each .menu-thumb for <img src="assets/images/menu-item-name.jpg"> */
.menu-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--charcoal-3), #3a2810);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.menu-item:hover .menu-thumb img { transform: scale(1.07); }

.menu-thumb-icon {
    font-size: 2.8rem;
    opacity: 0.3;
}

.menu-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--deep-red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.menu-info { padding: 1.2rem; }
.menu-info h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}
.menu-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}
.menu-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
}

.menu-download {
    text-align: center;
    margin-top: 3.5rem;
}
.menu-download p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ── ─────────────────────────────── ── */
/* ── GALLERY                         ── */
/* ── ─────────────────────────────── ── */
#gallery { background: var(--charcoal-2); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(8) { grid-column: span 4; grid-row: span 1; }

/* REPLACE: set background-image on each .gallery-item
   Example: .gallery-item:nth-child(1) { background-image: url('assets/images/gallery-1.jpg'); } */
.gallery-item:nth-child(1) { background: linear-gradient(135deg, #3a2010, #6a3515); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #1a2a18, #2a4a25); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #3a1818, #6a2020); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #2a1a35, #4a2a55); }
.gallery-item:nth-child(5) { background: linear-gradient(135deg, #3a3010, #6a5515); }
.gallery-item:nth-child(6) { background: linear-gradient(135deg, #1a2535, #253545); }
.gallery-item:nth-child(7) { background: linear-gradient(135deg, #351a1a, #552525); }
.gallery-item:nth-child(8) { background: linear-gradient(135deg, #1a3028, #254540); }

/* If using actual images */
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,28,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.gallery-placeholder-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    opacity: 0.2;
    pointer-events: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    background: none; border: none;
    color: var(--white); font-size: 2rem;
    cursor: pointer; line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ── ─────────────────────────────── ── */
/* ── CONTACT                         ── */
/* ── ─────────────────────────────── ── */
#contact { background: var(--charcoal); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.info-card {
    background: var(--charcoal-2);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
}
.info-card:hover { border-color: var(--gold); }

.info-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,0.12);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.info-card h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}
.info-card p, .info-card a {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}
.info-card a:hover { color: var(--gold); }

.social-row {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: var(--transition);
    border: 1.5px solid transparent;
}
.social-btn.fb  { background: #1877f2; color: #fff; }
.social-btn.ig  { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); color: #fff; }
.social-btn.wa  { background: #25d366; color: #fff; }
.social-btn:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.3); }

/* Contact Form */
.contact-form-wrap {
    background: var(--charcoal-2);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    padding: 2.5rem;
}
.contact-form-wrap h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}
.contact-form-wrap p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}
.form-group.full { grid-column: span 2; }

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--charcoal-3);
    border: 1.5px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
    padding: 0.78rem 1rem;
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.7; }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-notice {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Map Section */
.map-section {
    margin-top: 5rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.2);
}

.map-header {
    background: var(--charcoal-2);
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.map-header h3 {
    font-size: 1rem;
    color: var(--white);
}
.map-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.map-embed {
    position: relative;
    height: 380px;
    background: var(--charcoal-3);
}
/* REPLACE: The iframe below loads the actual Google Maps embed.
   To get embed code: Google Maps → Share → Embed a map → copy src URL */
.map-embed iframe {
    width: 100%; height: 100%;
    border: none;
    filter: grayscale(30%) contrast(1.05);
}

.map-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal-3));
    color: var(--text-muted);
}
.map-placeholder span { font-size: 2.5rem; }
.map-placeholder p { font-size: 0.9rem; }

/* ── ─────────────────────────────── ── */
/* ── FOOTER                          ── */
/* ── ─────────────────────────────── ── */
footer {
    background: #111111;
    border-top: 1px solid rgba(201,168,76,0.2);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.2rem;
}
.footer-brand .brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}
.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-contact-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}
.footer-contact-item span { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.footer-contact-item a { color: var(--text-muted); transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--gold); }

/* ── ─────────────────────────────── ── */
/* ── FLOATING BUTTONS                ── */
/* ── ─────────────────────────────── ── */
.float-group {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

/* REPLACE: Update href with actual WhatsApp number
   Format: https://wa.me/971XXXXXXXXX?text=Hello%20Chettinadu */
.whatsapp-float {
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    color: white;
    font-size: 1.5rem;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.float-tooltip {
    position: absolute;
    right: 68px;
    background: var(--charcoal-2);
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    white-space: nowrap;
    border: 1px solid rgba(201,168,76,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.whatsapp-float:hover .float-tooltip { opacity: 1; }

/* ── ─────────────────────────────── ── */
/* ── ANIMATIONS & UTILITIES          ── */
/* ── ─────────────────────────────── ── */
/* fade-in: content is ALWAYS visible. JS adds .visible to play the animation. */
.fade-in.visible {
    animation: fadeInUp 0.7s ease both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
.fade-in-delay-1.visible { animation-delay: 0.1s; }
.fade-in-delay-2.visible { animation-delay: 0.2s; }
.fade-in-delay-3.visible { animation-delay: 0.3s; }
.fade-in-delay-4.visible { animation-delay: 0.4s; }

/* Gold separator ornament */
.ornament {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    margin: 1.5rem 0;
}
.ornament::before, .ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}
.ornament span { color: var(--gold); font-size: 0.8rem; }

/* Success message */
.form-success {
    display: none;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid #25d366;
    color: #4ade80;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ── ─────────────────────────────── ── */
/* ── RESPONSIVE                      ── */
/* ── ─────────────────────────────── ── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image-wrap { max-width: 480px; margin: 0 auto; }
    .contact-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .menu-grid        { grid-template-columns: repeat(2, 1fr); }
    .stat-item        { padding: 0.3rem 1.8rem; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    section { padding: 60px 0; }

    /* Nav */
    .nav-links, .nav-cta { display: none; }
    .hamburger            { display: flex; }

    /* Hero */
    .hero-title    { font-size: 2.6rem; }
    .hero-tagline  { font-size: 1rem; }
    .hero-desc     { display: none; }
    .hero-progress { display: none; }

    /* Stats strip */
    .stats-inner   { flex-wrap: wrap; justify-content: center; }
    .stat-item     { padding: 0.5rem 1.2rem; width: 50%; border-bottom: 1px solid rgba(28,28,28,0.12); }
    .stat-item:nth-child(odd)  { border-right: 1px solid rgba(28,28,28,0.12); }
    .stat-num      { font-size: 1.6rem; }
    .stat-divider  { display: none; }

    /* About */
    .about-features { grid-template-columns: 1fr 1fr; }

    /* Menu */
    .menu-grid { grid-template-columns: 1fr; }
    .menu-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .menu-tabs::-webkit-scrollbar { display: none; }
    .tab-btn { font-size: 0.75rem; padding: 0.5rem 1.1rem; flex-shrink: 0; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; height: 190px; }

    /* Contact */
    .info-card       { padding: 1.2rem; }
    .social-row      { flex-wrap: wrap; }
    .form-row        { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .map-header      { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .map-embed       { height: 260px; }

    /* Footer */
    .footer-grid   { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* Section titles */
    .section-title { font-size: 1.9rem; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    section { padding: 50px 0; }

    /* Hero */
    .hero-title   { font-size: 2rem; }
    .hero-tagline { font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Stats — 2×2 grid */
    .stat-item { width: 50%; }

    /* About */
    .about-features { grid-template-columns: 1fr; }

    /* Menu */
    .tab-btn    { font-size: 0.7rem; padding: 0.4rem 0.9rem; }
    .menu-thumb { height: 140px; }

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

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-form-wrap { padding: 1.5rem; }
    .float-group       { bottom: 1rem; right: 1rem; }

    /* Section titles */
    .section-title { font-size: 1.65rem; }
}
