/* Central Computers - Modern CSS
   Optimized for Computer Retail SEO & Performance
   ============================================== */

/* CSS Custom Properties */
:root {
    --primary: #088A4B;
    --primary-dark: #06532a;
    --primary-light: #3ca55c;
    --secondary: #1a1a2e;
    --secondary-light: #2d2d44;
    --accent: #ff6b35;
    --accent-dark: #e55a2b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #f1f5f9;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Links & Images */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================
   Alert Banner
   ===================== */
.alert-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 0.75rem 1rem;
}

.alert-banner a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-banner a:hover {
    color: var(--accent);
}

.alert-badge {
    background: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.arrow-icon {
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.alert-banner a:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* =====================
   Header
   ===================== */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Top Bar */
.header-top {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.header-links a {
    color: var(--text-light);
    font-weight: 500;
}

.header-links a:hover {
    color: var(--primary);
}

.hiring-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
}

.hiring-badge:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white !important;
    transform: scale(1.02);
}

/* Header Main */
.header-main {
    padding: 1rem 0;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    height: 48px;
    width: auto;
}

/* Store Locator Badge */
.store-locator-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
}

.store-locator-badge:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.store-locator-badge svg {
    color: var(--primary);
}

.store-locator-badge:hover svg {
    color: white;
}

/* Search Form */
.search-form {
    flex: 1;
    max-width: 550px;
}

.search-wrapper {
    display: flex;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(39, 116, 210, 0.15);
}

.search-category-select {
    border: none;
    border-right: 2px solid var(--border);
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    font-size: 0.875rem;
    background: var(--bg);
    outline: none;
    font-family: inherit;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    min-width: 140px;
    max-width: 180px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
}

.search-category-select:hover {
    background-color: var(--bg-alt);
}

.search-category-select:focus {
    background-color: var(--bg-alt);
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    background: transparent;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text);
    position: relative;
}

.header-action:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.header-action-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0.25rem;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================
   Navigation
   ===================== */
.nav {
    background: var(--secondary);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-item > a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.sale > a {
    background: var(--accent);
    font-weight: 700;
}

.nav-item.sale > a:hover {
    background: var(--accent-dark);
}

/* =====================
   Hero Section
   ===================== */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.trust-badge svg {
    color: var(--success);
}

/* =====================
   Hero Carousel
   ===================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
}

.carousel-track {
    position: relative;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
    padding: 4rem 0;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.carousel-slide .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.carousel-slide .hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.carousel-slide .hero-title span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-slide .hero-text {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.carousel-slide .hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-badge-red {
    background: var(--accent);
}

/* Image-only slides */
.carousel-slide-image {
    padding: 0;
    background: var(--secondary);
}

.carousel-slide-image::before {
    display: none;
}

.carousel-image-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.carousel-slide-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.carousel-arrow-prev {
    left: 1.5rem;
}

.carousel-arrow-next {
    right: 1.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.carousel-indicator.active {
    background: white;
    width: 32px;
    border-radius: var(--radius-full);
}

/* =====================
   Buttons
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-slow);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--text);
    border-color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* =====================
   Promotions Section
   ===================== */
.promotions {
    padding: 2rem 0;
    background: var(--bg);
}

.promo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.promo-card {
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    transition: var(--transition-slow);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-large {
    grid-row: span 1;
}

/* =====================
   Deals Section
   ===================== */
.deals {
    padding: 2rem 0;
    background: var(--bg-alt);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.deal-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 2px solid var(--border);
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.deal-content {
    text-align: center;
    width: 100%;
}

.deal-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.deal-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.deal-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.deal-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 0.5rem;
}

.deal-bonus {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.deal-green {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border-color: #00cc00;
}

.deal-green .deal-brand,
.deal-green h3,
.deal-green .deal-price {
    color: white;
}

.deal-orange {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: var(--accent);
}

.deal-orange .deal-brand,
.deal-orange h3,
.deal-orange .deal-price {
    color: white;
}

/* =====================
   Section Headers
   ===================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* =====================
   Categories Section
   ===================== */
.categories {
    padding: 4rem 0;
    background: var(--bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background: white;
    padding: 1.75rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 2px solid transparent;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.category-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.category-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* =====================
   Services Section
   ===================== */
.services {
    padding: 4rem 0;
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* =====================
   Locations Section
   ===================== */
.locations {
    padding: 4rem 0;
    background: var(--bg);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.location-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 2px solid transparent;
    overflow: hidden;
}

.location-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.location-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.location-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.location-card address {
    font-style: normal;
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.location-hours {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.locations-cta {
    text-align: center;
}

/* =====================
   Why Us Section
   ===================== */
.why-us {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
}

.why-us .section-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =====================
   Newsletter Section
   ===================== */
.newsletter {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form .btn {
    background: var(--secondary);
    border-color: var(--secondary);
}

.newsletter-form .btn:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
}

/* =====================
   Footer
   ===================== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Carousel responsive */
    .carousel-slide .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .carousel-slide .hero-buttons {
        justify-content: center;
    }
    
    .carousel-slide .hero-trust-badges {
        justify-content: center;
    }
    
    .carousel-slide .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .promo-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-main-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo {
        order: 1;
    }
    
    .header-actions {
        order: 2;
    }
    
    .store-locator-badge {
        display: none;
    }
    
    .search-form {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    
    .nav-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    /* Carousel responsive - tablet */
    .carousel-track {
        min-height: 400px;
    }
    
    .carousel-slide {
        padding: 3rem 0;
    }
    
    .carousel-slide .hero-title {
        font-size: 1.75rem;
    }
    
    .carousel-image-link,
    .carousel-slide-image img {
        min-height: 400px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow-prev {
        left: 1rem;
    }
    
    .carousel-arrow-next {
        right: 1rem;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-large {
        grid-column: span 1;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Carousel responsive - mobile */
    .carousel-track {
        min-height: 350px;
    }
    
    .carousel-slide {
        padding: 2rem 0;
    }
    
    .carousel-slide .hero-buttons {
        flex-direction: column;
    }
    
    .carousel-image-link,
    .carousel-slide-image img {
        min-height: 350px;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    
    .carousel-arrow-prev {
        left: 0.5rem;
    }
    
    .carousel-arrow-next {
        right: 0.5rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 24px;
    }
}

/* =====================
   Store Selector
   ===================== */
.store-selector {
    position: relative;
}

.store-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.store-selector-btn:hover {
    border-color: var(--primary);
    background: white;
}

.store-selector-btn svg:first-child {
    color: var(--primary);
}

.store-selector-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.store-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.store-name .store-status-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.store-name .store-status-icon.closing-soon svg {
    color: var(--warning);
}

.store-name .store-status-icon.closed svg {
    color: var(--error);
}

.chevron-icon {
    transition: transform 0.2s;
    color: var(--text-muted);
}

.store-selector-btn[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.store-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.store-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.store-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.store-dropdown-header strong {
    font-size: 0.9rem;
}

.view-all-stores {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.store-list {
    list-style: none;
    max-height: 350px;
    overflow-y: auto;
}

.store-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: left;
}

.store-option:hover {
    background: var(--bg-alt);
}

.store-option.selected {
    background: rgba(39, 116, 210, 0.08);
}

.store-option img {
    width: 50px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.store-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.store-option-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.store-option-address {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.store-option-hours {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.2s ease;
}

.store-option:hover .store-option-hours,
.store-option:focus .store-option-hours {
    opacity: 1;
    max-height: 1.5rem;
}

.store-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.store-status.open {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.store-status.closing-soon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.store-status.closed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* =====================
   Mega Menu
   ===================== */
.has-megamenu > a {
    position: relative;
}

.nav-chevron {
    transition: transform 0.2s;
    margin-left: 0.25rem;
}

.has-megamenu:hover .nav-chevron {
    transform: rotate(180deg);
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.megamenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr) 280px;
    gap: 1.5rem;
    padding: 2rem;
}

.megamenu-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.megamenu-column h4 a:hover {
    color: var(--primary);
}

.megamenu-column ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.megamenu-column ul li {
    margin-bottom: 0.35rem;
}

.megamenu-column ul a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.megamenu-column ul a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.megamenu-column ul a.highlight {
    color: var(--accent);
    font-weight: 600;
}

.megamenu-featured {
    background: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.megamenu-promo {
    display: block;
    height: 100%;
}

.megamenu-promo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.promo-label {
    display: block;
    padding: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    background: white;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .megamenu-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .megamenu-featured {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .store-selector {
        display: none;
    }
    
    .megamenu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        padding-top: 60px;
    }
    
    .megamenu-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .megamenu-featured {
        grid-column: span 1;
    }
    
    .has-megamenu > a {
        justify-content: space-between;
    }
}

/* =====================
   Print Styles
   ===================== */
@media print {
    .alert-banner,
    .header,
    .nav,
    .newsletter,
    .footer,
    .store-selector,
    .megamenu {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    a {
        text-decoration: underline;
    }
}
