/* --- Base Styles --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Poppins', sans-serif; 
    background: #0a0a0a; 
    color: #ffffff;
    overflow-x: hidden; 
}

/* --- Fixed Navbar from Gallery Page --- */
.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; 
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95); 
    padding: 10px 80px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.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; 
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
/* Desktop Hover Triggers */
/* --- Dropdown System --- */
.dropdown {
    position: relative;
}
.dropbtn {
    cursor: pointer;
    color: white;
    background: transparent;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    padding: 0;
    transition: 0.3s ease;
}
.dropbtn:hover {
    color: #f3ce7e;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* Aligns to right edge of the button to prevent desktop screen overflow */
    left: auto;
    background-color: rgba(255, 255, 255, 0.98);
    width: 260px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
    list-style: none;
    padding: 15px 0;
    border-radius: 4px;
    z-index: 1002;
}
.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-align: left; /* Clean default text reading structure */
}
.dropdown-content li a:hover {
    background-color: #f8f8f8;
    color: #b08d57;
    padding-left: 30px;
}
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}
.dropdown.open .dropdown-content {
    display: block;
}


/* --- Core Page Component --- */
.asymmetric-portfolio-section {
    padding: 160px 0 100px;
    background: #0a0a0a;
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    padding: 0 20px;
}

.section-title span {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #b08d57; 
    font-weight: 600;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 10px 0;
    font-weight: 700;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background-color: #b08d57;
    margin: 20px auto;
}

.intro-text {
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Expanding Editorial Track Panel Engine --- */
.asymmetric-deck {
    display: flex;
    width: 92%;
    max-width: 1300px;
    height: 550px;
    margin: 0 auto;
    gap: 15px;
}

.deck-card {
    flex: 1;
    min-width: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(176, 141, 87, 0.15);
    /* Heavy elastic bezier handles beautiful snap mechanics */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.3, 1), border-color 0.4s ease;
}

.deck-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.4) grayscale(0.3);
    transition: filter 0.6s ease, transform 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
}

/* Custom Dynamic Meta Labels hidden by default */
.deck-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.9));
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.deck-meta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #f3ce7e;
    margin-bottom: 5px;
}

.deck-meta span {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Hover over unexpanded layout panels preview look */
.deck-card:hover img {
    filter: brightness(0.6) grayscale(0);
    transform: scale(1.02);
}

/* Expanded/Active Panel States Layout Metrics */
.deck-card.active {
    flex: 4; /* Takes up 4x space dynamically pushing siblings out */
    border-color: rgba(176, 141, 87, 0.5);
    cursor: default;
}

.deck-card.active img {
    filter: brightness(1) grayscale(0);
}

.deck-card.active .deck-meta {
    opacity: 1;
    transform: translateY(0);
}

/* --- 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;
}

.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);
}

@media (max-width: 768px) {
    .cta-btn { padding: 12px 25px; font-size: 0.9rem; }
}

@media (max-width: 576px) {
    .cta-btn { padding: 10px 20px; font-size: 0.85rem; width: 100%; max-width: 300px; }
}

.cta-btn:hover {
    background-color: #128c7e;
}

/* --- Footer Layout --- */
.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 list cleaning */
.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 Styling */
.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;
}

/* Icon layout alignment */
.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(0, 0, 0, 0.1);
    text-align: center; 
    font-size: 0.85rem; 
    color: #666;
}

/* --- Responsive Media Adjustments --- */
@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; }
    .menu-icon { display: flex; width: 28px; height: 22px; }
    .menu-icon span { height: 2.5px; }
    .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; transition: color 0.3s ease; }
    .nav-links li a:hover { color: #f3ce7e; }
    #menu-toggle:checked + .menu-icon + .nav-links { display: flex; }
    .asymmetric-portfolio-section { padding: 130px 18px 80px; }
    .portfolio-intro { padding: 0 12px; }
    .section-title h2 { font-size: 2.4rem; }
    .intro-text { font-size: 0.98rem; }
    .asymmetric-deck { height: auto; gap: 18px; flex-wrap: wrap; }
    .deck-card { min-height: 320px; flex: 0 1 calc(50% - 9px); position: relative; }
    .deck-card.active { flex: 0 1 100%; }
    .deck-meta { padding: 24px; }
    .footer-wrapper { flex-direction: column; gap: 30px; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 18px; }
    .logo img { height: 60px; }
    .section-title h2 { font-size: 2rem; }
    .intro-text { font-size: 0.95rem; }
    
    /* Force column arrangement and detach static desktop heights */
    .asymmetric-deck { flex-direction: column; width: 100%; height: auto; gap: 20px; }
    
    /* Setting relative position + explicit card height prevents layout collapse */
    .deck-card { 
        width: 100%; 
        max-width: 100%; 
        height: 280px; 
        position: relative;
        flex: none !important; 
    }
    .deck-card.active { flex: none !important; }
    
    /* Retaining absolute position lets object-fit accurately map image edges to the wrapper */
    .deck-card img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        position: absolute; 
        top: 0; 
        left: 0; 
    }
    
    .deck-meta { 
        position: absolute; 
        bottom: 0; 
        left: 0; 
        width: 100%; 
        opacity: 1; 
        transform: translateY(0); 
        background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 70%, transparent 100%); 
    }
    
    .cta-btn { width: 100%; max-width: 320px; }
}

@media (max-width: 576px) {
    .navbar { padding: 14px 16px; }
    .nav-links li { padding: 6px 8px; font-size: 14px; }
    .section-title h2 { font-size: 1.7rem; }
    .portfolio-intro { padding: 0 10px; }
    .deck-card { height: 240px; }
    .deck-meta { padding: 18px; }
    .footer-wrapper { padding: 0 12px 30px; }
}