/* ===========================
   Modal Styles
   =========================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 2rem 4rem 2rem 2rem;
    z-index: 2;
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from {
        transform: translateY(40px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #667eea;
    cursor: pointer;
    z-index: 3;
}

/* ===========================
   Global Styles
   =========================== */

input {
    padding: 16px 32px;
    border-radius: 32px;
    border: 1px solid #ddd;
}

textarea {
    padding: 16px 32px !important;
    border-radius: 32px !important;
}

.alexandria {
    font-family: "Alexandria", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.content-container {
    background: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Alexandria";
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header & Navigation
   =========================== */

header {
    background-color: #ffffff;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .content-container {
        padding: 0 32px;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo svg {
    height: 50px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1d66b2;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
}

.hamburger:hover {
    background: #1d66b2;
}

.hamburger:hover span {
    background-color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.language-toggle {
    font-size: 12px;
    padding: 4px;
    font-weight: 100;
}

.nav-links a {
    color: #1d66b2;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* ===========================
   Main Sections
   =========================== */

main {
    min-height: calc(100vh - 100px);
}

section {
    padding: 4rem 0;
}

section.hero {
    padding: 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Left-align collection section headers */
.services {
    background: white;
}

.collection-section h2,


h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   Hero Section with Slider
   =========================== */
.hero .mid {
    text-align: center;
}

.hero {
    width: 100%;
    height: calc(100vh - var(--header-height, 70px));
    overflow: hidden;
    position: relative;
    background-color: #f4f4f4;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    right: 0;
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 2rem;
}

.offer {
    margin: 1rem auto;
    padding: 0.5rem 1.5rem;
    background-color: #f5576c;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50px;
    display: inline-block;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    padding: 1rem 2.5rem;
    background-color: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

/* Dot Indicators */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* ===========================
   About Section
   =========================== */

.about {
    background-color: white;
}

.about h2,
.about p {
    text-align: left;
}

/* ===========================
   Services Section
   =========================== */

.services {
    background-color: white
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Collection Section (Deals)
   =========================== */

.collection-section {
    background-color: white;
    padding: 4rem 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.collection-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background-color: #f0f0f0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover .card-image {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #f5576c;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white;
}

.brand-name {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
}

.deal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.coupon-code {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: bold;
    margin: 0 0 1rem 0;
    font-family: 'Courier New', monospace;
}

.card-button {
    padding: 0.8rem 1.5rem;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.card-button:hover {
    background-color: #764ba2;
    transform: translateX(2px);
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    background-color: white;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="email"],
textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

button {
    padding: 0.75rem 2rem;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #764ba2;
}

/* ===========================
   Footer
   =========================== */

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .logo img{
        height: 30px !important;
    }

    .modal-fix {
        display: flex;
        flex-direction: column !important;
        height: 80vh;

        max-width: 70vw;
    }

    .modal-fix img {
        max-height: 100px;
        width: auto;
        object-fit: cover;
        align-self: center;
        transform: translateX( 1rem);
        border-radius: 64px !important;
        overflow: hidden;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Slider Mobile Styles */
    .hero {
        height: calc(100vh - var(--header-height, 70px));
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slide-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 1rem;
    }

    .slider-btn.next {
        right: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .slider-dots {
        bottom: 1rem;
        gap: 0.75rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: left;
        transition: 0.3s;
        gap: 0;
        padding: 2rem;
        z-index: 99;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-weight: bold;
    }

    .nav-links a:hover {
        border-bottom-color: transparent;
    }

    .drawer-overlay.active {
        display: block;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Collection Cards Mobile Styles */
    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .card-image-wrapper {
        height: 150px;
    }

    .card-content {
        padding: 1rem;
    }

    .discount-badge {
        font-size: 0.8rem;
        padding: 6px 10px;
        top: 8px;
        right: 8px;
    }

    .deal-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .brand-name {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .coupon-code {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .card-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}


/* translation */

body.ar .ar {
    display: block;
}

body.ar .en {
    display: none;
}

body.en .en {
    display: block;
}

body.en .ar {
    display: none;
}

body.ar {
    direction: rtl;
}

body.en {
    direction: ltr;
}

.ar {
    text-align: right;
}