
/* Gaëlle Art Studio - Professional Minimal CSS */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Work+Sans:wght@300;400;500;600&display=swap');

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


        #about, #work {
            scroll-margin-top: 100px;
        }


        :root {
            --primary-color: #000000;
            --secondary-color: #666666;
            --background: #ffffff;
            --border-color: #e0e0e0;
        }

        body {
            font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: var(--primary-color);
            background-color: var(--background);
            font-weight: 300;
            letter-spacing: 0.02em;
        }

        /* Header Navigation */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background-color: var(--background);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
            padding: 20px 40px;
        }

        nav {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }        

        .logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 24px;
            font-weight: 400;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .logo a {
            text-decoration: none;
            color: var(--primary-color);
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 40px;
        }

        nav a {
            text-decoration: none;
            color: var(--primary-color);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: color 0.3s ease;
        }

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

        /* Main Content */
        main {
            margin-top: 80px;
            padding: 60px 40px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Hero Section */
        .hero {
            margin-bottom: 120px;
        }

/*        .hero-image-container {
            width: 100%;
            max-width: 700px;
            margin: 0 auto 40px;
            background-color: #f5f5f5;
        }

        .hero-image-container img {
            width: 100%;
            height: auto;
            display: block;
        }
*/

        .hero-image-container {
                width: 125vw;
                max-height: 60vh;
                background-size: cover;
                background-position: center center;
                background-repeat: no-repeat;
                overflow: hidden;
                position: relative;
            }

    /* Desktop specific */
    @media (min-width: 769px) {
        .hero-image-container {
            height: 70vh;
            background-position: center 55%; /* NOW this will actually work */
        }
    }


 
        .hero-text {
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
            font-size: 16px;
            line-height: 1.8;
            color: var(--primary-color);
        }

        /* Work Grid */
        .work-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 60px;
            margin-bottom: 100px;
        }

        .work-item {
            text-decoration: none;
            color: var(--primary-color);
            display: block;
        }

        .work-image {
            width: 100%;
            aspect-ratio: 1/1;
            background-color: #f5f5f5;
            margin-bottom: 15px;
            overflow: hidden;
        }

        .work-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .work-item:hover .work-image img {
            transform: scale(1.02);
        }

        .work-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 18px;
            font-weight: 400;
            margin-bottom: 5px;
        }

        .work-details {
            font-size: 13px;
            color: var(--secondary-color);
            letter-spacing: 0.03em;
        }

        /* About Section */
        .about-section {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 80px;
            margin-bottom: 100px;
        }
        
        .about-image {
            width: 100%;
            background-color: #f5f5f5;
            aspect-ratio: 3/4;
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Desktop: Image floats, text wraps around it */
        .float-image {
            float: left;           /* Or 'right' if you want image on right side */
            margin: 0 20px 20px 0; /* Space around image: right and bottom */
            max-width: 400px;      /* Control image size */
            width: 100%;
        }

        /* Mobile: Image goes above text, full width */
        @media (max-width: 768px) {
            .float-image {
                float: none;       /* Turn off floating */
                margin: 0 0 20px 0; /* Only bottom margin */
                max-width: 100%;   /* Full width on mobile */
            }
        }

        .about-content h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 32px;
            font-weight: 400;
            margin-bottom: 30px;
            letter-spacing: 0.02em;
        }

        .about-content p {
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 20px;
            max-width: 600px;
        }

        .about-content a, .footer a {
            color: var(--primary-color);
            text-decoration: none;
            border-bottom: 1px solid var(--primary-color);
            transition: color 0.3s ease, border-color 0.3s ease;
        }

        .about-content a:hover, .footer a:hover {
            color: var(--secondary-color);
            border-bottom-color: var(--secondary-color);
        }

        .about-content ul {
            font-size: 13px;
            padding-left: 30px;
            line-height: 1.6;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .education {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }

        .education h3, .about-content h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 18px;
            font-weight: 400;
            margin-bottom: 15px;
            letter-spacing: 0.02em;
        }

        .education p {
            font-size: 13px;
            line-height: 1.6;
            color: var(--secondary-color);
        }

        /* Contact Section */
        .contact-section {
            padding: 80px 0;
            border-top: 1px solid var(--border-color);
        }

        .contact-section h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 32px;
            font-weight: 400;
            margin-bottom: 30px;
            letter-spacing: 0.02em;
        }

        .contact-subsection {
            margin-top: 50px;
        }

        .contact-subsection h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .contact-info {
            font-size: 15px;
            line-height: 2;
        }

        .contact-info a {
            color: var(--primary-color);
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }

        .contact-info a:hover {
            border-bottom-color: var(--primary-color);
        }

        .social-links {
            display: flex;
            gap: 40px;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--primary-color);
            font-size: 11px;
            font-family: 'Cormorant Garamond', serif;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            transition: color 0.3s ease;
        }

        .social-link:hover {
            color: var(--secondary-color);
        }

        .social-icon {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        .newsletter-content {
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 20px;
            max-width: 600px;
        }

        .newsletter-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--primary-color);
            text-decoration: none;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: color 0.3s ease;
        }

        .newsletter-link:hover {
            color: var(--secondary-color);
        }

        .newsletter-arrow {
            width: 20px;
            height: 20px;
            transition: transform 0.3s ease;
        }

        .newsletter-link:hover .newsletter-arrow {
            transform: translateX(5px);
        }

        /* Footer */
        footer {
            padding: 40px;
            border-top: 1px solid var(--border-color);
            text-align: center;
            font-size: 12px;
            color: var(--secondary-color);
            letter-spacing: 0.05em;
        }

        /* Utility Classes */
        .section-spacing {
            margin-bottom: 100px;
        }

        /* Popup window */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}


.popup-content {
    display: flex;
    max-width: 90%; /* Use a percentage of the viewport width */
    max-height: 90vh; /* Use a percentage of the viewport height */
    margin: auto;
    background-color: var(--background);
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.popup-image {
    flex: 2; /* Give more space to the video */
    padding: 20px;
    background-color: var(--background);
}


.popup-image img {
    width: 100%;
    height: auto;
    display: block;
}

.popup-details {
    flex: 1; /* Less space for details */
    padding: 30px;
    font-family: 'Work Sans', sans-serif;
    color: var(--primary-color);
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-details h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.popup-details .work-details {
    font-size: 14px;
    color: var(--secondary-color);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.popup-details p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

.popup-image iframe {
    width: 100%;
    height: 100%;
    min-height: 400px; /* Minimum height for the video */
}

.work-item, .work-image {
    cursor: pointer;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: 300;
    color: var(--background);
    background-color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    background-color: var(--secondary-color);
}


        /* Responsive */
        @media (max-width: 768px) {
            header {
                padding: 20px;
            }

            nav {
                display: flex;
                flex-direction: column !important; /* Stack logo and menu vertically */
                align-items: flex-start !important; /* Align items to the left */
                gap: 20px; /* Add some gap between logo and menu */
            }

            nav ul {
                display: flex;
                flex-direction: column !important; /* Stack items vertically */
                gap: 0px; /* Reduce gap between items */
                align-items: flex-start; /* Align items to the left */
                width: 100%; /* Ensure full width usage */
            }

            nav ul li {
                width: 100%; /* Full width for each link */
            }

            nav ul li a {
                display: block; /* Make anchor tags block-level elements */
                padding: 6px 0; /* Add some padding for better touch targets */
            }

            main {
                padding: 40px 20px;
            }
    
            .hero-image-container {
                width: 100vw;
                height: 50vh;
                background-position: center 40%;
                background-size: 180% auto; /* zoom effect */
            }

            .hero-text {
                font-size: 14px;
                text-align: left;
            }

            .work-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-section {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .about-image {
                width: 60%;
                max-width: 250px;
                margin: 0 auto;
            }

            .about-content h2 {
                font-size: 28px;
            }

            .about-content p {
                font-size: 14px;
                line-height: 1.7;
            }

            .social-links {
                flex-direction: column;
                gap: 20px;
            }

            .contact-subsection {
                margin-top: 40px;
            }

            .popup-content {
                flex-direction: column;
                max-height: 95vh;
                max-width: 95%;
            }
            
            .popup-image, .popup-details {
                width: 100%;
                padding: 15px;
            }
            
            .popup-image iframe {
                min-height: 250px;
            }

            .close {
                top: 20px;
                right: 20px;
            }

            /* Optional: Reduce logo size for mobile */
            .logo {
                font-size: 20px;
            }
        }
