/*
Theme Name: Al Rokia
Description: Thème WordPress pour les services de rokia char'iya authentique - Compatible Elementor
Version: 1.0
Author: Al Rokia
Text Domain: al-rokia
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Variables CSS pour les couleurs Al Rokia */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
}

/* Styles WordPress de base */
.wp-block-group,
.wp-block-column,
.wp-block-columns {
    margin: 0;
}

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

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Styles pour Elementor */
.elementor-widget-container {
    box-sizing: border-box;
}

.elementor-section {
    position: relative;
}

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

/* Header Al Rokia */
.al-rokia-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--emerald-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.al-rokia-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.al-rokia-logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--emerald-600), var(--teal-600));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.al-rokia-logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--emerald-800);
    margin: 0;
}

.al-rokia-logo-text p {
    font-size: 0.75rem;
    color: var(--emerald-600);
    margin: 0;
}

/* Navigation */
.al-rokia-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.al-rokia-nav a {
    color: var(--emerald-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.al-rokia-nav a:hover {
    color: var(--emerald-900);
}

/* Styles de base pour Al Rokia */
.al-rokia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.al-rokia-gradient-bg {
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800), var(--teal-800));
    position: relative;
    overflow: hidden;
}

.al-rokia-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="none" stroke="rgba(167,243,208,0.1)" stroke-width="2"/><rect x="70" y="40" width="20" height="20" fill="none" stroke="rgba(167,243,208,0.1)" stroke-width="1" transform="rotate(45 80 50)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.al-rokia-gradient-bg > * {
    position: relative;
    z-index: 2;
}

.al-rokia-hero {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.al-rokia-hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.al-rokia-hero .subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--emerald-100);
}

.al-rokia-hero .description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--emerald-200);
    line-height: 1.8;
}

.al-rokia-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--emerald-500);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.al-rokia-btn:hover {
    background: var(--emerald-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.al-rokia-btn-outline {
    background: transparent;
    border: 2px solid var(--emerald-300);
    color: var(--emerald-100);
}

.al-rokia-btn-outline:hover {
    background: rgba(16, 185, 129, 0.2);
    color: white;
}

.al-rokia-section {
    padding: 80px 0;
}

.al-rokia-section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--emerald-800);
    margin-bottom: 2rem;
}

.al-rokia-section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--emerald-600), var(--teal-600));
    margin: 0 auto 2rem;
}

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

.al-rokia-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--emerald-200);
}

.al-rokia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.al-rokia-card h3 {
    color: var(--emerald-800);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.al-rokia-card p {
    color: var(--emerald-700);
    line-height: 1.7;
    text-align: center;
}

.al-rokia-quote {
    background: linear-gradient(135deg, var(--emerald-600), var(--teal-600));
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 4rem 0;
    text-align: center;
}

.al-rokia-quote-arabic {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    direction: rtl;
    font-family: 'Amiri', serif;
}

.al-rokia-quote-french {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.al-rokia-quote-ref {
    color: var(--emerald-100);
    font-size: 1rem;
}

.al-rokia-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.al-rokia-service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--emerald-200);
    position: relative;
}

.al-rokia-service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--emerald-100);
    color: var(--emerald-800);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.al-rokia-service-card h3 {
    color: var(--emerald-800);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.al-rokia-service-card .description {
    color: var(--emerald-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.al-rokia-service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.al-rokia-service-features li {
    color: var(--emerald-700);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.al-rokia-service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--emerald-600);
    font-weight: bold;
}

.al-rokia-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.al-rokia-process-step {
    text-align: center;
    color: white;
}

.al-rokia-process-number {
    width: 80px;
    height: 80px;
    background: var(--emerald-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.al-rokia-process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.al-rokia-process-step p {
    color: var(--emerald-200);
    line-height: 1.6;
}

.al-rokia-stats {
    background: var(--emerald-600);
    color: white;
    padding: 4rem 0;
}

.al-rokia-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.al-rokia-stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.al-rokia-stat-label {
    color: var(--emerald-100);
    font-size: 1.1rem;
}

.al-rokia-contact {
    background: linear-gradient(135deg, var(--emerald-50), white);
}

.al-rokia-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.al-rokia-contact-info {
    display: grid;
    gap: 1.5rem;
}

.al-rokia-contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.al-rokia-contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald-600), var(--teal-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.al-rokia-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.al-rokia-form label {
    display: block;
    color: var(--emerald-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.al-rokia-form input,
.al-rokia-form select,
.al-rokia-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--emerald-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.al-rokia-form input:focus,
.al-rokia-form select:focus,
.al-rokia-form textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
}

.al-rokia-footer {
    background: var(--emerald-800);
    color: white;
    padding: 3rem 0 2rem;
}

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

.al-rokia-footer h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.al-rokia-footer a {
    color: var(--emerald-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.al-rokia-footer a:hover {
    color: white;
}

.al-rokia-footer-bottom {
    border-top: 1px solid var(--emerald-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--emerald-200);
}

/* Responsive */
@media (max-width: 768px) {
    .al-rokia-hero h1 {
        font-size: 2.5rem;
    }

    .al-rokia-hero .subtitle {
        font-size: 1.3rem;
    }

    .al-rokia-section-title {
        font-size: 2rem;
    }

    .al-rokia-contact-grid {
        grid-template-columns: 1fr;
    }

    .al-rokia-quote-arabic {
        font-size: 1.5rem;
    }

    .al-rokia-quote-french {
        font-size: 1.1rem;
    }

    .al-rokia-nav {
        display: none;
    }
}

/* Styles pour Elementor */
.elementor-widget-container .al-rokia-card,
.elementor-widget-container .al-rokia-service-card {
    height: 100%;
}

.elementor-section .al-rokia-gradient-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.al-rokia-card,
.al-rokia-service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Styles Elementor personnalisés */
.elementor-section {
    overflow: visible;
}

.elementor-widget-container {
    word-wrap: break-word;
}

/* Support pour les widgets Al Rokia dans Elementor */
.elementor-widget-al-rokia-hero .al-rokia-hero-section,
.elementor-widget-al-rokia-services .al-rokia-services-section,
.elementor-widget-al-rokia-contact .al-rokia-contact-section,
.elementor-widget-al-rokia-testimonials .al-rokia-testimonials-section {
    padding: 60px 20px;
}

/* Override pour les sections Elementor */
.elementor-section .al-rokia-gradient-bg {
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800), var(--teal-800));
    position: relative;
    overflow: hidden;
}

.elementor-section .al-rokia-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="none" stroke="rgba(167,243,208,0.1)" stroke-width="2"/><rect x="70" y="40" width="20" height="20" fill="none" stroke="rgba(167,243,208,0.1)" stroke-width="1" transform="rotate(45 80 50)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Animations pour les widgets Elementor */
.elementor-invisible {
    visibility: hidden;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Classes Elementor animations */
.elementor-animation-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.elementor-animation-fadeInDown {
    animation: fadeInDown 0.6s ease-out;
}

.elementor-animation-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Elementor */
@media (max-width: 1024px) {
    .elementor-widget-al-rokia-hero .al-rokia-hero-section,
    .elementor-widget-al-rokia-services .al-rokia-services-section,
    .elementor-widget-al-rokia-contact .al-rokia-contact-section,
    .elementor-widget-al-rokia-testimonials .al-rokia-testimonials-section {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .elementor-widget-al-rokia-hero .al-rokia-hero-section,
    .elementor-widget-al-rokia-services .al-rokia-services-section,
    .elementor-widget-al-rokia-contact .al-rokia-contact-section,
    .elementor-widget-al-rokia-testimonials .al-rokia-testimonials-section {
        padding: 30px 10px;
    }
}

/* Classes utilitaires */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
