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

:root {
    --primary-color: #d4af37;      /* Or */
    --secondary-color: #1a1a1a;    /* Noir */
    --text-dark: #1a1a1a;          /* Noir */
    --text-light: #666;            /* Gris */
    --bg-light: #ffffff;           /* Blanc */
    --bg-dark: #000000;            /* Noir */
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

/* RTL Support pour l'hébreu */
html[lang="he"] {
    direction: rtl;
}

html[lang="he"] body {
    text-align: right;
}

/* Header */
header {
    display: none;
}

.header-container {
    display: none;
}

.logo-placeholder {
    display: none;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: var(--transition);
}

.logo img:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.logo-text {
    display: none;
}

.nav-links {
    display: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Logo */
.hero-logo {
    margin: 20px 0 40px 0;
    animation: slideDown 0.6s ease-out;
    display: inline-block;
}

.hero-logo img {
    height: 250px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
    transition: var(--transition);
}

.hero-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.5));
}

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

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
}

html[lang="he"] .language-selector {
    right: auto;
    left: 20px;
}

.lang-buttons {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgb(255 255 255 / 36%), rgb(255 255 255)), url(../hero.jpg) center / cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    color: #dbaa34;
    text-align: center;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary-color);  /* Or */
    display: block;
    font-size: 64px;
    margin-top: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    position: relative;
    z-index: 1;
    color: #000;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-color);  /* Or */
    color: var(--secondary-color);     /* Noir */
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: transparent;
    color: var(--primary-color);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--bg-light);  /* Blanc */
    padding: 80px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    height: 400px;
    background: var(--secondary-color);  /* Noir */
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--primary-color);  /* Bordure or */
}

.about-image img {
    height: 150px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

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

.footer-text {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

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

    .hero {
        padding: 60px 20px 40px 20px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-logo {
        margin: 15px 0 25px 0;
    }

    .hero-logo img {
        height: 180px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 300px;
    }

    .features h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding: 70px 20px 40px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 26px;
        margin-bottom: 12px;
        margin-top: 15px;
    }

    .hero-logo {
        margin: 12px 0 15px 0;
    }

    .hero-logo img {
        height: 150px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .features {
        margin: 40px auto;
    }

    .feature-card {
        padding: 20px;
    }

    .footer-links {
        gap: 15px;
    }

    .lang-buttons {
        gap: 5px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Audio Player Styles */
.audio-player-container {
    background: var(--secondary-color);  /* Noir */
    padding: 30px 20px;
    margin: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--primary-color);  /* Bordure or */
}

.audio-player-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.audio-player-title::before {
    content: '🎵';
    font-size: 24px;
}

.audio-player {
    width: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Style pour le lecteur audio natif */
audio {
    width: 100%;
    height: 40px;
    border-radius: 8px;
}

/* Customisation navigateur Chrome/Edge */
audio::-webkit-media-controls-panel {
    background-color: #f0f0f0;
}

audio::-webkit-media-controls-play-button {
    background-color: var(--primary-color);
    border-radius: 50%;
}

audio::-webkit-media-controls-mute-button {
    background-color: var(--primary-color);
}

/* Customisation Firefox */
audio {
    accent-color: var(--primary-color);
}

.audio-info {
    color: white;
    font-size: 12px;
    margin-top: 15px;
    text-align: center;
    opacity: 0.9;
}

.audio-info p {
    margin: 5px 0;
}

.audio-download {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.audio-download:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Responsive Audio Player */
@media (max-width: 768px) {
    .audio-player-container {
        margin: 30px 0;
        padding: 20px;
    }

    .audio-player-title {
        font-size: 16px;
    }

    audio {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .audio-player-container {
        margin: 20px 0;
        padding: 15px;
        border-radius: 8px;
    }

    .audio-player-title {
        font-size: 14px;
        margin-bottom: 15px;
    }

    audio {
        height: 32px;
    }

    .audio-info {
        font-size: 11px;
    }

    .audio-download {
        padding: 8px 16px;
        font-size: 11px;
    }
}
