/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-red: #c00a27;
    --primary-black: #121212;
    --secondary-black: #1a1a1a;
    --accent-white: #ffffff;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-gray: #666;
    --card-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--accent-white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section - Redesigned */
header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    margin-left: 12px;
    object-fit: contain;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-left: 10px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-black);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-red);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    color: var(--secondary-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: block;
}

nav ul li a:hover {
    color: var(--primary-red);
    background-color: rgba(192, 10, 39, 0.05);
}

nav ul li a.active, 
nav ul li a:active {
    background-color: var(--primary-red);
    color: white;
}

/* Remove old underline effect */
nav ul li a::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 60px 0 120px;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.6;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(192, 10, 39, 0.05);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.shape-2 {
    bottom: 15%;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-delay: -5s;
}

.shape-3 {
    top: 50%;
    right: 15%;
    width: 150px;
    height: 150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    display: flex;
    flex-direction: row; /* Force standard flex direction */
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    min-height: 500px;
    direction: rtl; /* Force RTL direction specifically for this container */
}

.hero-text {
    flex: 1;
    text-align: right;
    z-index: 2;
    /* Ensure no order is overriding, or force order if needed. 
       In RTL: Start is Right. Flex item 1 is Right. Flex item 2 is Left.
       If direction is rtl, default order is fine. */
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.hero-text h1 span {
    color: var(--primary-red);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
}

.featured-image-container {
    flex: 1;
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Simplify for debugging */
    overflow: visible;
}

.featured-image-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4/3; /* Ensure it has dimensions */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0; /* Fallback color */
    /* Removed complex 3D transforms for stability */
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Ensure no inline weirdness */
}

.featured-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #000;
}

.desktop-nav {
    display: block;
}

.mobile-menu-btn {
    display: none;
}

@media (min-width: 993px) {
    .desktop-nav { display: block; }
    .mobile-menu-btn { display: none; }
    .mobile-nav { right: -300px; }
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.mobile-nav-links a {
    padding: 12px 8px;
    border-radius: 8px;
}
.mobile-nav-links a.active {
    color: var(--primary-red);
}

.featured-image-card:hover .featured-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        135deg, 
        rgba(192, 10, 39, 0.1) 0%, 
        rgba(18, 18, 18, 0.2) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.featured-image-card:hover .image-overlay {
    opacity: 1;
}

.image-shine {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.featured-image-card:hover .image-shine {
    transform: translateX(100%);
}

/* Enhanced Vertical Cards Slider Section (Swiper Adaptation) */
.vertical-slider-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.mySwiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 600px; /* Ensure container has height */
}

.mySwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px;
    height: 520px;
    /* Ensure slides are visible */
    opacity: 1; 
    display: flex; /* Ensure content stretches */
    justify-content: center;
}

.mySwiper .swiper-wrapper {
    align-items: center; /* Center slides vertically */
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--accent-white);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-title h2 span {
    color: var(--primary-red);
}

.section-title p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Swiper specific overrides for the hero section */
.heroSwiper .swiper-slide {
    width: 100% !important; /* Full width for hero slides */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Swiper Navigation */
.heroSwiper .swiper-pagination {
    bottom: 30px !important;
}

.heroSwiper .swiper-pagination-bullet {
    background: var(--primary-red);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.vertical-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3);
}

.vertical-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(192, 10, 39, 0.3);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    transition: var(--transition);
    filter: brightness(0.9);
}

.vertical-card:hover .card-image {
    filter: brightness(0.7);
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 20%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    opacity: 0.5;
    transition: var(--transition);
}

.vertical-card:hover .card-overlay {
    opacity: 0.85;
}

.card-initial-btn {
    display: none;
}

.card-initial-btn:hover {
    transform: translateX(50%) translateY(-3px);
    box-shadow: 0 12px 25px rgba(192, 10, 39, 0.5);
    background: linear-gradient(45deg, #a00920, var(--primary-red));
}

.vertical-card:hover .card-initial-btn {
    display: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 25px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    transform: translateY(calc(100% - 80px)); /* Show a small part */
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.vertical-card:hover .card-content {
    transform: translateY(0);
    opacity: 1;
}

.card-title {
    font-size: 1.8rem;
    color: var(--accent-white);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
}

.vertical-card:not(:hover) .card-title {
    transform: translateY(20px);
    font-size: 1.5rem;
}

.card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.card-price {
    font-size: 2.2rem;
    color: var(--primary-red);
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.card-currency {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
    max-height: 120px;
    overflow-y: auto;
    padding-left: 5px;
}

.card-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    position: relative;
    padding-right: 22px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.card-features li:before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1rem;
}

.card-hover-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--primary-black), var(--secondary-black));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-hover-btn:hover {
    background: linear-gradient(45deg, var(--primary-red), #a00920);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(192, 10, 39, 0.4);
    border-color: rgba(192, 10, 39, 0.3);
}

/* Services Section - Redesigned for better contrast */
.services-section {
    padding: 120px 0;
    background-color: #121212; /* Dark background */
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: #222; /* Lighter dark card */
    border-radius: 20px;
    padding: 50px 35px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    background-color: #2a2a2a;
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(192, 10, 39, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: #ff3355; /* Brighter red/pink for better visibility on dark */
    margin-bottom: 25px;
    transition: var(--transition);
    text-shadow: 0 0 25px rgba(255, 51, 85, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #ff1f4b;
    text-shadow: 0 0 30px rgba(255, 31, 75, 0.4);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #ffffff; /* Pure white text */
    font-weight: 700;
}

.service-card p {
    color: #e0e0e0; /* Very light gray for better readability */
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Add a subtle glow effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 51, 85, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-black), #0a0a0a);
    padding: 70px 0 35px;
    color: var(--accent-white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-white);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary-red);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-heading {
    font-size: 1.4rem;
    color: var(--accent-white);
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55px;
    height: 3px;
    background-color: var(--primary-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(-4px);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.copyright {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Form Section */
.form-section {
    padding: 120px 0;
    background-color: var(--accent-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--accent-white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(192, 10, 39, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-black));
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary-black);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-black);
    font-weight: 700;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 18px 22px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(192, 10, 39, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    pointer-events: none;
}

select.form-control {
    appearance: none;
    padding-left: 45px;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(45deg, var(--primary-red), #a00920);
    color: var(--accent-white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(192, 10, 39, 0.3);
}

/* Footer Description */
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 30px; /* Center align if footer text is centered */
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-black);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Navigation Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1003;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.close-mobile-nav {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-black);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary-red);
    padding-right: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        min-height: auto;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .featured-image-container {
        height: 350px;
        order: -1; /* Show image first on mobile */
    }
}

/* Shopping Cart Styles */
.cart-float {
    position: fixed;
    bottom: 25px;
    right: 25px; /* Opposite to WhatsApp */
    background: linear-gradient(45deg, var(--primary-black), #2a2a2a);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
}

.cart-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(192, 10, 39, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-red);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}

/* Cart Sidebar */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    left: 0; /* Arabic RTL support, opens from left */
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 1002;
    transform: translateX(-100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0,0,0,0.2);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    background: var(--primary-black);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--primary-red);
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.remove-item {
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    margin-right: auto; /* Push to left */
}

.remove-item:hover {
    color: var(--primary-red);
}

.cart-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: #a00920;
}

.checkout-form {
    display: none; /* Hidden by default */
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
}

.checkout-form.active {
    display: block;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
    }
}

    .featured-image-container {
        height: 400px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-content {
        text-align: center;
        justify-items: center;
    }
@media (max-width: 768px) {
    .featured-image-container {
        height: 400px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-content {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .featured-image-container {
        height: 300px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
