/* Font Face Declarations */
@font-face {
    font-family: 'Inter';
    src: url('./Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DynaPuff';
    src: url('./DynaPuff-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #4A90E2;
    --secondary-blue: #357ABD;
    --accent-orange: #FF6B35;
    --accent-pink: #FF4081;
    --accent-purple: #9C27B0;
    --accent-green: #4CAF50;
    --accent-yellow: #FFC107;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'DynaPuff', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

/* Heading Styles */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
}

h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #fffacd, #f0e68c); /* Pale yellow base */
}

.gradient-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float 40s ease-in-out infinite;
}

.gradient-1 {
    background: linear-gradient(45deg, #ffd700, #ffc107); /* Saturated middle yellow gradient */
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.gradient-2 {
    background: linear-gradient(45deg, #00bfff, #0080ff); /* Bright blue gradient */
    top: 60%;
    right: -10%;
    animation-delay: -7s;
}

.gradient-3 {
    background: linear-gradient(45deg, #ff00ff, #ff1493); /* Bright magenta gradient */
    bottom: -10%;
    left: 20%;
    animation-delay: -14s;
}

.gradient-4 {
    background: linear-gradient(45deg, #8a2be2, #9370db); /* Bright purple gradient */
    top: 30%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes softShift {
    0%, 100% {
        background: linear-gradient(135deg, rgba(255, 182, 193, 0.9), rgba(255, 192, 203, 0.8), rgba(255, 218, 225, 0.9));
    }
    25% {
        background: linear-gradient(135deg, rgba(255, 192, 203, 0.9), rgba(255, 218, 225, 0.8), rgba(255, 182, 193, 0.9));
    }
    50% {
        background: linear-gradient(135deg, rgba(255, 218, 225, 0.9), rgba(255, 182, 193, 0.8), rgba(255, 192, 203, 0.9));
    }
    75% {
        background: linear-gradient(135deg, rgba(255, 192, 203, 0.9), rgba(255, 182, 193, 0.8), rgba(255, 218, 225, 0.9));
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    width: 200px;
    height: 200px;
    border-radius: 0;
    object-fit: contain;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 280px 0 var(--spacing-xxl);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-wrap: balance;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-wrap: balance;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-outline.clear-search {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Section Styles */
.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Map Section */
.map-section {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
}

.map-controls {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.controls-row {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

.radius-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.radius-control label {
    font-weight: 500;
    color: var(--dark-gray);
    white-space: nowrap;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 300px;
}

.search-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.search-btn:hover {
    background: var(--secondary-blue);
}

.filter-controls {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.filter-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.map-container {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

/* MapLibre GL Map Styles */
.maplibregl-map {
    border-radius: var(--radius-lg);
}

.maplibregl-popup {
    max-width: 300px;
}

.maplibregl-popup-content {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Custom Store Markers */
.store-marker {
    cursor: pointer;
    transform: translate(-50%, -100%);
}

.marker-pin {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.marker-pin:hover {
    transform: rotate(-45deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.marker-icon {
    transform: rotate(45deg);
    font-size: 18px;
    line-height: 34px;
    text-align: center;
    color: var(--white);
}

/* User Location Marker */
.user-location-marker {
    cursor: pointer;
    transform: translate(-50%, -100%);
    z-index: 1000;
    position: relative;
}

.user-marker-pin {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.user-marker-pin:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    background: var(--accent-yellow);
}

.user-marker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.user-marker-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    display: block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Store Distance */
.store-distance {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1rem;
    margin: 2px 0;
}

/* Map Controls */
.maplibregl-ctrl-group {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.maplibregl-ctrl-group button {
    background: transparent;
    border: none;
    color: var(--dark-gray);
    transition: var(--transition-fast);
}

.maplibregl-ctrl-group button:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}

/* Store Search Section */
.store-search-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.store-search-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.store-search-section .search-input {
    width: 100%;
    max-width: 500px;
    margin: 0 auto var(--spacing-lg) auto;
    display: block;
}

.store-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

#loadMoreBtn {
    display: block;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
}

.store-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.store-card[data-has-website] {
    cursor: pointer;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.store-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #cc0000, #cc6600, #cccc00, #66cc00, #00cc00, #00cc66, #00cccc, #0066cc, #0000cc, #6600cc, #cc00cc, #cc0066);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.store-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.store-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.store-card:hover .store-photo img {
    transform: scale(1.05);
}

.store-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}


.store-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
    text-wrap: balance;
}

.store-address {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    line-height: 1.3;
}

.store-address-line1 {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 2px;
}

.store-address-line2 {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.store-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: var(--spacing-xs);
}

.store-phone,
.store-website,
.store-maps {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 2px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-fast);
}

.store-phone:hover,
.store-website:hover,
.store-maps:hover {
    color: var(--secondary-blue);
    text-decoration: none;
    border-bottom-color: var(--primary-blue);
}

.store-maps {
    color: var(--accent-green);
}

.store-maps:hover {
    color: var(--accent-green);
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: var(--spacing-xxl) 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-section .section-title {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xl);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* Expandable content styling */
.intro-paragraph {
    margin-bottom: var(--spacing-md);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-bottom: var(--spacing-md);
}

.expandable-content.expanded {
    max-height: 1000px; /* Large enough to accommodate content */
    transition: max-height 0.3s ease-in;
}

.expand-button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-fast);
    margin: var(--spacing-sm) 0;
}

.expand-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.expand-icon {
    transition: transform var(--transition-fast);
    font-size: 0.8rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Submit Section */
.submit-section {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
}

.store-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Requirements section styling */
.requirements-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.requirements-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.requirements-subtitle {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.requirement-checkbox {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.4;
    user-select: none;
}

/* Turnstile styling */
.cf-turnstile {
    margin: var(--spacing-md) 0;
    display: flex;
    justify-content: center;
}

.cf-turnstile iframe {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.form-input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--dark-gray);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-text {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.footer-text a {
    color: var(--dark-gray);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.footer-text a:hover {
    color: var(--primary-blue);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
}

.footer-links a:hover {
    color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-lg);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--medium-gray);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--dark-gray);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(255, 182, 193, 0.9), rgba(255, 192, 203, 0.8), rgba(255, 218, 225, 0.9));
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        animation: softShift 8s ease-in-out infinite;
        border: 1px solid rgba(255, 182, 193, 0.3);
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        z-index: -1;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        color: var(--dark-gray);
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: 8px;
        transition: all var(--transition-fast);
    }
    
    .nav-link:hover {
        color: var(--primary-blue);
        background: rgba(255, 255, 255, 0.2);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 140px 0 var(--spacing-xxl);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .controls-row {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .radius-control {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        flex: 0 0 auto;
    }
    
    .filter-controls {
        justify-content: center;
        margin-top: 0;
        flex: 0 0 auto;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .map-container {
        height: 400px;
    }
    
    .store-list {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gradient-layer {
        animation: none;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}


.social-links {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-links a {
    font-size: 0.8rem;
    padding: 2px 6px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Store Details Modal */
.store-details {
    line-height: 1.6;
}

.store-details h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.social-link {
    display: inline-block;
    margin-right: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    padding: 4px 8px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0066CC;
        --secondary-blue: #004499;
        --medium-gray: #333333;
        --dark-gray: #000000;
    }
}

/* Store Popup Styles */
.store-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    border-radius: 12px 12px 0 0;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 24px;
}

.popup-body > div {
    margin-bottom: 16px;
    line-height: 1.6;
}

.popup-body > div:last-child {
    margin-bottom: 0;
}

.store-address {
    font-size: 1.1rem;
    color: #333;
}

.store-phone a,
.store-website a,
.store-maps a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
}

.store-phone a:hover,
.store-website a:hover,
.store-maps a:hover {
    text-decoration: underline;
}

.store-description {
    color: #666;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Marker hover effects */
.store-marker {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.store-marker:hover {
    transform: scale(1.1);
}

/* Marker popup styles */
.marker-popup {
    max-width: 250px;
    font-family: 'Inter', sans-serif;
}

.marker-popup h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.marker-popup p {
    margin: 4px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.marker-popup a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
}

.marker-popup a:hover {
    text-decoration: underline;
}

.popup-details-btn {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    transition: background-color 0.2s ease;
}

.popup-details-btn:hover {
    background: #357ABD;
}