﻿/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs exactes du jeu */
    --bg-primary: #8B7355;          /* Brun bottombar (headerbar) */
    --bg-secondary: #8B7355;        /* Brun moyen */
    --accent-primary: #F5F5DC;      /* Ivoire boutons */
    --hover-gold: #FFFEF7;          /* Ivoire clair hover */
    --roman-red: #8B0000;           /* Rouge impérial */
    --roman-gold: #DAA520;          /* Or antique */
    --bronze: #CD7F32;              /* Bronze */
    --text-primary: #2C1810;        /* Texte foncé */
    --text-light: #F5F5DC;          /* Texte clair */
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:wght@400;600;700&display=swap');

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: var(--bg-secondary);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo img {
    height: 70px;
    width: auto;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--roman-gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--roman-gold);
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    background: none;
    transform: scale(1.15);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: 0.3s;
}

/* Frise Grecque - Motif Méandre Authentique */
.greek-border {
    height: 50px;
    background: var(--roman-gold);
    position: relative;
    border-top: 3px solid var(--bg-primary);
    border-bottom: 3px solid var(--bg-primary);
    overflow: hidden;
}

.greek-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/ancient-greek-meander.svg');
    background-repeat: repeat-x;
    background-position: 0 center;
    background-size: contain;
    image-rendering: crisp-edges;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: var(--text-primary);
    text-align: center;
    overflow: hidden;
    border-bottom: 4px solid var(--roman-gold);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/backgrounds/hero-bg.jpg') center/cover;
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0;
}

.hero-logo {
    height: 225px;
    width: auto;
    margin-bottom: 0.335rem;
    margin-top: 0.25rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.15rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--roman-red);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.335rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
}

/* Compte à Rebours */
.countdown-container {
    background: rgba(47, 27, 20, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0;
    border: 3px solid var(--roman-gold);
    padding: 1rem;
    margin: 0.5rem auto 1.5rem auto;
    max-width: 400px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.countdown-title {
    font-size: 1.28rem;
    margin-bottom: 0.5rem;
    color: var(--roman-gold);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-date {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-item span:first-child {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--roman-gold);
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 0;
    min-width: 45px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--roman-gold);
    font-family: 'Cinzel', serif;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--accent-primary);
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--roman-red);
    color: var(--text-light);
    border-color: var(--roman-red);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #A50000;
}

.btn-secondary {
    background: transparent;
    color: var(--roman-red);
    border: 3px solid var(--roman-red);
}

.btn-secondary:hover {
    background: var(--roman-red);
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--accent-primary);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--roman-red);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--roman-gold);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid var(--bg-secondary);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--roman-gold);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--roman-gold);
}

.feature-card:hover::before {
    opacity: 0.3;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--roman-red);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Social Section */
.social-section {
    padding: 4rem 0;
    background: var(--accent-primary);
    color: var(--text-primary);
    text-align: center;
    border-top: 4px solid var(--roman-gold);
    border-bottom: 4px solid var(--roman-gold);
}

.social-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--text-primary);
}

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

.social-link {
    width: 70px;
    height: 70px;
    border-radius: 0;
    border: 3px solid var(--roman-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    font-size: 1.8rem;
}

.social-link:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.discord {
    background: #5865f2;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 4px solid var(--roman-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--roman-gold);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Cormorant Garamond', serif;
}

.footer-section a:hover {
    color: var(--roman-gold);
}

.footer-section p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
    background: var(--accent-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--roman-red);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-secondary);
    border-radius: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--roman-gold);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow);
    aspect-ratio: 16/9;
    background: var(--accent-primary);
    border: 3px solid var(--bg-secondary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover {
    border-color: var(--roman-gold);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Shop */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s;
    border: 3px solid var(--bg-secondary);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--roman-gold);
}

.product-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    color: var(--roman-red);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.product-price {
    font-size: 1.5rem;
    color: var(--roman-gold);
    font-weight: 700;
    margin: 1rem 0;
    font-family: 'Cinzel', serif;
}

/* News/Blog */
.news-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
}

.news-article {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 2px solid var(--bg-secondary);
    border-left: 5px solid var(--roman-gold);
}

.news-article h2 {
    color: var(--roman-red);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        padding: 0.2rem;
        transition: 0.3s;
        box-shadow: var(--shadow);
        border-top: 3px solid var(--roman-gold);
    }

    .nav-menu.active {
        left: 0;
    }

    .burger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

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

    .countdown {
        gap: 1rem;
    }

    .countdown-item span:first-child {
        font-size: 2.5rem;
        min-width: 70px;
        padding: 10px 15px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}