@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

:root {
    /* Colors sampled from the Coucou Coleur image */
    --primary: #FBC148;    /* Sun Yellow */
    --secondary: #F4E4E1;  /* Soft Pinkish White (Backgrounds) */
    --accent: #D94636;     /* Coleur Red (Buttons/Prices) */
    --brand: #5A3678;      /* Coucou Purple (Headers/Logo) */
    
    --dark: #2D2D2D;       /* Dark Charcoal (Text) */
    --light: #FFFFFF;      /* Pure White */
    --white: #FFFFFF;
}

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

body {
    /* Switched to clean sans-serif to match the modern/Instagram vibe */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--dark);
    background-color: var(--secondary); /* Slight warm tint to background */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 1.2rem 0;
    box-shadow: 0 2px 15px rgba(90, 54, 120, 0.05); /* Slight purple tint to shadow */
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .coucou {
    color: var(--accent); /* "coucou" in Red */
    font-family: 'Lobster', cursive;
}

.logo .couleur {
    color: var(--brand); /* "couleur" in Purple */
    font-family: 'Lobster', cursive;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent); /* Hover turns Red */
}

.lang-selector {
    padding: 0.5rem;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    background-color: var(--white);
    color: var(--dark);
    cursor: pointer;
    font-weight: bold;
}

/* Hero */
.hero {
    /* Warmer, sunnier gradient */
    background: linear-gradient(135deg, var(--secondary) 0%, #FFF4D6 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--brand); /* Purple Header */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    width: 250px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.hero p {
    font-size: 1.3rem;
    color: var(--dark);
    opacity: 0.9;
    max-width: 600px;
    text-align: left;
    flex: 1;
}

/* Gallery */
.gallery {
    padding: 4rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 0px; /* Sharper corners like picture frames */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(90, 54, 120, 0.15); /* Purple tint shadow on hover */
}

.product-image {
    width: 100%;
    height: 320px; /* Slightly taller */
    object-fit: contain;
    background-color: var(--white); /* Add white background so images don't look awkward */
}

.product-info {
    padding: 1.5rem;
    text-align: center; /* Center align like art labels */
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--brand);
    font-weight: 700;
}

.product-price {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Product Detail */
.product-detail {
    padding: 4rem 0;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 0; /* Sharp corners */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background-color: var(--white); /* Add white background */
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border: 2px solid transparent;
    background-color: var(--white); /* Add white background */
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
}

.product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--brand);
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.options-section {
    margin-bottom: 2rem;
}

.options-section h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.option-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #EEE;
    background: var(--white);
    color: var(--dark);
    border-radius: 30px; /* Rounded pill shape for buttons */
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 600;
}

.option-btn:hover {
    border-color: var(--primary);
    background: #FFFBF0;
}

.option-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark); /* Dark text on yellow background for contrast */
}

.selected-price {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: bold;
    margin: 1.5rem 0;
}

.buy-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent); /* Red Background */
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.buy-btn:hover {
    background: var(--brand); /* Changes to Purple on hover */
    transform: translateY(-2px);
}

.buy-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: var(--brand); /* Purple Footer */
    color: var(--white);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #F4E4E1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-image {
        width: 200px;
        height: auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: 400px;
    }
}
