/* --- Base Styles --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden; 
}

html {
    scroll-behavior: smooth;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: transparent; 
    z-index: 1000; 
    transition: background 0.3s ease, padding 0.3s ease; 
}

.logo img {
    height: 70px; 
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    position: relative;
    padding: 0 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-family: 'Playfair Display', serif; 
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links li a:hover {
    color: #f3ce7e; 
}

/* Scroll Active Modifiers */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95); 
    padding: 10px 80px; 
    box-shadow: 0 2px 10px rgba(8, 8, 8, 0.3);
}

/* --- Dropdown Logic --- */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    min-width: 260px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
    list-style: none;
    padding: 15px 0;
    border-radius: 4px;
}

.dropdown-content li {
    padding: 0;
    width: 100%;
}

.dropdown-content li a {
    color: #222;
    font-family: 'Poppins', sans-serif;
    padding: 10px 25px;
    display: block;
    font-size: 14px;
    text-transform: capitalize;
}

.dropdown-content li a:hover {
    background-color: #f8f8f8;
    color: #b08d57;
    padding-left: 30px; 
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Call Button */
.enquiry-btn {
    background: #b08d57;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}

.enquiry-btn:hover { 
    background: #222; 
    color: #fff; 
}

/* --- Mobile Menu Icon Setup --- */
.menu-icon {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Gallery Section --- */
.stack-gallery-section {
    padding: 150px 0 100px; 
    background: #0a0a0a;
    text-align: center;
}

.stack-nav {
    background: none;
    border: 1px solid #333;
    color: #888;
    padding: 10px 30px;
    margin: 0 10px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.4s;
}

.stack-nav.active {
    background: #b08d57;
    color: #fff;
    border-color: #b08d57;
}

.stack-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 550px;
    margin-top: 50px;
}

.image-stack { 
    display: none; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
}

.image-stack.active { 
    display: flex; 
}

.stack-card {
    width: 280px;
    height: 400px;
    margin-left: -120px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #1a1a1a;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: 0.5s ease;
    filter: blur(2px) brightness(0.6);
}

.stack-card:first-child { 
    margin-left: 0; 
}

.stack-card:hover {
    filter: blur(0px) brightness(1);
    transform: scale(1.1) translateY(-20px);
    z-index: 100;
    margin: 0 20px;
}

.stack-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* --- Call to Action --- */
.cta-section {
    background-color: #141414;
    border-top: 1px solid rgba(176, 141, 87, 0.2);
    border-bottom: 1px solid rgba(176, 141, 87, 0.2);
    padding: 60px 20px;
    text-align: center;
}

.cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.cta-section p {
    color: #b3b3b3;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    background: #25d366;
    color: #f5f9f5;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-btn:hover {
    background-color: #128c7e;
}

/* --- Footer --- */
.site-footer {
    background-color: #000000; 
    color: #585858; 
    padding: 80px 10% 30px;
    border-top: 3px solid #b08d57;
}

.footer-wrapper { 
    display: flex; 
    justify-content: space-between; 
    gap: 50px; 
}

.footer-col { 
    flex: 1; 
}

.footer-title {
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    font-weight: 700;
}

.footer-title::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: -8px;
    width: 40px; 
    height: 2px; 
    background-color: #b08d57;
}

.contact-info, 
.enquiry-list p { 
    color: #cccaca; 
    font-size: 0.95rem; 
    line-height: 1.8; 
    margin-bottom: 12px;
}

.email-container {
    margin-bottom: 12px;
}
.email-list {
    list-style: none;
    padding-left: 24px; 
    margin: 0;
}
.email-list li {
    font-size: 0.95rem;
    color: #cccaca;
    line-height: 1.6;
}

.instagram-link a {
    color: #b08d57;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.instagram-link a:hover {
    color: #4148cb;
    text-decoration: underline;
}

.footer-icon {
    color: #b08d57;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.landmark-text { 
    display: block; 
    margin-top: 10px; 
    color: #b08d57; 
    font-weight: 500; 
}

.map-box { 
    border-radius: 4px; 
    overflow: hidden; 
}

.footer-bar {
    margin-top: 50px; 
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center; 
    font-size: 0.85rem; 
    color: #666;
}

/* ==========================================================================
   Responsive Adaptive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .navbar { 
        padding: 12px 18px; 
        background: rgba(0,0,0,0.98); 
        box-shadow: 0 2px 8px rgba(0,0,0,0.4); 
    }
    .navbar.scrolled { padding: 12px 18px; }
    .logo img { height: 50px; }
    
    /* FIXED: Ensured display flex triggers on tablet/mobile views */
    .menu-icon { display: flex; }
    
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        width: 100%; 
        background: linear-gradient(to bottom, rgba(0,0,0,0.98), rgba(10,10,10,0.95)); 
        flex-direction: column; 
        gap: 0; 
        padding: 12px 0; 
        z-index: 999; 
        max-height: calc(100vh - 60px); 
        overflow-y: auto; 
    }
    .nav-links li { 
        width: 100%; 
        text-align: center; 
        padding: 12px 0; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links li a { 
        color: white; 
        font-size: 0.95rem; 
        display: block; 
        font-weight: 500; 
        letter-spacing: 0.5px; 
    }
    
    /* FIXED: Selector hierarchy wired to structural inputs correctly */
    #menu-toggle:checked ~ .nav-links { 
        display: flex; 
    }

    /* Fixed Mobile Gallery Layout */
    .stack-gallery-section { padding: 120px 20px 80px; }
    .stack-nav { padding: 10px 24px; margin: 0 6px 12px; }
    
    .stack-container { 
        height: auto; 
        margin-top: 30px; 
        display: block; 
    }
    
    .image-stack.active { 
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 16px;
        width: 100%;
    }
    
    .stack-card { 
        width: 100%; 
        height: 280px; 
        margin-left: 0 !important; 
        filter: none; 
        opacity: 1;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .stack-card:hover {
        transform: scale(1.03); 
        margin: 0; 
    }

    .footer-wrapper { flex-direction: column; gap: 30px; }
}

@media (max-width: 768px) {
    .navbar { padding: 14px 14px; }
    .logo img { height: 50px; }
    
    .image-stack.active { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    
    .stack-card { height: 240px; }
    .stack-nav { padding: 10px 14px; margin: 0 4px 8px; font-size: 0.9rem; }
    .cta-btn { width: 100%; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 576px) {
    .navbar { padding: 12px 12px; }
    .nav-links li { padding: 6px 8px; font-size: 12px; }
    
    .image-stack.active { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    
    .stack-card { height: 180px; } 
    .stack-nav { width: calc(50% - 8px); display: inline-block; padding: 10px 10px; margin: 0 4px 8px; font-size: 0.85rem; }
    .stack-gallery-section { padding: 100px 10px 60px; }
    .footer-wrapper { padding: 0 12px 30px; }
}