/*
 Theme Name:   Externam Studio
 Theme URI:    https://externamstudio.fr
 Description:  Thème personnalisé pour Externam Studio - Studio de publicité IA
 Author:       Externam Studio
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  externam-studio
*/

/* ============================================
   VARIABLES GLOBALES
   ============================================ */
:root {
    --es-gold: #C9A84C;
    --es-gold-hover: #b8963f;
    --es-black: #0D0D0D;
    --es-dark: #111111;
    --es-dark-alt: #1a1a1a;
    --es-white: #FFFFFF;
    --es-gray: #AAAAAA;
    --es-font-heading: 'Bebas Neue', sans-serif;
    --es-font-body: 'DM Sans', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
body {
    background-color: var(--es-black) !important;
    color: var(--es-white);
    font-family: var(--es-font-body);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--es-font-heading);
    color: var(--es-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: var(--es-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--es-gold-hover);
}

/* ============================================
   BOUTONS DORÉS
   ============================================ */
.es-btn-gold,
.elementor-button {
    background-color: var(--es-gold) !important;
    color: var(--es-black) !important;
    border: none;
    border-radius: 30px;
    padding: 14px 32px;
    font-family: var(--es-font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.es-btn-gold:hover,
.elementor-button:hover {
    background-color: var(--es-gold-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.es-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.es-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.es-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.es-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--es-gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ============================================
   STATS / CHIFFRES
   ============================================ */
.es-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 80px 20px;
    background: var(--es-dark);
}

.es-stat-item {
    text-align: center;
}

.es-stat-number {
    font-family: var(--es-font-heading);
    font-size: 3.5rem;
    color: var(--es-gold);
    display: block;
}

.es-stat-label {
    font-size: 0.95rem;
    color: var(--es-gray);
    margin-top: 8px;
}

/* ============================================
   CARDS SERVICES
   ============================================ */
.es-service-card {
    background: var(--es-dark-alt);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.es-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.15);
}

.es-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.es-service-card-content {
    padding: 30px;
}

.es-service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--es-gold);
}

/* ============================================
   PORTFOLIO / VIDÉOS
   ============================================ */
.es-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.es-video-grid iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
.es-cta {
    text-align: center;
    padding: 100px 20px;
    background: var(--es-dark-alt);
}

.es-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.es-cta p {
    color: var(--es-gray);
    max-width: 550px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.es-footer {
    background: var(--es-dark);
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.es-footer a {
    color: var(--es-gray);
}

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

/* ============================================
   FORMULAIRE DE CONTACT
   ============================================ */
.es-form input,
.es-form textarea,
.es-form select {
    background: var(--es-dark) !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--es-white);
    padding: 14px 18px;
    border-radius: 8px;
    font-family: var(--es-font-body);
    width: 100%;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.es-form input:focus,
.es-form textarea:focus {
    border-color: var(--es-gold);
    outline: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .es-stats {
        flex-direction: column;
        gap: 30px;
    }

    .es-hero h1 {
        font-size: 2.2rem;
    }
}

/* ============================================
   ELEMENTOR OVERRIDES (dark mode)
   ============================================ */
.elementor-section {
    background-color: var(--es-black);
}

.elementor-widget-heading .elementor-heading-title {
    font-family: var(--es-font-heading);
}

.elementor-widget-text-editor {
    color: var(--es-gray);
}

.elementor-widget-icon-list .elementor-icon-list-text {
    color: var(--es-gray);
}
