/* N'CHI Jewelry & Lifestyle - CSS */

:root {
    /* Couleurs principales */
    --creme: #F7F5F0;
    --noir: #0A0A0A;
    --or-doré: #C59B27;
    --or-rose: #C5A059;
    --cuivre: #8B4513;

    /* Espacements */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Box shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 300ms;
    --transition-slow: 600ms;
}

/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--creme);
    overflow-x: hidden;
}

/* Typographie */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&display=swap');
}

@font-face {
    font-family: 'Playfair Display';
    src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&display=swap');
}

@font-face {
    font-family: 'Dancing Script';
    src: url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
}

/* Polices */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.font-handwriting {
    font-family: 'Dancing Script', cursive;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-fast) ease;
    padding: 1.5rem 0;
}

header.scrolled {
    background: var(--creme);
    box-shadow: 0 1px 0 var(--or-doré);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--noir);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--noir);
    font-weight: 400;
    transition: color var(--transition-fast) ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--or-doré);
    transition: width var(--transition-slow) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
    font-family: monospace;
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--noir);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color var(--transition-fast) ease;
}

.lang-btn.active {
    color: var(--or-doré);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--or-doré);
    background: transparent;
    color: var(--or-doré);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    transition: all var(--transition-slow) ease;
    position: relative;
    overflow: hidden;
}

/* Print styles hidden */
@media print {
    .btn, .lang-selector, .nav-links, header, .photo-band, .social-links, .footer-nav {
        display: none !important;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--or-doré);
    transition: left var(--transition-slow) ease;
    z-index: -1;
}

.btn:hover {
    color: var(--creme);
}

.btn:hover::before {
    left: 0;
}

.btn-whatsapp {
    background: var(--cuivre);
    border: 1px solid var(--cuivre);
    color: white;
}

.btn-whatsapp:hover {
    color: var(--cuivre);
}

.btn-whatsapp:hover::before {
    background: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 80%, rgba(197, 155, 39, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
                var(--creme);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 300px;
    height: 300px;
    margin: 0 auto 3rem;
    border: 3px solid var(--or-doré);
    border-radius: 50%;
    background: var(--noir);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: rotate 30s linear infinite;
}

.hero-logo::before {
    content: 'N\'CHI';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--or-doré);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--noir);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--cuivre);
}

.hero-border {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--or-doré), transparent);
    margin: 0 auto 3rem;
    animation: borderFlow 4s ease-in-out infinite;
}

@keyframes borderFlow {
    0%, 100% { transform: scaleX(0.3); }
    50% { transform: scaleX(1); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bangle-kowri.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Collections */
.collections {
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--noir);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: var(--or-doré);
    margin: 2rem auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-slow) ease, box-shadow var(--transition-slow) ease;
    cursor: pointer;
    position: relative;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.collection-image {
    height: 350px;
    background: linear-gradient(135deg, var(--or-doré), var(--or-rose));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.collection-info {
    padding: 2rem;
}

.collection-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--noir);
}

.collection-desc {
    margin-bottom: 1.5rem;
    color: var(--anthracite);
}

.product-price {
    font-family: monospace;
    color: var(--or-doré);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Values Band */
.values-band {
    background: var(--noir);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.values-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--or-doré), transparent);
}

.values-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.value-item {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--or-doré);
    position: relative;
    padding: 0 2rem;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--or-doré);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.value-item::after {
    content: '•';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--or-doré);
}

.value-item:last-child::after {
    display: none;
}

/* Photography Band */
.photo-band {
    padding: 0;
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23C59B27" stroke-width="0.5" opacity="0.3"/><path d="M20,20 Q50,50 80,20" stroke="%23C5A059" stroke-width="0.5" fill="none" opacity="0.3"/></svg>') center/cover;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    height: 100%;
    gap: 1rem;
    padding: 1rem;
}

.photo-item {
    background: var(--noir);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--or-doré);
    font-weight: 300;
    font-size: 1.2rem;
    transition: transform var(--transition-slow) ease, box-shadow var(--transition-slow) ease;
    position: relative;
    overflow: hidden;
}

.photo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(197, 155, 39, 0.3), rgba(197, 160, 89, 0.3));
    opacity: 0;
    transition: opacity var(--transition-slow) ease;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.photo-item:hover::before {
    opacity: 1;
}

/* Story Section */
.story {
    padding: var(--space-xl) 0;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.story-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    position: relative;
}

.story-intro::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--or-doré);
}

.story-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    margin: 3rem auto;
    max-width: 800px;
    line-height: 1.4;
    position: relative;
    padding: 0 2rem;
}

.story-quote::before,
.story-quote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    color: var(--or-doré);
    opacity: 0.3;
}

.story-quote::before {
    left: -1rem;
    top: -2rem;
}

.story-quote::after {
    right: -1rem;
    bottom: -3rem;
}

/* Contact Section */
.contact {
    padding: var(--space-xl) 0;
    background: white;
    margin: var(--space-xl) 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--or-doré);
    border-radius: 10px;
    background: var(--creme);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--or-doré);
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background: white;
    transition: border-color var(--transition-fast) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--or-rose);
}

/* FAQ Section */
.faq {
    padding: var(--space-xl) 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--or-doré);
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.faq-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--noir);
}

.faq-item p {
    color: var(--anthracite);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--noir);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--or-doré);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--cuivre);
    margin-bottom: 2rem;
}

.footer-signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--or-doré);
    margin-bottom: 3rem;
    font-style: italic;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast) ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--or-doré);
    transition: width var(--transition-slow) ease;
}

.footer-nav a:hover {
    color: var(--or-doré);
}

.footer-nav a:hover::after {
    width: 100%;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}

.social-links a:hover {
    color: var(--or-doré);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--anthracite);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .hero-logo::before {
        font-size: 2.5rem;
    }

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

    .values-container {
        flex-direction: column;
        gap: 1rem;
    }

    .value-item::after {
        display: none;
    }

    .photo-band {
        min-height: 300px;
    }

    .story-quote {
        font-size: 1.5rem;
    }

    .footer-logo {
        font-size: 2rem;
    }

    .footer-tagline {
        font-size: 1.5rem;
    }
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    opacity: 1;
}