:root {
    --bg-color: #F9F7F2;
    --text-color: #2C2C2C;
    --accent-color: #C5A059;
    --white: #FFFFFF;
    --transition-warm: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Header */
.header {
    background-color: rgba(249, 247, 242, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 150px;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: auto;
    width: 100%;
}

#main-logo {
    width: 200px;
    height: 80px;
    background-image: url('LOGO MM.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

#main-logo:hover {
    transform: scale(1.02);
}

.nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-color);
}

/* Sections */
main {
    padding-top: 150px;
    /* Space for fixed header */
}

section {
    padding: 10rem 10%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero */
.hero {
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--text-color);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.9rem;
    transition: var(--transition-warm);
    border: 1px solid var(--text-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--text-color);
}

/* Grid Gallery */
.works-grid {
    background-color: var(--white);
    width: 100%;
    max-width: 100%;
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 4rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: var(--accent-color);
}

.gallery-grid {
    column-count: 3;
    column-gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.dress-name {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: 0.1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .dress-name {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    animation: zoomIn 0.3s;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    display: block;
    box-shadow: 20px 20px 0px var(--accent-color);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.secondary-cta {
    display: inline-block;
    margin-top: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
    transition: border-bottom 0.3s ease;
}

.secondary-cta:hover {
    border-bottom: 2px solid var(--text-color);
}

/* Contact */
.contact {
    text-align: center;
    background-color: var(--white);
    padding: 8rem 10%;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-cta {
    padding: 1rem 2rem;
    border: 1px solid var(--text-color);
    text-decoration: none;
    color: var(--text-color);
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.85rem;
    transition: var(--transition-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-cta.whatsapp:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.contact-cta:hover {
    background-color: var(--bg-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.8rem;
    opacity: 0.6;
    letter-spacing: 0.05rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive refinements */
@media (max-width: 1024px) {
    section {
        padding: 6rem 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    /* .slider-container removed */

    #main-logo {
        width: 180px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 0.5rem;
    }

    .header-logo {
        margin-bottom: 0.5rem;
    }

    #main-logo {
        width: 160px;
        height: 60px;
    }

    .nav ul {
        gap: 1.5rem;
    }

    .nav a {
        font-size: 0.75rem;
        letter-spacing: 0.1rem;
    }

    main {
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .gallery-grid {
        column-count: 2;
        padding: 0 1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-cta {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav ul {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.7rem;
    }

    #main-logo {
        width: 140px;
        height: 50px;
    }

    main {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        column-count: 1;
    }

    section {
        padding: 4rem 5%;
    }
}