/* ===== VARIABLES BOUTIQUE ===== */
:root {
    --boutique-bg: #050604;
    --boutique-accent: #d4a76a;
    --boutique-text: #f5f5f5;
    --boutique-text-muted: rgba(245, 245, 245, 0.7);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--boutique-bg);
    color: var(--boutique-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #d4a76a;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    opacity: 0.8;
}

/* ===== CLOUD TRANSITION ===== */
.cloud-transition {
    height: 200px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(5, 6, 4, 0.1) 20%,
        rgba(5, 6, 4, 0.5) 60%,
        var(--boutique-bg) 100%
    );
    position: relative;
    z-index: 10;
    margin-top: -100px;
}

/* ===== GALLERY LAYOUT (STYLE PRINCIPAL) ===== */
.gallery-layout {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    min-height: 100vh;
    padding: 80px 0;
}

.gallery-title-section {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: sticky;
    top: 150px;
    padding-left: 40px;
}

.gallery-title {
    font-size: 4rem;
    font-weight: 300;
    color: var(--boutique-accent);
    margin: 0;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: lowercase;
    font-family: 'Playfair Display', serif;
}

.title-arrow {
    opacity: 0.6;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.gallery-layout:hover .title-arrow {
    opacity: 1;
    transform: translateX(10px);
}

.gallery-grid {
    flex: 1;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 40px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-grid::-webkit-scrollbar {
    display: none;
}

.gallery-column {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 280px;
    height: 380px;
    cursor: pointer;
}

.gallery-item.large {
    height: 480px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 6, 4, 0.0) 0%,
        rgba(5, 6, 4, 0.3) 40%,
        rgba(5, 6, 4, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.view-btn {
    background: var(--boutique-accent);
    color: var(--boutique-bg);
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    letter-spacing: 0.5px;
}

.gallery-item:hover .view-btn {
    transform: translateY(0);
}

.view-btn:hover {
    background: var(--boutique-text);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 167, 106, 0.3);
}

/* ===== SECTIONS SPACING ===== */
.shop-section {
    background: var(--boutique-bg);
    position: relative;
}

.shop-section:nth-child(even) {
    background: linear-gradient(
        135deg,
        rgba(5, 6, 4, 0.98) 0%,
        rgba(8, 10, 6, 0.95) 100%
    );
}

/* ===== SECTION CONTACT ===== */
.contact-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(5, 6, 4, 0.95) 0%,
        rgba(10, 12, 8, 0.9) 100%
    );
}

.contact-content h2 {
    font-size: 2.5rem;
    color: var(--boutique-accent);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--boutique-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    background: var(--boutique-accent);
    color: var(--boutique-bg);
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.contact-btn:hover {
    background: var(--boutique-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 167, 106, 0.3);
}

/* ===== NAVIGATION RETOUR ===== */
.back-nav {
    text-align: center;
    padding: 60px 0;
    background: var(--boutique-bg);
}

.back-link {
    color: var(--boutique-accent);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: var(--boutique-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
    .gallery-layout {
        gap: 60px;
    }
    
    .gallery-title-section {
        flex: 0 0 300px;
        padding-left: 20px;
    }
    
    .gallery-title {
        font-size: 3.5rem;
    }
    
    .gallery-item {
        width: 250px;
        height: 340px;
    }
    
    .gallery-item.large {
        height: 420px;
    }
}

@media (max-width: 1200px) {
    .gallery-layout {
        gap: 40px;
    }
    
    .gallery-title-section {
        flex: 0 0 250px;
    }
    
    .gallery-title {
        font-size: 3rem;
    }
    
    .gallery-item {
        width: 220px;
        height: 300px;
    }
    
    .gallery-item.large {
        height: 380px;
    }
    
    .gallery-grid {
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .gallery-layout {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        padding: 60px 0;
    }
    
    .gallery-title-section {
        flex: none;
        position: static;
        align-items: center;
        text-align: center;
        padding-left: 0;
    }
    
    .gallery-title {
        font-size: 2.8rem;
    }
    
    .gallery-grid {
        justify-content: center;
        flex-wrap: wrap;
        padding-right: 0;
    }
    
    .gallery-item {
        width: 200px;
        height: 280px;
    }
    
    .gallery-item.large {
        height: 350px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    header nav {
        padding: 15px 20px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        gap: 15px;
    }
    
    .gallery-item {
        width: 180px;
        height: 250px;
    }
    
    .gallery-item.large {
        height: 300px;
    }
    
    .view-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
    
    .contact-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .gallery-layout {
        padding: 40px 0;
    }
    
    .gallery-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .gallery-item {
        width: 300px;
        height: 220px;
    }
    
    .gallery-item.large {
        height: 280px;
    }
    
    .gallery-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 280px;
        height: 200px;
    }
    
    .gallery-item.large {
        height: 250px;
    }
    
    .gallery-title {
        font-size: 1.6rem;
    }
    
    .view-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== TOUCH INTERACTIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:active {
        transform: translateY(-10px) scale(1.02);
    }
    
    .gallery-item:active .item-overlay {
        opacity: 1;
    }
    
    .gallery-item:active .view-btn {
        transform: translateY(0);
    }
}
