/* ===== GLOBAL RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #C5A028;
    --royal-blue: #1e3a8a;
    --dark-bg: #0a0a0a;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ===== TOP INFO BAR ===== */
.top-info-bar {
    background: var(--dark-bg);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.info-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item { display: flex; align-items: center; gap: 8px; }
.info-item i { color: var(--primary-gold); }

@media (max-width: 968px) {
    .info-item:nth-child(2) { display: none; }
    .info-item:nth-child(3) { display: flex; }
}
@media (max-width: 768px) {
    .top-info-bar { display: none; }
}

/* ===== STICKY HEADER ===== */
.header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--royal-blue);
}

.logo span { color: var(--primary-gold); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--primary-gold); }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown > a i { font-size: 10px; margin-left: 5px; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--primary-gold);
    color: var(--white);
    padding-left: 25px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--royal-blue);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ===== MOBILE MENU & RESPONSIVE FIXES ===== */
html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.nav-overlay.active { opacity: 1; visibility: visible; }

.hamburger.active {
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 1001;
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: auto !important;
        background: var(--white);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        transition: var(--transition);
        overflow-y: auto;
        padding: 24px !important;
        flex-direction: column;
        display: flex;
        gap: 16px !important;
        z-index: 999;
    }

    .nav-menu.active { right: 20px; }

    /* Mobile Dropdown Fix */
    .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        background: var(--light-gray);
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown.active > a i {
        transform: rotate(180deg);
        transition: transform 0.3s;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .hamburger { display: flex; }
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    color: var(--primary-gold);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links { display: flex; gap: 15px; }

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start; /* Icon ko text ki pehli line ke sath align rakhega */
    gap: 12px;               /* Icon aur text ke beech barabar gap */
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    }

.contact-info li i {
    color: var(--primary-gold);
    margin-top: 3px;         /* Icon ko text ki height ke hisab se thoda niche lane ke liye */
    flex-shrink: 0;          /* Sabse important: Ye icon ko dabne ya door jaane se rokega */
    width: 20px;             /* Sabhi icons ki width ek barabar rakhega */
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i { color: var(--primary-gold); }

/* --- NEW TABLET & MOBILE FOOTER LAYOUT --- */

/* Tablet View: Purana 2-column design barkarar rahega */
@media (max-width: 968px) and (min-width: 769px) {
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

/* Mobile View: Naya 1-2-1 layout */
@media (max-width: 768px) {
    .footer-content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 30px !important;
        text-align: center !important;
    }

    /* Nandini Banquet - Full Width & Center */
    .footer-col:nth-child(1) {
        flex: 0 0 100% !important;
    }

    /* Quick Links & Services - Side by Side */
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        flex: 1 !important;
        min-width: 130px !important;
        text-align: left !important;
        padding: 0 10px;
    }

    /* Contact Info - Full Width & Center */
    .footer-col:nth-child(4) {
        flex: 0 0 100% !important;
    }

    /* Icons alignment */
    .social-links, .contact-info li {
        justify-content: center !important;
    }
    
    .footer-col h4 { font-size: 20px !important; }
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    animation: floatPulse 2s ease-in-out infinite;
}

.float-btn.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.float-btn.call { background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold)); }

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 4K Optimizations for Common Elements */
@media (min-width: 2000px) {
    .container { max-width: 1800px; padding: 0 40px; }
    body { font-size: 18px; }
    .logo h1 { font-size: 40px; }
    .nav-menu { gap: 50px; }
    .nav-menu a { font-size: 18px; }
}

/* Mobile me WhatsApp aur Call button ka size halka sa badhane ke liye */
@media (max-width: 480px) {

    .nav-menu {
        /* Padding 30px se 20% kam = 24px */
        padding: 24px !important; 
    }
    .float-btn {
        width: 50px !important;  /* Size ko 45px se badha kar 50px kiya */
        height: 50px !important;
        font-size: 22px !important; /* Icon ko bhi halka sa bada kiya */
        bottom: 25px !important;    /* Neeche se thoda upar set kiya */
        right: 20px !important;     /* Side se gap maintain rakha */
    }
    
    .floating-buttons {
        gap: 12px !important; /* Dono buttons ke beech ka gap halka sa badhaya */
    }

    .contact-info li:first-child i {
        display: none !important;
    }
}