:root {
    --primary-bg: #FAFBFC;
    --secondary-bg: #F8FAFC;
    --accent-primary: #6366F1;
    --accent-secondary: #8B5CF6;
    --accent-tertiary: #06B6D4;
    --accent-warm: #F59E0B;
    --accent-success: #10B981;
    --accent-danger: #EF4444;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);
    --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

body {
    font-family: 'Inter', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.6;
    font-size: 16px;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Source Sans Pro', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.navbar-brand:hover h1 {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.search-form .form-control {
    border-radius: 12px 0 0 12px;
    border: 2px solid var(--border-light);
    border-right: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.search-form .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.search-form .btn {
    border-radius: 0 12px 12px 0;
    border: 2px solid var(--accent-primary);
    border-left: none;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.search-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

.nav-link {
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    padding: 0.5rem 0.25rem;
    position: relative;
    border-radius: 6px;
    margin: 0 0.125rem;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

.btn-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--accent-secondary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

/* Navigation Styles */
.navbar-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav .nav-item {
    flex: 1;
    text-align: center;
}

.navbar-nav .nav-link {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cart Button Styles */
.snipcart-checkout {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.snipcart-checkout:hover {
    color: var(--accent-secondary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.snipcart-items-count {
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(99, 102, 241, 0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(139, 92, 246, 0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
    opacity: 0.5;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-heading {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent-primary);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 25px;
    transform: translateX(2px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.footer-divider {
    border-color: var(--border-light);
    margin: 2rem 0;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumb-item a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-muted);
    font-weight: 500;
}

.badge {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

/* Contact Page Styles */
.contact-info i {
    color: var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

.contact-info .d-flex:hover i {
    transform: scale(1.1);
    color: var(--accent-secondary);
}

.contact-form .form-control {
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.contact-form .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 12px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
}

.opening-hours-section .card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.opening-hours-section .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Card Styles */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-img-top {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Modern Button Styles */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-outline-primary {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.carousel-item:hover img {
    filter: brightness(1);
}

.carousel-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 90%;
    text-align: center;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.newsletter-section .container {
    position: relative;
    z-index: 2;
}

/* Form Styles */
.form-control {
    border-radius: 12px;
    border: 2px solid var(--border-light);
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    user-select: text;
    cursor: text;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.95);
    outline: none;
}

.form-control:hover {
    border-color: var(--accent-primary);
}

/* Contact Form Specific Styles */
#contactForm {
    pointer-events: auto;
}

#contactForm .form-control {
    pointer-events: auto;
    user-select: text;
    cursor: text;
    background: white;
    border: 2px solid var(--border-light);
}

#contactForm .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
    outline: none;
}

#contactForm .form-select {
    pointer-events: auto;
    cursor: pointer;
    background: white;
    border: 2px solid var(--border-light);
}

#contactForm .form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
    outline: none;
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#contactForm button {
    pointer-events: auto;
    cursor: pointer;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    /* Mobile Header - Ultra Compact */
    header .row {
        padding: 0.25rem 0 !important;
    }
    
    .navbar-brand h1 {
        font-size: 1rem;
        margin: 0;
    }
    
    .search-form {
        margin-top: 0.5rem;
    }
    
    .search-form .form-control {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .search-form .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .snipcart-checkout {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .snipcart-items-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        min-width: 16px;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        flex: none;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
        min-height: 28px;
    }
    
    .carousel-caption {
        padding: 1rem;
        bottom: 1rem;
        width: 95%;
        max-width: 500px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .newsletter-section h2 {
        font-size: 1.5rem;
    }
    
    .navbar-brand h1 {
        font-size: 0.9rem;
    }
    
    /* Ultra compact header for small screens */
    header .row {
        padding: 0.125rem 0 !important;
    }
    
    .search-form .form-control {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .search-form .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .snipcart-checkout {
        padding: 0.25rem 0.375rem;
        font-size: 0.75rem;
    }
    
    .snipcart-items-count {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
        min-width: 14px;
    }
    
    .carousel-caption {
        padding: 0.75rem;
        bottom: 0.5rem;
        width: 98%;
        max-width: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 1.25rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
        min-height: 28px;
    }
    
    .snipcart-checkout {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
    }
    
    .snipcart-items-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        min-width: 18px;
    }
}

/* Extra small screens - Ultra compact */
@media (max-width: 480px) {
    header .row {
        padding: 0.1rem 0 !important;
    }
    
    .navbar-brand h1 {
        font-size: 0.8rem;
    }
    
    .search-form .form-control {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .search-form .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .snipcart-checkout {
        padding: 0.2rem 0.3rem;
        font-size: 0.7rem;
    }
    
    .snipcart-items-count {
        width: 12px;
        height: 12px;
        font-size: 0.5rem;
        min-width: 12px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.25rem 0.375rem;
        font-size: 0.75rem;
        min-height: 24px;
    }
}

/* Additional Modern Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Focus States */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Smooth Transitions */
* {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force form elements to be interactive */
input, textarea, select, button {
    pointer-events: auto !important;
    user-select: text !important;
}

input:focus, textarea:focus, select:focus {
    pointer-events: auto !important;
    user-select: text !important;
    outline: none !important;
}

/* Contact form specific overrides */
.contact-info .form-control,
.contact-info .form-select,
.contact-info textarea {
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text !important;
    background: white !important;
    border: 2px solid var(--border-light) !important;
}

.contact-info .form-select {
    cursor: pointer !important;
}

.contact-info button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Force contact form to be interactive */
#contactForm {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
}

#contactForm * {
    pointer-events: auto !important;
    user-select: text !important;
    position: relative !important;
    z-index: 1000 !important;
}

#contactForm input,
#contactForm textarea,
#contactForm select {
    background: white !important;
    border: 2px solid #ddd !important;
    cursor: text !important;
    pointer-events: auto !important;
    user-select: text !important;
    position: relative !important;
    z-index: 1001 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

#contactForm select {
    cursor: pointer !important;
}

#contactForm button {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* Remove any overlay that might block the form */
.card {
    position: relative !important;
    z-index: 1 !important;
}

.card-body {
    position: relative !important;
    z-index: 2 !important;
}
