/* ==========================================
   Variables CSS
   ========================================== */
:root {
    --color-gold: #D4AF37;
    --color-gold-dark: #B8941F;
    --color-gold-light: #F4E4B8;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-dark: #2C2C2C;
    --color-gray: #666666;
    --color-gray-light: #F5F5F5;
    --color-bg: #FAFAFA;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Reset et Base
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-gray-dark);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   Header et Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    padding: 1rem 0;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-gray-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-gold);
}

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-white) 50%, var(--color-gold-light) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out;
}

.logo-image {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.3));
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--color-gold);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================
   Section Commune
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--color-gray-light);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
    background-color: var(--color-white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--color-white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--color-white);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

.contact-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-dual-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.qr-container {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 3px solid var(--color-gold);
    transition: var(--transition);
}

.qr-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-dark);
}

.qr-image {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.qr-text {
    font-size: 1rem;
    color: var(--color-gray-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.qr-text i {
    color: var(--color-gold);
    font-size: 1.3rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-white);
    color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .logo-image {
        max-width: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-paragraph {
        font-size: 1rem;
        text-align: left;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .qr-dual-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .qr-image {
        max-width: 200px;
    }
}

