/* MonacScape - Modern Sushi Delivery Website Styles */

/* CSS Custom Properties */
:root {
    /* Colors - Japanese-inspired with UK professional touch */
    --primary-color: 15 78% 50%; /* #D23F2A - Sushi red */
    --primary-dark: 15 78% 40%; /* #A83220 */
    --primary-light: 15 78% 90%; /* #F9E8E6 */
    
    --secondary-color: 210 25% 15%; /* #1F2937 - Deep blue-grey */
    --secondary-light: 210 25% 25%; /* #374151 */
    
    --accent-color: 45 100% 50%; /* #FFB800 - Golden accent */
    --accent-light: 45 100% 95%; /* #FFFBF0 */
    
    --success-color: 142 71% 45%; /* #22C55E */
    --warning-color: 38 92% 50%; /* #F59E0B */
    --error-color: 0 84% 60%; /* #EF4444 */
    
    /* Neutrals */
    --background: 210 11% 98%; /* #F8FAFC */
    --surface: 0 0% 100%; /* #FFFFFF */
    --surface-dark: 210 11% 96%; /* #F1F5F9 */
    
    --text-primary: 210 24% 16%; /* #1E293B */
    --text-secondary: 210 16% 46%; /* #64748B */
    --text-light: 210 14% 83%; /* #CBD5E1 */
    
    --border-color: 210 16% 93%; /* #E2E8F0 */
    --border-dark: 210 16% 83%; /* #CBD5E1 */
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: hsl(var(--text-primary));
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-secondary));
}

a {
    color: hsl(var(--primary-color));
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: hsl(var(--primary-dark));
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    display: block;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
}

.btn-primary {
    background-color: hsl(var(--primary-color));
    color: white;
    border-color: hsl(var(--primary-color));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    color: white;
}

.btn-secondary {
    background-color: hsl(var(--secondary-color));
    color: white;
    border-color: hsl(var(--secondary-color));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary-light));
    border-color: hsl(var(--secondary-light));
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color));
}

.btn-outline:hover {
    background-color: hsl(var(--primary-color));
    color: white;
}

/* Header & Navigation */
.header {
    background-color: hsl(var(--surface));
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    padding: var(--space-md) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: hsl(var(--text-primary));
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary-color));
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: hsl(var(--primary-color));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    padding: var(--space-2xl);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 2px solid hsl(var(--primary-color));
    position: relative;
}

.service-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--primary-color));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
}

.service-card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: var(--space-md);
}

.service-features {
    list-style: none;
    margin: var(--space-lg) 0;
    text-align: left;
}

.service-features li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--success-color));
    font-weight: bold;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--primary-color));
    margin-top: var(--space-lg);
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-sm);
}

/* Goals Content */
.goals-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.goal-item {
    text-align: center;
    padding: var(--space-lg);
}

.goal-item h3 {
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-md);
}

/* Success Grid */
.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.success-card {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-left: 4px solid hsl(var(--primary-color));
}

.success-card h3 {
    font-size: 2rem;
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-sm);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Contact */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
}

.contact-item {
    text-align: left;
}

.contact-item strong {
    color: hsl(var(--primary-color));
    display: block;
    margin-bottom: var(--space-sm);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: hsl(var(--text-primary));
}

input, select, textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid hsl(var(--border-color));
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-color));
    box-shadow: 0 0 0 3px hsla(var(--primary-color), 0.1);
}

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

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid hsl(var(--border-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color));
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-form-container {
    background: hsl(var(--surface));
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info-card,
.hours-card,
.social-card {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    text-align: left;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid hsl(var(--border-color));
}

.social-links-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.social-link {
    display: block;
    padding: var(--space-md);
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: hsl(var(--surface-dark));
    border-color: hsl(var(--primary-color));
}

.social-link span {
    font-weight: 600;
    color: hsl(var(--text-primary));
    display: block;
    margin-bottom: var(--space-xs);
}

.social-link p {
    margin: 0;
    font-size: 0.875rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.faq-item {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid hsl(var(--primary-color));
}

.faq-item h3 {
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-md);
}

/* About Page Specific */
.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.story-visual {
    text-align: center;
}

.story-icon {
    width: 200px;
    height: 200px;
    opacity: 0.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.value-card {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
}

.team-departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

.department {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.department-stats {
    display: flex;
    gap: var(--space-xl);
    margin: var(--space-lg) 0;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary-color));
}

.stat .label {
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: hsl(var(--primary-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .content {
    text-align: right;
}

.year {
    background: hsl(var(--primary-color));
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 700;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.content {
    flex: 1;
    padding: 0 var(--space-2xl);
}

.content h3 {
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-sm);
}

.sustainability-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.sustainability-list {
    list-style: none;
    margin: var(--space-lg) 0;
}

.sustainability-list li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-xl);
}

.sustainability-list li::before {
    content: '🌱';
    position: absolute;
    left: 0;
}

.sustainability-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Services Page Specific */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.delivery-card {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.city-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.city-list li {
    padding: var(--space-xs);
    background: hsl(var(--surface-dark));
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.875rem;
}

.delivery-option {
    padding: var(--space-md) 0;
    border-bottom: 1px solid hsl(var(--border-color));
}

.delivery-option:last-child {
    border-bottom: none;
}

.delivery-option strong {
    color: hsl(var(--text-primary));
    display: block;
    margin-bottom: var(--space-xs);
}

.special-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.special-service {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid hsl(var(--primary-color));
}

.special-service ul {
    list-style: none;
    margin: var(--space-lg) 0;
}

.special-service li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.special-service li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: hsl(var(--primary-color));
    font-weight: bold;
}

.guarantee-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.guarantee-point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.guarantee-point h4 {
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-sm);
}

.order-cta {
    background: linear-gradient(135deg, hsl(var(--primary-color)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Thanks Page */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    color: hsl(var(--success-color));
}

.thanks-content h1 {
    color: hsl(var(--success-color));
    margin-bottom: var(--space-lg);
}

.thanks-details,
.additional-info,
.emergency-contact {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-xl) 0;
}

.thanks-details ul {
    text-align: left;
    max-width: 500px;
    margin: var(--space-lg) auto;
}

.thanks-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin: var(--space-xl) 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.info-card {
    text-align: center;
    padding: var(--space-lg);
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--radius-lg);
}

.info-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.contact-method {
    text-align: center;
    padding: var(--space-lg);
    background: hsl(var(--surface-dark));
    border-radius: var(--radius-md);
}

/* Legal Pages */
.legal-page {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: hsl(var(--primary-color));
    margin-bottom: var(--space-lg);
    text-align: center;
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: hsl(var(--text-secondary));
    margin-bottom: var(--space-2xl);
}

.legal-section {
    margin-bottom: var(--space-2xl);
}

.legal-section h2 {
    color: hsl(var(--primary-color));
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid hsl(var(--border-color));
}

.legal-section h3 {
    color: hsl(var(--text-primary));
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-section ul,
.legal-section ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.legal-section li {
    margin-bottom: var(--space-sm);
}

.contact-details {
    background: hsl(var(--surface-dark));
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

/* Cookie Table */
.cookie-table {
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: hsl(var(--surface));
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cookie-table th,
.cookie-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid hsl(var(--border-color));
}

.cookie-table th {
    background: hsl(var(--surface-dark));
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.cookie-management {
    text-align: center;
    margin: var(--space-xl) 0;
}

/* Cookie Banner & Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: hsl(var(--surface));
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    border-top: 3px solid hsl(var(--primary-color));
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg);
    gap: var(--space-lg);
}

.cookie-text h3 {
    color: hsl(var(--text-primary));
    margin-bottom: var(--space-sm);
}

.cookie-text p {
    margin: 0;
    color: hsl(var(--text-secondary));
}

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.modal-content {
    background: hsl(var(--surface));
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid hsl(var(--border-color));
}

.modal-header h2 {
    margin: 0;
    color: hsl(var(--text-primary));
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: hsl(var(--text-secondary));
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.close-btn:hover {
    background: hsl(var(--surface-dark));
    color: hsl(var(--text-primary));
}

.modal-body {
    padding: var(--space-lg);
}

.cookie-category {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid hsl(var(--border-color));
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.slider {
    width: 50px;
    height: 24px;
    background: hsl(var(--border-color));
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cookie-toggle input:checked + .slider {
    background: hsl(var(--primary-color));
}

.cookie-toggle input:checked + .slider::before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.label-text {
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid hsl(var(--border-color));
    text-align: center;
}

/* Footer */
.footer {
    background: hsl(var(--secondary-color));
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: hsl(var(--surface));
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Layout */
    .container {
        padding: 0 var(--space-md);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    /* Hero */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .story-icon {
        width: 150px;
        height: 150px;
    }
    
    .sustainability-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-item .content {
        text-align: left !important;
    }
    
    .year {
        position: absolute;
        left: 0;
        min-width: 60px;
        font-size: 0.875rem;
        padding: var(--space-sm);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    .city-list {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: var(--space-md);
        font-size: 0.875rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .modal,
    .footer {
        display: none !important;
    }
    
    .page-header {
        padding-top: var(--space-lg);
    }
    
    .legal-page {
        padding-top: var(--space-lg);
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .legal-section {
        page-break-inside: avoid;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid hsl(var(--primary-color));
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 3px hsla(var(--primary-color), 0.3);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: 0 0% 0%;
        --border-dark: 0 0% 0%;
        --text-secondary: 0 0% 0%;
    }
}
