/* ============================================
   متجر هيما ستور - ملف الأنماط
   ============================================ */

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-hover: #c73e54;
    --gold: #f5a623;
    --light: #f8f9fa;
    --dark: #0f0f1a;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--light);
    color: var(--primary);
    overflow-x: hidden;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ===== Top Accent Bar ===== */


/* ===== Announcement Bar ===== */
.announcement-bar {
    background: var(--accent);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.5s ease;
}

.announcement-bar i {
    margin: 0 8px;
}

/* ===== Header - Modern Responsive ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    border-bottom-color: rgba(0,0,0,0.08);
}

.header.scrolled .header-top {
    padding: 10px 5%;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transform: rotate(-5deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.logo:hover .logo-icon {
    transform: rotate(0deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.logo-text {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-text span {
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Search Box ===== */
.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background: var(--light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.search-box button {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.1);
}

/* ===== Header Actions ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--light);
    color: var(--accent);
    transform: translateY(-2px);
}

.action-btn .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* ===== Navigation - Modern Responsive ===== */
.nav-bar {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.nav-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), #ff6b8a, var(--accent), transparent);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    position: relative;
    flex-shrink: 0;
}

.nav-links a {
    display: block;
    padding: 15px 25px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(13px, 1.5vw, 15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff6b8a);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px 3px 0 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}





/* ===== Header Actions ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.action-btn {
    position: relative;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
    border-color: transparent;
}

.action-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.4);
    border: 2px solid white;
}

/* ===== Hero Slider - Modern Responsive ===== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    background: var(--dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
    animation: kenBurns 8s ease forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.2s both;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 600px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-title span {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease 0.8s both;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-btn:hover::before {
    width: 400px;
    height: 400px;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.5);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(-5px);
}

/* ===== Hero Thumbnails - Modern ===== */
.hero-thumbs {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-thumb.active {
    border-color: var(--accent);
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
}

.hero-thumb:hover {
    transform: scale(1.1);
}

.hero-thumb:hover img {
    transform: scale(1.1);
}

.hero-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.hero-thumb.active::after,
.hero-thumb:hover::after {
    background: rgba(0,0,0,0);
}

/* ===== Slider Navigation Arrows ===== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    right: 30px;
}

.slider-arrow.next {
    left: 30px;
}

/* ===== Slider Dots ===== */
.slider-dots {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden on desktop */
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.product-badge.sale {
    background: var(--gold);
    color: var(--primary);
}

.product-badge.new {
    background: #28a745;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 10px;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--accent);
}

.product-old-price {
    font-size: 15px;
    color: var(--gray);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--gray);
}

.stars {
    color: var(--gold);
}

/* ===== Store Features ===== */
.features-section {
    background: var(--primary);
    padding: 60px 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: var(--white);
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ===== Brands ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.brand-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: var(--accent);
    font-weight: 900;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.brand-count {
    font-size: 13px;
    color: var(--gray);
    margin-top: 5px;
}

/* ===== Product Detail Page ===== */
.product-detail-page {
    display: none;
    padding: 30px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--light);
}

.product-detail-page.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--gray);
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    width: fit-content;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.gallery-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active {
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.gallery-thumb:hover {
    border-color: var(--accent);
    transform: scale(1.08);
}

.product-detail-info {
    padding: 10px 0;
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--primary);
    line-height: 1.3;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(255, 107, 138, 0.1));
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--gray);
}

.detail-rating .stars {
    color: var(--gold);
}

.detail-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.detail-price .old {
    font-size: 20px;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 500;
}

.detail-desc {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    border-right: 3px solid var(--accent);
}

.size-selector,
.color-selector,
.quantity-selector {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
}

.size-label {
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    font-size: 15px;
    color: var(--primary);
}

.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-option {
    width: 50px;
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    font-size: 14px;
}

.size-option:hover {
    border-color: var(--accent);
    background: rgba(233, 69, 96, 0.05);
    transform: translateY(-2px);
}

.size-option.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-option.active {
    border-color: var(--primary);
    transform: scale(1.25);
    box-shadow: 0 0 0 3px white, 0 0 0 5px var(--accent);
}

.color-option:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #e9ecef;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
}

.qty-btn:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    transform: scale(1.1);
}

.qty-input {
    width: 70px;
    height: 45px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    background: var(--white);
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    border: none;
    padding: 18px 35px;
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    width: 60px;
    height: 60px;
    border: 2px solid #e9ecef;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 14px;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.15);
}

/* ===== Cart Page ===== */
.cart-page {
    display: none;
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-page.active {
    display: block;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 13px;
    color: var(--gray);
}

.cart-item-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-qty button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.cart-item-qty span {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.summary-row.total {
    font-size: 22px;
    font-weight: 900;
    color: var(--accent);
    padding-top: 15px;
    border-top: 2px solid var(--light);
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* ===== Search Page ===== */
.search-page {
    display: none;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.search-page.active {
    display: block;
}

.search-header {
    margin-bottom: 40px;
}

.search-header h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.search-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #e9ecef;
    background: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip.active,
.filter-chip:hover {
    border-color: var(--accent);
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
}

/* ===== Contact Page ===== */
.contact-page {
    display: none;
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page.active {
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-item-info p {
    font-size: 14px;
    color: var(--gray);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== Newsletter ===== */
.newsletter-section {
    background: var(--secondary);
    padding: 60px 5%;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--accent);
}


/* ===== Agents Page ===== */
.agents-page {
    display: none;
    padding: 30px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--light);
}

.agents-page.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.agent-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233, 69, 96, 0.15);
}

.agent-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.agent-card:hover .agent-image img {
    transform: scale(1.08);
}

.agent-governorate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    z-index: 2;
}

.agent-governorate-badge i {
    font-size: 12px;
}

.agent-info {
    padding: 25px;
}

.agent-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

.agent-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.agent-detail-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(255, 107, 138, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
}

.agent-detail-content {
    flex: 1;
}

.agent-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agent-detail-content p {
    font-size: 14px;
    color: var(--primary);
    line-height: 1.6;
    margin: 0;
}

.agent-detail-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.agent-detail-content a:hover {
    color: var(--accent-hover);
}

.agent-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light);
}

.agent-social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.agent-social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.agent-social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.agent-social-link.facebook {
    background: linear-gradient(135deg, #1877F2, #0d5cb6);
}

.agent-social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.agent-social-link.phone {
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
}

/* ===== Responsive Agents ===== */
@media (max-width: 1024px) {
    .agents-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .agent-image {
        height: 180px;
    }
    .agent-info {
        padding: 20px;
    }
    .agent-name {
        font-size: 18px;
    }
    .agent-social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .agents-page {
        padding: 20px 4% 40px;
    }
    .agent-image {
        height: 160px;
    }
    .agent-governorate-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    .agent-detail-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }
    .agent-detail-content p {
        font-size: 13px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }
    .cart-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-gallery {
        position: relative;
        top: 0;
    }
    .main-image {
        height: 400px;
    }
    .product-detail-info h1 {
        font-size: 24px;
    }
    .detail-price {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, var(--accent), #ff6b8a);
        border: none;
        border-radius: 10px;
        color: white;
        font-size: 18px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
    }

    .search-box {
        display: none;
    }

    .nav-bar {
        display: none;
    }

    .header-top {
        padding: 10px 4%;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .logo-text {
        font-size: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .hero-section {
        height: 70vh;
        min-height: 450px;
        max-height: 550px;
    }
    .hero-title {
        font-size: clamp(22px, 6vw, 32px);
        max-width: 100%;
    }
    .hero-desc {
        font-size: 14px;
        max-width: 100%;
    }
    .hero-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    .hero-thumbs {
        display: none; /* Hide thumbs on mobile */
    }
    .slider-dots {
        display: flex; /* Show dots on mobile */
        bottom: 30px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .slider-arrow.prev {
        right: 15px;
    }
    .slider-arrow.next {
        left: 15px;
    }
    .slider-dots {
        bottom: 90px;
    }
    .section {
        padding: 50px 5%;
    }
    .section-title {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    .cart-item-price {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 65vh;
        min-height: 400px;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-desc {
        font-size: 13px;
        line-height: 1.6;
    }
    .hero-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    .hero-thumbs {
        display: none;
    }
    .slider-dots {
        display: flex;
        bottom: 25px;
        gap: 8px;
    }
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    .slider-dot.active {
        width: 24px;
    }
}

/* ============================================
   MOBILE SIDE MENU - CLEAN
   ============================================ */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: 2001;
    padding: 80px 0 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0,0,0,0.4);
}

.mobile-side-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.mobile-nav-links {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links a {
    display: block;
    padding: 14px 18px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}


/* ===== Form Validation ===== */
.required {
    color: var(--accent);
    font-weight: 700;
}

.validation-msg {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    transition: all 0.3s ease;
}

.validation-msg.error {
    color: #e74c3c;
}

.validation-msg.success {
    color: #27ae60;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-group input.success,
.form-group textarea.success,
.form-group select.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
}

.form-group input.validating,
.form-group textarea.validating,
.form-group select.validating {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%2327ae60' stroke-width='2' fill='none'/%3E%3Cpath d='M8 12l3 3 5-5' stroke='%2327ae60' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 20px;
    padding-left: 45px;
}

/* ===== Contact Map Card ===== */
.contact-map-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.contact-map-card h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-map-card h3 i {
    color: var(--accent);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

.map-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.map-info p {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.map-info p i {
    color: var(--accent);
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.map-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* ===== Footer Social Links Enhanced ===== */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent), #ff6b8a);
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
    border-color: transparent;
}

.social-link[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10;
}