/* Base reset and design tokens */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Blue Jeans Inspired */
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --light-blue: #93c5fd;
    --cream: #f8fafc;
    --dark-gray: #1e293b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --black: #000000;
    --text-shadow: #000000;
    --text-dark: #0f172a;
    --text-light: #475569;
    --text-slide: #fff;

    /* Typography */
    --font-english: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Cairo', Arial, sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 60px;

    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark theme colors */
:root[data-theme="dark"] {
    --text-slide: #fff;
    --primary-color: #60a5fa;
    --secondary-color: #ffffff;
    --accent-color: #d5d5d5;
    --light-blue: #1e3a8a;
    --cream: #1e293b;
    --white: #0f172a;
    --black: #ffffff;
    --text-shadow: #ffffff;
    --light-gray: #334155;
    --dark-gray: #e2e8f0;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Dark theme navbar specific styles */
:root[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--primary-color);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a {
    outline: none !important; 
    outline-offset: 0px !important;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.navbar {
    transition: transform 0.3s ease;
}

.form-group.focused label {
    top: -8px !important;
    left: 10px !important;
    font-size: 0.9rem !important;
    color: var(--primary-color) !important;
    font-weight: 500 !important;
}

.brand-accordion-item {
    transition: all 0.3s ease;
}

.brand-accordion-item:hover {
    transform: translateY(-2px);
}

.brand-content {
    transition: max-height 0.3s ease;
}

.brand-arrow {
    transition: transform 0.3s ease;
}

.callout-box,
.contact-item,
.stat-highlight {
    transition: all 0.3s ease;
}

#about, #brands {
    padding-bottom: 0 !important;
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .nav-container.mobile-menu-active .nav-left,
    .nav-container.mobile-menu-active .nav-right {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-medium);
        padding: 20px;
        gap: 20px;
    }

    .nav-container.mobile-menu-active .nav-left {
        border-bottom: 1px solid var(--light-gray);
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-content,
    .brand-accordion-item,
    .callout-box,
    .contact-item,
    .stat-highlight,
    .navbar {
        transition: none;
    }
}