:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --text-light: #666666;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: white;
    transition: background-color 0.3s, color 0.3s;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.logo img {
    height: 30px;
    filter: invert(1);
    transition: filter 0.3s;
}

.header.scrolled .logo img {
    filter: invert(0);
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.header.scrolled .nav a {
    color: black;
}

.nav-link {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 180px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    color: #1a1a1a;
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background: #f5f5f5;
    color: #000;
}

.menu-btn {
    display: none;
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05); 
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 5vw;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: -15vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

/* Collections */
.collections {
    padding: 10vw 5vw;
    background: var(--bg);
    position: relative;
    z-index: 20;
}

.collection-block {
    display: flex;
    align-items: center;
    gap: 8vw;
    margin-bottom: 20vh;
}

.collection-block.reverse {
    flex-direction: row-reverse;
}

.collection-block.full {
    flex-direction: column;
}

.col-text {
    flex: 1;
    max-width: 400px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.col-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.hover-link:hover {
    opacity: 0.6;
}

.hover-link .arrow {
    font-size: 0.4em; 
    margin-left: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.hover-link:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.col-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.col-desc {
    color: var(--text-light);
    font-size: 1rem;
}

.col-images {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.col-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: zoom-in;
}

.col-images img.visible:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    opacity: 1;
    z-index: 10;
}

.col-images img.visible {
    opacity: 1;
    transform: translateY(0);
}

.masonry img:nth-child(2) {
    margin-top: 10vh;
}
.masonry img:nth-child(3) {
    grid-column: span 2;
    margin-top: 5vh;
}

.col-image-full {
    width: 100%;
    margin-top: 2rem;
}
.col-image-full img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    cursor: zoom-in;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 5rem 5vw 2rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-family: var(--font-head);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col p, .footer-col a {
    color: #999;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Gallery Modals */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem 2rem 2rem;
}

.gallery-modal.open {
    opacity: 1;
    visibility: visible;
}

.close-gallery {
    position: fixed;
    top: 2.5rem;
    right: 4rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    width: 30px;
    height: 30px;
}

.close-gallery span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #111111;
    position: absolute;
    top: 50%;
    left: 0;
    transition: transform 0.3s ease;
}

.close-gallery span:nth-child(1) { transform: rotate(45deg); }
.close-gallery span:nth-child(2) { transform: rotate(-45deg); }
.close-gallery:hover span { background-color: rgba(0,0,0,0.4); }

.gallery-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
    color: #111111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    width: 100%;
}

.gallery-item-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item-modal {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: zoom-in;
}

.gallery-item-modal:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: zoom-out;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 5001;
    width: 30px;
    height: 30px;
}

.lightbox-close span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000000;
    position: absolute;
    top: 50%;
    left: 0;
}

.lightbox-close span:nth-child(1) { transform: rotate(45deg); }
.lightbox-close span:nth-child(2) { transform: rotate(-45deg); }

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

@media (max-width: 768px) {
    .collection-block, .collection-block.reverse {
        flex-direction: column;
    }
    .header {
        padding: 1.5rem;
    }
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 1000;
        gap: 1.5rem;
    }
    .nav.active {
        opacity: 1;
        visibility: visible;
    }
    .nav a {
        color: var(--text);
        font-size: 1.5rem;
    }
    .header.scrolled .nav a {
        color: var(--text);
    }
    .nav-dropdown {
        flex-direction: column;
        align-items: center;
    }
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding-top: 1rem;
    }
    .dropdown-content a {
        font-size: 1.1rem;
        padding: 0;
    }
    .menu-btn {
        display: block;
        background: none;
        border: none;
        width: 25px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 1001; /* Above nav */
    }
    .menu-btn span {
        display: block;
        width: 100%;
        height: 1px;
        background-color: white;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    .header.scrolled .menu-btn span,
    .menu-btn.active span {
        background-color: black;
    }
    .menu-btn.active span {
        background-color: black !important;
    }
    .menu-btn span:nth-child(1) { top: 0; }
    .menu-btn span:nth-child(2) { top: 9px; }
    .menu-btn span:nth-child(3) { bottom: 0; }

    /* Open state for hamburger */
    .menu-btn.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
    .menu-btn.active span:nth-child(2) { opacity: 0; }
    .menu-btn.active span:nth-child(3) { bottom: 10px; transform: rotate(-45deg); }
    .col-title {
        font-size: 2.5rem;
    }
    .col-images {
        grid-template-columns: 1fr;
    }
    .masonry img:nth-child(2), .masonry img:nth-child(3) {
        margin-top: 0;
        grid-column: span 1;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn svg {
        width: 25px;
        height: 25px;
    }
}
