/* ============================================
   MAHIPAL GREEN VALLEY - Custom Styles
   Luxury Wedding Venue Theme
   ============================================ */

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

:root {
    --gold:       #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark:  #9A7B2E;
    --green:      #1B4332;
    --green-mid:  #2D6A4F;
    --green-light:#40916C;
    --cream:      #FDF6EC;
    --white:      #FFFFFF;
    --dark:       #0D1B12;
    --text-dark:  #1A1A1A;
    --text-grey:  #6B7280;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── UTILITIES ── */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--green);
}
.section-title.light { color: var(--white); }
.divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 1.2rem 0 1.5rem;
}
.divider.center { margin: 1.2rem auto 1.5rem; }
.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}
.btn-outline {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 34px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* ── NAVBAR ── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s ease;
    background: transparent;
}
#navbar.scrolled {
    background: rgba(13, 27, 18, 0.97);
    padding: 0.7rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white) !important;
    letter-spacing: 0.05em;
}
.navbar-brand span { color: var(--gold); }
.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--gold) !important; }
.nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 0.5rem 1.4rem !important;
    margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--white) !important; }
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28201,168,76,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: linear-gradient(160deg, var(--dark) 0%, var(--green) 60%, #0D2B1A 100%);
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(64,145,108,0.12) 0%, transparent 40%);
}
.hero-ornament {
    position: absolute;
    width: 500px; height: 500px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%;
    top: 50%; right: -100px;
    transform: translateY(-50%);
}
.hero-ornament::before {
    content: '';
    position: absolute; inset: 30px;
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    padding: 6px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 0.3rem;
}
.hero-title strong {
    font-weight: 700;
    color: var(--gold-light);
    display: block;
}
.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}
.hero-stats {
    display: flex; gap: 2.5rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(201,168,76,0.2);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
.hero-image-frame {
    position: relative;
    padding: 20px;
}
.hero-image-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60%; height: 60%;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}
.hero-image-frame::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60%; height: 60%;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}
.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.9);
}
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── ABOUT ── */
#about { background: var(--cream); padding: 100px 0; }
.about-img-wrap { position: relative; }
.about-img-main {
    width: 100%; height: 520px; object-fit: cover;
}
.about-img-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--green);
    color: var(--white);
    padding: 24px;
    text-align: center;
    min-width: 130px;
}
.about-img-badge .num {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 700;
    color: var(--gold-light); line-height: 1;
}
.about-img-badge .lbl {
    font-size: 0.68rem; letter-spacing: 0.1em;
    text-transform: uppercase; margin-top: 4px;
}
.about-feature {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid rgba(201,168,76,0.15);
}
.about-feature-icon {
    font-size: 1.3rem; margin-top: 2px; flex-shrink: 0;
}

/* ── WHY CHOOSE ── */
#why { background: var(--white); padding: 100px 0; }
.why-card {
    background: var(--cream);
    border-bottom: 3px solid transparent;
    padding: 2rem;
    transition: all 0.35s ease;
    height: 100%;
}
.why-card:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(27,67,50,0.1);
}
.why-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--green), var(--green-mid));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.2rem;
}

/* ── SERVICES ── */
#services { background: var(--green); padding: 100px 0; }
.service-card {
    border: 1px solid rgba(201,168,76,0.2);
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative; overflow: hidden;
    height: 100%;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    background: rgba(201,168,76,0.08);
    transform: translateY(-4px);
}
.service-num {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 700;
    color: rgba(201,168,76,0.2);
    line-height: 1; margin-bottom: 0.5rem;
}
.service-title {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 600;
    color: var(--white); margin-bottom: 0.75rem;
}
.service-text { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }
.service-link {
    color: var(--gold-light);
    font-size: 0.78rem; letter-spacing: 0.1em;
    text-transform: uppercase; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 1rem;
    transition: gap 0.3s;
}
.service-link:hover { gap: 12px; color: var(--gold-light); }

/* ── FOOD SECTION ── */
#food { background: var(--cream); padding: 100px 0; }
.food-card {
    position: relative; overflow: hidden;
    height: 380px; cursor: pointer;
}
.food-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.food-card:hover img { transform: scale(1.08); }
.food-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(13,27,18,0.9) 100%);
    display: flex; flex-direction: column;
    justify-content: flex-end; padding: 2rem;
}
.food-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600;
    color: var(--white);
}
.food-card-text { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-top: 0.4rem; }
.food-card-btn {
    display: inline-block; margin-top: 1rem;
    border: 1px solid var(--gold);
    color: var(--gold); font-size: 0.75rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 6px 16px; text-decoration: none;
    transition: all 0.3s;
}
.food-card-btn:hover { background: var(--gold); color: var(--white); }

/* ── STATS ── */
#stats {
    background: linear-gradient(135deg, var(--dark) 0%, var(--green) 100%);
    padding: 80px 0;
    position: relative; overflow: hidden;
}
#stats::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='%23C9A84C' fill-opacity='0.04'%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");
}
.stat-box { text-align: center; position: relative; z-index: 1; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700; color: var(--gold-light);
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(255,255,255,0.6);
    margin-top: 8px;
}
.stat-divider {
    width: 1px; background: rgba(201,168,76,0.3);
    height: 60px; margin: auto;
}

/* ── GALLERY ── */
#gallery { background: var(--white); padding: 100px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item {
    position: relative; overflow: hidden;
    aspect-ratio: 1;
}
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(27,67,50,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s;
    font-size: 2rem; color: var(--gold-light);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--cream); padding: 100px 0; }
.testi-card {
    background: var(--white);
    padding: 2.5rem;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 30px rgba(27,67,50,0.07);
    height: 100%;
}
.testi-quote {
    font-family: var(--font-display);
    font-size: 4rem; line-height: 0.8;
    color: var(--gold-light); opacity: 0.6;
}
.testi-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem; line-height: 1.8;
    color: var(--text-dark);
    margin: 0.5rem 0 1.5rem;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 0.9rem; }
.testi-name {
    font-weight: 600; font-size: 0.95rem;
    color: var(--green); margin-top: 0.4rem;
}
.testi-event { font-size: 0.78rem; color: var(--text-grey); letter-spacing: 0.08em; }

/* ── CTA BANNER ── */
#cta {
    background: linear-gradient(135deg, var(--green-mid) 0%, var(--green) 50%, var(--dark) 100%);
    padding: 90px 0;
    position: relative; overflow: hidden;
    text-align: center;
}
#cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(201,168,76,0.1) 0%, transparent 70%);
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600; color: var(--white);
    margin-bottom: 1rem;
}
.cta-sub { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 2rem; }

/* ── CONTACT ── */
#contact { background: var(--white); padding: 100px 0; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.contact-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--green), var(--green-mid));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.contact-label {
    font-size: 0.72rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 2px;
}
.contact-val { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
.form-control, .form-select {
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 0;
    padding: 12px 16px;
    font-family: var(--font-body);
    background: var(--cream);
    transition: border-color 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: none;
    background: var(--cream);
}
.form-label {
    font-size: 0.78rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--green);
    font-weight: 600; margin-bottom: 6px;
}
#alert-msg {
    display: none;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    padding: 60px 0 0;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 700;
    color: var(--white);
}
.footer-brand span { color: var(--gold); }
.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(255,255,255,0.4);
    font-size: 0.95rem; margin-top: 4px;
}
.footer-heading {
    font-size: 0.75rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.2rem; font-weight: 600;
}
.footer-link {
    display: block; color: rgba(255,255,255,0.55);
    font-size: 0.9rem; text-decoration: none;
    padding: 4px 0; transition: color 0.3s;
}
.footer-link:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0; margin-top: 50px;
    text-align: center;
    color: rgba(255,255,255,0.3); font-size: 0.82rem;
}
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(201,168,76,0.3);
    color: rgba(255,255,255,0.6);
    text-decoration: none; font-size: 0.9rem;
    transition: all 0.3s; margin-right: 8px;
}
.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 54px; height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    text-decoration: none;
    animation: pulse-wa 2.5s infinite;
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:first-child { grid-column: span 2; }
    .about-img-badge { bottom: 10px; right: 10px; }
}
