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

:root {
    --primary-color: #1a237e;
    --secondary-color: #3949ab;
    --accent-color: #c9b037;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    margin-right: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 35, 126, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.flag {
    font-size: 1.2rem;
}

/* RTL Layout */
.rtl-layout {
    font-family: 'Cairo', 'Inter', sans-serif;
}

.rtl-layout .navbar .container {
    flex-direction: row-reverse;
}

.rtl-layout .nav-brand {
    text-align: left;
}

.rtl-layout .nav-menu {
    flex-direction: row-reverse;
}

.rtl-layout .nav-right {
    flex-direction: row-reverse;
}

.rtl-layout .hero-features {
    flex-direction: row-reverse;
}

.rtl-layout .why-content {
    direction: rtl;
}

.rtl-layout .footer-content {
    direction: rtl;
}

.rtl-layout .nav-contact span {
    direction: ltr;
}

.rtl-layout .nav-contact {
    flex-direction: row !important;
    direction: ltr !important;
}

.rtl-layout .contact-item {
    flex-direction: row !important;
    direction: ltr !important;
}

.rtl-layout .contact-item span {
    direction: ltr !important;
}

.rtl-layout #mobile-phone-number {
    direction: ltr !important;
}

.rtl-layout .call-btn {
    flex-direction: row !important;
    direction: ltr !important;
}

.rtl-layout .pricing-grid {
    direction: rtl;
}

.rtl-layout .services-grid {
    direction: rtl;
}

.nav-brand .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-brand .tagline {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: -5px;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.1), rgba(201, 176, 55, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 25px;
    flex-direction: row !important;
    direction: ltr !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(57, 73, 171, 0.8)), url('images/banniere.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 126, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.feature span {
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 176, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 176, 55, 0.4);
}

/* Sections */
.services, .pricing, .why-choose {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Services */
.services {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image::after {
    opacity: 0.2;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Why Choose */
.why-choose {
    background: var(--white);
}

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

.why-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.advantages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.advantage i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.advantage span {
    font-size: 1.1rem;
    font-weight: 500;
}

.why-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-image img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.why-image img:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 40px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 60"><rect width="30" height="45" x="5" y="7" rx="3" fill="rgba(201,176,55,0.3)" stroke="rgba(201,176,55,0.6)" stroke-width="1"/><path d="M10 15 L30 15 M10 20 L25 20 M10 25 L30 25" stroke="rgba(201,176,55,0.5)" stroke-width="1"/></svg>') no-repeat;
    animation: float 4s ease-in-out infinite;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 50px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 30"><ellipse cx="25" cy="15" rx="20" ry="10" fill="rgba(201,176,55,0.2)" stroke="rgba(201,176,55,0.4)" stroke-width="1"/><path d="M15 10 Q25 5 35 10 Q25 20 15 10" fill="rgba(201,176,55,0.3)"/></svg>') no-repeat;
    animation: float 4s ease-in-out infinite reverse;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Pricing */
.pricing {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.pricing::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 1200 600"><defs><g id="clothes" opacity="0.05"><circle cx="50" cy="50" r="20" fill="var(--primary-color)"/><rect width="30" height="40" x="35" y="35" rx="5" fill="none" stroke="var(--primary-color)" stroke-width="1"/><path d="M20 60 Q50 45 80 60" stroke="var(--accent-color)" stroke-width="2" fill="none"/></g></defs><use href="%23clothes" x="100" y="100"/><use href="%23clothes" x="300" y="200"/><use href="%23clothes" x="500" y="50"/><use href="%23clothes" x="700" y="150"/><use href="%23clothes" x="900" y="100"/><use href="%23clothes" x="200" y="300"/><use href="%23clothes" x="600" y="350"/><use href="%23clothes" x="1000" y="250"/></svg>') repeat;
    pointer-events: none;
}

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

.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    transform: scale(1.05);
    background: var(--gradient);
    color: var(--white);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.pricing-card.featured h3 {
    color: var(--white);
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .price-item {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span:last-child {
    font-weight: 600;
    color: var(--accent-color);
}

.pricing-card.featured .price-item span:last-child {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-info, .hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row !important;
    direction: ltr !important;
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Bouton d'appel fixe mobile */
.mobile-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(201, 176, 55, 0.4);
    transition: all 0.3s ease;
    animation: pulse-btn 2s infinite;
    flex-direction: row !important;
    direction: ltr !important;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 176, 55, 0.5);
}

.call-btn i {
    font-size: 1.2rem;
}

@keyframes pulse-btn {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(201, 176, 55, 0.4);
    }
    50% { 
        box-shadow: 0 4px 30px rgba(201, 176, 55, 0.7);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-call-btn {
        display: block;
    }
    .navbar .container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        order: 3;
        width: 100%;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .nav-right {
        justify-content: flex-end;
    }
    
    .nav-contact {
        display: none;
    }
    
    .language-switcher {
        margin-right: 0;
    }
    
    .lang-btn #lang-text {
        display: none;
    }
    
    /* RTL Mobile fixes */
    .rtl-layout .navbar .container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .rtl-layout .nav-right {
        justify-content: flex-end;
        flex-direction: row;
    }
    
    .rtl-layout .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        order: 3;
        width: 100%;
    }
    
    .rtl-layout .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .feature {
        flex: 1 1 30%;
        min-width: 120px;
        max-width: 150px;
    }
    
    .feature i {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .feature span {
        font-size: 0.9rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
}