/* Modern Ice Cream Showcase Design System */
:root {
    /* Color Palette */
    --primary: #2c3e50;
    --accent: #4ECDC4;
    --accent-light: #a8e6cf;
    --accent-dark: #26A69A;
    --dark: #1a252f;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Ice Cream Colors */
    --tutti-color: #FF6B9D;
    --orman-color: #8E44AD;
    --limon-color: #F39C12;
    --visne-color: #E74C3C;
    
    /* Gray Scale */
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    
    /* Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--white);
    animation: loadingFadeIn 1s ease-out;
}

@keyframes loadingFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loading-logo {
    margin-bottom: var(--space-6);
}

.loading-logo-img {
    height: 80px;
    width: auto;
    animation: logoSpin 2s ease-in-out infinite;
}

@keyframes logoSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.loading-text h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-text p {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav-list a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--text-base);
    transition: var(--transition);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: var(--transition);
    border-radius: 1px;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
    left: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 50%, rgba(78, 205, 196, 0.1) 100%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--tutti-color), var(--accent));
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--orman-color), var(--accent-light));
    top: 60%;
    right: -3%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--limon-color), var(--visne-color));
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    33% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    66% {
        transform: translateY(10px) translateX(-5px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    width: 100%;
    padding: 0;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-2xl);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(78, 205, 196, 0);
    }
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    color: var(--primary);
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--tutti-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.btn {
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    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-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    background: rgba(78, 205, 196, 0.05);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-logo-container {
    position: relative;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(var(--shadow-xl));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-700);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-2xl);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    border: 1px solid var(--gray-300);
}

.section-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Catalog Section */
.catalog-section {
    padding: var(--space-16) 0;
    background: var(--white);
}

.catalog-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.catalog-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.catalog-item {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-200);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent);
}

.catalog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.catalog-item:hover .catalog-image img {
    transform: scale(1.1);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.catalog-item:hover .catalog-overlay {
    opacity: 1;
}

.catalog-view-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    transform: translateY(20px);
}

.catalog-item:hover .catalog-view-btn {
    transform: translateY(0);
}

.catalog-view-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.catalog-info {
    padding: var(--space-6);
}

.catalog-info h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.catalog-info p {
    color: var(--gray-600);
}

.catalog-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Flavors Section */
.flavors-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.flavors-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.flavors-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.flavor-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-200);
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.flavor-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-2xl);
}

.flavor-image {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flavor-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: var(--transition);
}

.tutti-gradient {
    background: linear-gradient(135deg, var(--tutti-color), var(--accent));
}

.orman-gradient {
    background: linear-gradient(135deg, var(--orman-color), var(--accent-light));
}

.limon-gradient {
    background: linear-gradient(135deg, var(--limon-color), var(--accent));
}

.visne-gradient {
    background: linear-gradient(135deg, var(--visne-color), var(--tutti-color));
}

.flavor-card:hover .flavor-gradient {
    opacity: 0.2;
}

.flavor-image img {
    height: 200px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-slow);
    animation: productFloat 4s ease-in-out infinite;
}

@keyframes productFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

.flavor-card:hover .flavor-image img {
    transform: scale(1.1) rotate(5deg);
}

.flavor-content {
    padding: var(--space-8);
}

.flavor-name {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--primary);
}

.flavor-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.flavor-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.feature-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: var(--transition);
}

.flavor-card:hover .feature-tag {
    background: var(--accent);
    color: var(--white);
}

/* Gallery Section */
.gallery-section {
    padding: var(--space-32) 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 3/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: var(--space-6);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--white);
}

.gallery-overlay p {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.company-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.company-logo {
    text-align: center;
    margin-bottom: var(--space-6);
}

.company-logo img {
    height: 60px;
    width: auto;
}

.company-name {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: var(--space-2);
}

.company-tagline {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    font-style: italic;
}

.contact-details {
    display: grid;
    gap: var(--space-6);
}

.contact-row {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-row:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--white);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-text .label {
    font-weight: 600;
    color: var(--primary);
    font-size: var(--text-sm);
}

.contact-text .value {
    color: var(--gray-600);
    font-size: var(--text-base);
}

.delivery-showcase {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.delivery-truck {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--space-6);
    animation: truckMove 8s ease-in-out infinite;
}

@keyframes truckMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.delivery-info h4 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.delivery-info p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.delivery-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.delivery-feature {
    background: var(--accent);
    color: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-12) 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.footer-logo {
    width: 120px;
    filter: brightness(1.2);
}

.footer-tagline {
    color: var(--gray-400);
    font-style: italic;
}

.footer-text {
    text-align: right;
    color: var(--gray-400);
    font-size: var(--text-sm);
}

.brand-highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
    overflow-y: auto;
    padding: 20px 0;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 2% auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    0% {
        transform: translateY(-50px) scale(0.9);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--text-xl);
    z-index: 10001;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-body {
    position: relative;
    overflow: auto;
    flex: 1;
}

#modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    object-fit: contain;
}

.modal-controls {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: rgba(0, 0, 0, 0.7);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-2xl);
    color: var(--white);
    z-index: 10001;
    width: auto;
    min-width: 250px;
    justify-content: center;
}

.modal-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn:hover {
    background: var(--accent-dark);
}

#page-indicator {
    font-weight: 600;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        aspect-ratio: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: var(--space-4);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 100;
    }
    
    .nav.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .nav-list a {
        display: block;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    /* Catalog grid is now flex container */
    .catalog-grid {
        display: flex;
        flex-direction: column;
    }
    
    .catalog-row {
        grid-template-columns: 1fr;
    }
    
    .flavors-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-controls {
        flex-wrap: wrap;
        justify-content: center;
        padding: var(--space-2) var(--space-4);
        gap: var(--space-2);
    }
    
    #page-indicator {
        width: 100%;
        text-align: center;
        margin-bottom: var(--space-2);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .catalog-actions {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

.company-map {
    margin-top: var(--space-8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.company-map iframe {
    display: block;
    width: 100%;
} 