/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Minimal Light Gray Theme */
    --bg-primary: rgb(251, 251, 251);
    --bg-secondary: rgb(255, 255, 255);
    --bg-tertiary: rgb(255, 255, 255);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Page-specific accent colors */
    --color-stores: #ea580c;
    --color-models: #c026d3;
    --color-manufacturers: rgb(251, 251, 251);
    --color-accent: rgb(251, 251, 251);
    --color-highlight: #d946ef;
    
    /* Shadows & Effects */
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Container - for dynamically loaded headers */
#header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 80px;
    background: white;
    display: block;
}

/* Loading state - prevents content jump */
#header-container:empty {
    min-height: 80px;
    background: white;
    display: block;
}

/* Smooth transition when header loads */
#header-container {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header Styles */
.header {
    background-color: #ffd601 !important;
    background: #ffd601 !important;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0.75rem 1rem 1rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    padding: 0.3125rem 2rem;
    gap: 2rem;
    position: relative;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
    padding-left: 2rem;
    position: relative;
    z-index: 10;
}

/* Google-style automatic sway animation */
.google-text-hover {
    display: inline-block;
    animation: gentleSway 3s ease-in-out infinite;
}

.google-text-hover:hover {
    animation: gentleSway 1.5s ease-in-out infinite;
}

@keyframes gentleSway {
    0%, 100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

.nav-brand .logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-brand .logo a {
    text-decoration: none;
}

.nav-brand .tagline {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 0.875rem;
    white-space: nowrap;
    position: relative;
    border-bottom: 3px solid transparent;
}

/* Navigation item renk bantları */
.nav-item:hover {
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    border-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.nav-item.active {
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    border-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Sekme özel renk bantları temizlendi - sadece active state'de renk */

/* Aktif sekme için her sayfa farklı renk */
.nav-item[href="home.html"].active {
    border-bottom-color: #06b6d4 !important; /* Cyan - Home aktif */
}

.nav-item[href="stores-list.html"].active {
    border-bottom-color: #ea580c !important; /* Koyu turuncu - Stores aktif */
}

/* Hover durumu için hafif ton */
.nav-item[href="home.html"]:hover:not(.active) {
    border-bottom-color: rgba(6, 182, 212, 0.8); /* Hafif cyan */
}

.nav-item[href="stores-list.html"]:hover:not(.active) {
    border-bottom-color: rgba(253, 186, 116, 0.8); /* Hafif turuncu */
}

/* Nav-action özel stilleri */
.nav-item.nav-action {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    /* Alt renk bantını nav-action için devre dışı bırak */
}

.nav-item.nav-action:before {
    display: none; /* Alt renk bantını gizle */
}

/* Contact butonu - Canlı Mavi Gradyan */
.nav-item.nav-action:first-child {
    border: 2px solid #0ea5e9;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

/* Navigation animation effects removed */

.nav-item.nav-action:first-child:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: 2px solid #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.nav-item.nav-action:first-child:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* Suggest butonu - Canlı Yeşil Gradyan */
.nav-item.nav-action:last-child {
    border: 2px solid #10b981;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

/* Navigation animation effects removed */

.nav-item.nav-action:last-child:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border: 2px solid #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.nav-item.nav-action:last-child:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.nav-item i {
    font-size: var(--font-size-sm);
}

.nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-item.disabled:hover {
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    border-color: transparent;
}

.btn-explore.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-tertiary) !important;
    color: var(--text-muted) !important;
}

.btn-explore.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
    padding-left: 2rem;
}

/* Hero Section */
.hero {
    padding: 1.5rem 0;
    background: var(--bg-primary);
}

/* Home Hero Background */
.home-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2d3748;
    min-height: 100px;
    padding: 2rem 0;
}

.home-hero .hero-description {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.search-section {
    margin-bottom: 1.25rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--font-size-lg);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* Popular Searches */
.popular-searches {
    text-align: center;
    margin-top: 1rem;
}

.popular-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.popular-tags {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.popular-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(125, 211, 252, 0.1);
    color: #0891b2;
    border-radius: 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(125, 211, 252, 0.2);
}

.popular-tags .tag:hover {
    background: rgba(125, 211, 252, 0.2);
    transform: translateY(-1px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.5;
}

/* Typing Animation */
#typed-text {
    display: inline-block;
    text-shadow: none;
}

#typed-text::after {
    content: '|';
    display: inline-block;
    color: #4285f4;
    margin-left: 5px;
    animation: blink 0.7s infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Categories Section */
.categories {
    padding: 0 0 2rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 280px;
    height: 320px;
    max-width: 280px;
    max-height: 320px;
}

.category-card.stores {
    background: rgb(251, 251, 251);
    border: 2px solid #FDBA74;
}

.category-card.models {
    background: rgb(251, 251, 251);
    border: 2px solid #D946EF;
}

.category-card.manufacturers {
    background: rgb(251, 251, 251);
    border: 2px solid #86EFAC;
}

.category-card.collection {
    background: rgb(251, 251, 251);
    border: 2px solid #7DD3FC;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
}

.stores .card-icon {
    color: #FF4500;
}

.models .card-icon {
    color: #c026d3;
}

.manufacturers .card-icon {
    color: #16a34a;
}

.collection .card-icon {
    color: #0891b2;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.card-features {
    margin: 1rem 0;
    text-align: left;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.feature-item i {
    width: 16px;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Retail Stores Card Icons - Orange Theme */
.category-card.stores .feature-item i.fa-circle-dot {
    color: #10b981; /* Green for online status */
}

.category-card.stores .feature-item i.fa-external-link-alt {
    color: #f59e0b; /* Amber for links */
}

.category-card.stores .feature-item i.fa-file-text {
    color: #FF4500; /* Orange for descriptions */
}

/* Diecast Brands Card Icons - Purple Theme */
.category-card.models .feature-item i.fa-history {
    color: #8b5cf6; /* Purple for history */
}

.category-card.models .feature-item i.fa-star {
    color: #f59e0b; /* Gold for quality/star */
}

.category-card.models .feature-item i.fa-fire {
    color: #ef4444; /* Red/orange for hot/popular */
}

/* Maps Card Icons - Green Theme */
.category-card.manufacturers .feature-item i.fa-map-pin {
    color: #06b6d4; /* Cyan for locations */
}

.category-card.manufacturers .feature-item i.fa-store {
    color: #10b981; /* Green for stores */
}

.category-card.manufacturers .feature-item i.fa-route {
    color: #8b5cf6; /* Purple for navigation */
}

/* Hover effects for icons */
.category-card:hover .feature-item i {
    transform: scale(1.1);
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 1rem 0 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    position: relative;
    z-index: 10;
}

.card-stats {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    text-align: left;
    display: flex;
    align-items: center;
}

.stats-number {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-right: 0.25rem;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    margin: 0;
}

.btn-explore.stores {
    background: #FDBA74;
    color: white;
}

.btn-explore.stores:hover {
    background: #fb923c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 186, 116, 0.3);
}

.btn-explore.models {
    background: #D946EF;
    color: white;
}

.btn-explore.models:hover {
    background: #c026d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.3);
}

.btn-explore.manufacturers {
    background: #86EFAC;
    color: white;
}

.btn-explore.manufacturers:hover {
    background: #4ade80;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 239, 172, 0.3);
}

.btn-explore.collection {
    background: #7DD3FC;
    color: white;
}

.btn-explore.collection:hover {
    background: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-explore:hover i {
    transform: translateX(4px);
}

/* Statistics Section */
.statistics {
    padding: 2rem 0;
    background-color: var(--bg-primary);
}

.statistics .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.stats-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stat-icon {
    font-size: 1.6rem;
}

.stat-item:nth-child(1) .stat-icon {
    color: #ea580c; /* Turuncu - Stores */
}

.stat-item:nth-child(2) .stat-icon {
    color: #c026d3; /* Pembe - Brands */
}

.stat-item:nth-child(3) .stat-icon {
    color: #16a34a; /* Yeşil - Countries */
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.stat-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Featured Section */
.featured {
    padding: 4rem 0;
}

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-models), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

.featured-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-item {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-tertiary);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.featured-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-accent);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: white;
    transition: var(--transition);
    padding: 1rem;
}

.featured-item:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-highlight);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.featured-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.featured-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.featured-meta span {
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

.featured-meta .rare {
    background: rgba(217, 70, 239, 0.1);
    color: var(--color-models);
    border: 1px solid var(--color-models);
}

.featured-meta .common {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.featured-meta .premium {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.btn-view-details {
    background: var(--color-accent);
    color: var(--bg-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.btn-view-details:hover {
    background: rgba(233, 218, 24, 0.9);
    transform: translateY(-1px);
}

.btn-view-details i {
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #6b7280;
    font-style: italic;
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.footer-brand .social-links {
    margin-top: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: #666666 !important;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    color: #333333 !important;
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #666666 !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #333333 !important;
}

.footer-bottom {
    border-top: 1px solid var(--bg-tertiary);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Suggest Store - Hidden by default */
.mobile-suggest-store {
    display: none;
}

/* Desktop Only - Hidden on mobile */
.desktop-only {
    display: flex;
}

/* Hide mobile menu close button on desktop */
.menu-close-btn {
    display: none;
}

/* Mobile Search Button - Hidden by default */
.mobile-search-btn {
    display: none;
}

/* Mobile Search Overlay - Hidden by default */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-search-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-search-container {
    background: white;
    width: 100%;
    padding: 1rem;
    position: relative;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-search-overlay.active .mobile-search-container {
    transform: translateY(0);
}

.mobile-search-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-search-close:hover {
    color: #D73535;
}

.mobile-search-content {
    padding: 1rem;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-filter-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.mobile-filter-group input,
.mobile-filter-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    background: white;
}

.mobile-filter-group input:focus,
.mobile-filter-group select:focus {
    border-color: #D73535;
}

.mobile-clear-all {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #D73535;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mobile-clear-all:hover {
    background: #c72d2d;
}

.mobile-clear-all i {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    /* 480px ve altı için column layout */
    .header .container {
        flex-direction: column !important;
    }
}

@media (min-width: 481px) and (max-width: 800px) {
    /* 481px - 800px arası için ROW layout */
    .header .container {
        flex-direction: row !important;
    }
}

@media (max-width: 1024px) {
    /* Mobile/Tablet Genel Ayarlar */

    /* Search button default (480px ve altında absolute olacak) */
    .mobile-search-btn {
        display: flex !important;
        cursor: pointer !important;
        background: none !important;
        border: none !important;
        font-size: 1.25rem !important;
        color: #333 !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-search-btn:hover {
        color: #D73535 !important;
    }

    /* Hamburger default */
    .hamburger-menu {
        display: flex !important;
        cursor: pointer !important;
    }
}

/* 480px ve altında absolute pozisyon */
@media (max-width: 480px) {
    .mobile-search-btn {
        position: absolute !important;
        left: 1rem !important;
        top: 1rem !important;
        z-index: 10001 !important;
    }

    .hamburger-menu {
        position: absolute !important;
        right: 1rem !important;
        top: 1rem !important;
        z-index: 10001 !important;
    }

    /* Hide hamburger when menu is active */
    .hamburger-menu.active {
        display: none !important;
    }

    /* Header adjustments */
    .header {
        position: sticky !important;
        top: 0 !important;
        overflow: visible !important;
        z-index: 100 !important;
        background: white !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }

    .header .container {
        position: relative;
        padding: 1rem;
        overflow: visible !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-brand {
        text-align: center;
        margin-bottom: 0;
    }

    /* Hide desktop navigation and actions */
    .nav-menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 100%;
        left: 0 !important;
        right: 0;
        transform: none !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 1rem;
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex !important;
        background: white !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        z-index: 999999 !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 1rem !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .menu-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        transition: all 0.2s;
        border-radius: 4px;
    }

    .menu-close-btn:hover {
        background: #f0f0f0;
        color: #000;
    }

    .nav-menu .nav-item {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .nav-menu .nav-item:hover {
        background: #f5f5f5;
    }

    .nav-menu .nav-item:hover {
        background-color: var(--bg-secondary);
    }

    .desktop-only {
        display: none !important;
    }

    /* Show mobile suggest store */
    .mobile-suggest-store {
        display: block;
    }
}

/* Tablet Portrait - 481px to 1024px (Search + Logo + Hamburger yan yana) */
@media (min-width: 481px) and (max-width: 1024px) {
    .header {
        margin: 0.5rem;
    }

    .header .container {
        flex-direction: row !important;
        padding: 1rem !important;
        gap: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Search button - ABSOLUTE KALDIR, FLEX ITEM YAP */
    .mobile-search-btn {
        display: flex !important;
        position: static !important; /* absolute kaldır */
        left: auto !important;
        top: auto !important;
        order: 1 !important; /* En solda */
        flex-shrink: 0 !important;
    }

    /* Logo - Ortada */
    .nav-brand {
        flex: 1 !important; /* Ortada kalmak için esnek genişlik */
        max-width: none !important;
        text-align: center !important;
        margin-bottom: 0 !important;
        order: 2 !important; /* Ortada */
    }

    .logo {
        font-size: 0.9rem !important;
        gap: 0.2rem !important;
    }

    .tagline {
        font-size: 0.65rem !important;
    }

    /* Hamburger - ABSOLUTE KALDIR, FLEX ITEM YAP */
    .hamburger-menu {
        display: flex !important;
        position: static !important; /* absolute kaldır */
        right: auto !important;
        top: auto !important;
        order: 3 !important; /* En sağda */
        flex-shrink: 0 !important;
    }

    /* TABLET'TE SUGGEST STORE KUTUSUNU GİZLE */
    .mobile-suggest-store {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* Keep hamburger menu hidden - don't override 800px settings */
    /* .nav-menu styles are handled by 800px breakpoint */

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .header {
        margin: 0.25rem;
    }

    .header .container {
        padding: 1rem;
        gap: 1rem;
    }

    .nav-brand {
        margin-bottom: 0.75rem;
        /* max-width kaldırıldı - 768px'i ezmesin */
    }

    .logo {
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        white-space: nowrap;
        overflow: hidden;
    }

    .logo img {
        width: 24px;
        height: 24px;
    }

    .tagline {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }
}

/* Medium Mobile - 375px-425px (Logo hamburger çakışması düzeltmesi) */
@media (max-width: 425px) {
    .logo {
        font-size: 0.9rem !important;
        gap: 0.2rem;
    }

    .tagline {
        font-size: 0.65rem;
    }

    .nav-brand {
        max-width: calc(100% - 100px); /* Search + Hamburger için daha fazla alan */
    }
}

/* Extra small screens - 320px */
@media (max-width: 360px) {
    .nav-brand {
        max-width: calc(100% - 50px);
    }

    .logo {
        font-size: 0.9rem !important;
        gap: 0.2rem;
    }

    .tagline {
        font-size: 0.65rem;
    }

    .nav-menu {
        gap: 0.75rem;
        margin-top: 0;
        left: 0 !important;
        transform: none !important;
    }

    .nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-width: 90px;
    }

    .nav-item img {
        width: 16px;
        height: 16px;
    }

    .container {
        padding: 0 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card,
    .featured-item {
        padding: 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .hero {
        padding: 2rem 0;
    }

    .categories,
    .featured {
        padding: 2rem 0;
    }
    
    .floating-banner {
        right: 1rem;
        left: 1rem;
        top: auto;
        bottom: 1rem;
        transform: none;
        max-height: 80px;
        max-width: none;
        overflow: hidden;
        animation: slideInFromBottom 0.8s ease-out, mobilePulse 4s ease-in-out infinite;
    }
    
    .banner-content {
        font-size: 0.7rem;
        padding: 0.5rem;
        line-height: 1.2;
    }
    
    .banner-item i {
        font-size: 1rem;
    }
}

/* Floating Side Banner */
.floating-banner {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.2);
    z-index: 1000;
    max-width: 300px;
    overflow: hidden;
    animation: slideInFromRight 0.8s ease-out, subtlePulse 4s ease-in-out infinite;
}

.banner-content {
    padding: 1rem;
    position: relative;
    min-height: 60px;
}

.banner-item {
    display: none;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.banner-item.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.banner-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.banner-item[data-item="0"] i {
    color: #f59e0b; /* Lightbulb - amber */
}

.banner-item[data-item="1"] i {
    color: #10b981; /* Bolt - green */
}

.banner-item[data-item="2"] i {
    color: #ef4444; /* Fire - red */
}

.banner-item[data-item="3"] i {
    color: #8b5cf6; /* Plus - purple */
}

.banner-text {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.banner-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.banner-controls {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.banner-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.banner-close:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.floating-banner.slide-out {
    animation: slideOutToRight 0.3s ease-in forwards;
}

@keyframes slideOutToRight {
    to {
        transform: translateX(100%) translateY(-50%);
        opacity: 0;
    }
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(125, 211, 252, 0.1);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(125, 211, 252, 0.2);
        transform: translateY(-50%) scale(1.02);
    }
}

@keyframes mobilePulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 15px rgba(125, 211, 252, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(125, 211, 252, 0.2);
        transform: scale(1.02);
    }
}


@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Featured Stores Banner */
/* Featured Store Strip - Simple Version */
.featured-strip {
    background: linear-gradient(135deg, rgb(233,218,24) 0%, rgb(243,228,34) 50%, rgb(233,218,24) 100%);
    border-bottom: 1px solid rgb(203,188,14);
    border-top: 1px solid rgb(243,228,34);
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.featured-strip .container {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
}

.featured-store-item {
    display: none;
    color: #2d1810;
    white-space: nowrap;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-store-item.active {
    display: block;
    opacity: 1;
}

.featured-store-item .store-logo {
    background: #3b82f6;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid #1e40af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
    opacity: 1;
    z-index: 10;
}

.featured-store-item .store-name {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-store-item .store-name:hover {
    text-decoration: underline;
}





.store-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.featured-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.store-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.visit-store-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: 1px solid rgba(125, 211, 252, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.visit-store-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.visit-store-btn i {
    font-size: 0.75rem;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Featured Stores Banner Responsive */
@media (max-width: 768px) {
    .featured-stores-banner {
        padding: 0.75rem 0;
    }
    
    .featured-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .store-info {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .logo-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .store-name {
        font-size: 1rem;
    }
    
    .store-tagline {
        font-size: 0.8rem;
    }
    
    .visit-store-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Rotating Logo Banner */
.logo-banner,
section.logo-banner,
.main-content .logo-banner {
    padding: 1.5rem 0;
    margin-top: 0;
    background: #fbfbfb !important;
    background-color: #fbfbfb !important;
    overflow: hidden;
    position: relative;
}

.banner-container {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 0rem;
    animation: scroll-left 240s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 0.75rem;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-banner {
        padding: 1rem 0;
    }

    .logo-track {
        animation: scroll-left 360s linear infinite;
    }

    .logo-item {
        width: 120px;
        height: 60px;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-item {
        width: 100px;
        height: 50px;
        padding: 0.5rem;
    }
}

/* Featured Stores Grid */
.featured-stores {
    padding: 0.5rem 0;
    background: #ffffff;
    margin: 0.5rem 0;
}

.section-title {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    text-align: center;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

.store-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    justify-content: space-between;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(0deg, 
        #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, 
        #ffeaa7, #fd79a8, #fdcb6e, #6c5ce7,
        #ff6b6b, #4ecdc4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    opacity: 1;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Gradient borders will be handled by ::before pseudo-element on hover */

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.store-logo {
    width: 60px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.card-header h3 {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin: 0;
}



.store-description {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    flex-grow: 1;
}

.store-meta {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    margin-top: auto;
}

.country-indicator {
    font-size: 1rem;
    display: inline-block;
    text-align: center;
}

/* Country indicators - clean flags only */

.visit-btn {
    background: linear-gradient(135deg, var(--color-stores), #dc2626);
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--font-size-xs);
}

.visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .featured-stores {
        padding: 0.3rem 0;
        margin: 0.3rem 0;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        max-width: 300px;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .carousel-card {
        padding: 1rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .store-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .visit-btn {
        padding: 0.5rem 1.5rem;
        font-size: var(--font-size-sm);
    }
}

/* Form Notification Styles (Global for all pages) */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.notification-content i {
    font-size: 1rem;
}

.notification-content button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.notification-content button:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===============================
   CONTACT MODAL STYLES
   =============================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #7DD3FC 0%, #0EA5E9 100%);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #0EA5E9;
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-secondary);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Modal Animations - Using CSS transitions instead of keyframes */

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================ */
/* LOGIN DROPDOWN (Template - Not Active Yet) */
/* ================================================ */

/* Login Badge - Compact */
.login-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 0.75rem;
    font-size: 0.875rem;
}

.login-badge:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.login-badge i.fa-user {
    color: #6b7280;
    font-size: 0.875rem;
}

.login-text {
    color: #374151;
    font-weight: 500;
}

.dropdown-arrow-login {
    color: #9ca3af;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.login-badge:hover .dropdown-arrow-login {
    transform: rotate(180deg);
}

/* Login Dropdown Menu */
.login-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 160px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.login-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.15s;
}

.login-dropdown .dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.login-dropdown .dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.login-dropdown .dropdown-item:hover {
    background: #f3f4f6;
}

.login-dropdown .dropdown-item i {
    color: #6b7280;
    font-size: 0.875rem;
    width: 16px;
}

.login-dropdown .dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.25rem 0;
}

/* ================================================ */
/* MOBILE BOTTOM SHEET FOR FILTERS */
/* ================================================ */

/* Mobile Filter Button */
.mobile-filter-btn {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, #4285f4, #1967d2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
    cursor: pointer;
    gap: 0.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-filter-btn:active {
    transform: scale(0.95);
}

.mobile-filter-btn .filter-badge {
    background: #ea4335;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Bottom Sheet Container */
.bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bottom-sheet.active {
    pointer-events: auto;
}

/* Backdrop */
.bottom-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-sheet.active .bottom-sheet-backdrop {
    opacity: 1;
}

/* Bottom Sheet Content */
.bottom-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.bottom-sheet.active .bottom-sheet-content {
    transform: translateY(0);
}

/* Handle Bar */
.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 12px auto 8px;
    cursor: grab;
}

.bottom-sheet-handle:active {
    cursor: grabbing;
}

/* Header */
.bottom-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.bottom-sheet-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.bottom-sheet-close {
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.bottom-sheet-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Body */
.bottom-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Filter Group */
.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.mobile-filter-input,
.mobile-filter-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    color: #1f2937;
    background: white;
    transition: all 0.2s ease;
}

.mobile-filter-input:focus,
.mobile-filter-select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.mobile-filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
    cursor: pointer;
}

/* Footer */
.bottom-sheet-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.btn-clear-filters,
.btn-apply-filters {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-clear-filters {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.btn-clear-filters:active {
    background: #f3f4f6;
}

.btn-apply-filters {
    background: linear-gradient(135deg, #4285f4, #1967d2);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.btn-apply-filters:active {
    transform: scale(0.98);
}

/* Mobile Only */
@media (max-width: 768px) {
    .mobile-filter-btn {
        display: flex !important;
    }

    /* Hide desktop filters on mobile */
    .filters-grid-inline {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-filter-btn {
        display: none !important;
    }

    .bottom-sheet {
        display: none !important;
    }
}

/* Bounce Letters Card - Suggest Store */
.card-bounce-header {
    background-color: #ffd601;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: 2px solid #ffd601;
    cursor: pointer;
    transition: all 0.5s ease;
}

.card-bounce-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.bounce-title-header {
    font-family: 'Arial Rounded MT Bold', 'Comic Sans MS', sans-serif;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bounce-title-header .word-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
}

.bounce-title-header span {
    display: inline-block;
    color: #000;
    animation: bounceLoop 4.625s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.bounce-title-header .highlight {
    color: #D73535;
}

.bounce-title-header .icon-header {
    display: inline-block;
    font-size: 0.9rem;
    color: #D73535;
    margin-right: 0.25rem;
    animation: bounceLoop 4.625s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    animation-delay: 0s;
}

.bounce-title-header .tagline-header {
    display: block;
    font-size: 0.7rem;
    color: #000;
    font-style: italic;
    margin-top: 0.15rem;
    opacity: 1;
    font-weight: 500;
}

/* Animation delays for header */
.bounce-title-header span:nth-child(2) { animation-delay: 0.0625s; }
.bounce-title-header span:nth-child(3) { animation-delay: 0.125s; }
.bounce-title-header span:nth-child(4) { animation-delay: 0.1875s; }
.bounce-title-header span:nth-child(5) { animation-delay: 0.25s; }
.bounce-title-header span:nth-child(6) { animation-delay: 0.3125s; }
.bounce-title-header span:nth-child(7) { animation-delay: 0.375s; }
.bounce-title-header span:nth-child(8) { animation-delay: 0.4375s; }
.bounce-title-header span:nth-child(10) { animation-delay: 0.5s; }
.bounce-title-header span:nth-child(11) { animation-delay: 0.5625s; }
.bounce-title-header span:nth-child(12) { animation-delay: 0.625s; }
.bounce-title-header span:nth-child(13) { animation-delay: 0.6875s; }
.bounce-title-header span:nth-child(14) { animation-delay: 0.75s; }

@keyframes bounceInHeader {
    0% { transform: translateY(-200px) scale(0.5); opacity: 0; }
    60% { transform: translateY(10px) scale(1.05); }
    80% { transform: translateY(-5px) scale(0.98); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes bounceLoop {
    0% { transform: translateY(-200px) scale(0.5); opacity: 0; }
    16% { transform: translateY(10px) scale(1.05); }
    22% { transform: translateY(-5px) scale(0.98); }
    27%, 100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fadeInHeader {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-bounce-header:hover .bounce-title-header span,
.card-bounce-header:hover .icon-header {
    animation: bounceHeader 0.4s ease;
}

@keyframes bounceHeader {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes bounceSequence {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
}

/* Mobile version */
.card-bounce-mobile {
    background-color: #ffd601;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: 2px solid #ffd601;
    margin: 0 1rem 1rem 1rem;
    cursor: pointer;
}

.bounce-title-mobile {
    font-family: 'Arial Rounded MT Bold', 'Comic Sans MS', sans-serif;
    font-size: 1rem;
    color: #333;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bounce-title-mobile .word-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
}

.bounce-title-mobile span {
    display: inline-block;
    animation: bounceInHeader 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.bounce-title-mobile .highlight {
    color: #D73535;
}

.bounce-title-mobile .icon-mobile {
    display: inline-block;
    font-size: 1rem;
    color: #D73535;
    margin-right: 0.3rem;
    animation: bounceInHeader 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
    animation-delay: 0s;
}

.bounce-title-mobile .tagline-mobile {
    display: block;
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
    margin-top: 0.25rem;
    animation: fadeInHeader 1s ease 0.8s both;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   MISSION-STYLE HEADING - Matches "Our Mission" design
   ═══════════════════════════════════════════════════════════════ */
.mission-heading {
    background: #ffd601;
    border: 2px solid #D73535;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #D73535;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    display: inline-block;
}

.mission-heading-block {
    background: #ffd601;
    border: 2px solid #D73535;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #D73535;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    display: block;
    text-align: center;
}
