/* Fonts */
@font-face {
    font-family: 'Norwester';
    src: url('fonts/norwester.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --color-primary: #2c3e50;
    --color-accent: #b2bcbb;
    --color-link: #3d537c;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e0e0e0;
    --color-infobox-border: #b2bcbb;
    --color-header-bg: #3d537b;
    --color-logo-bg: #a7b8d0;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Norwester', sans-serif;
    font-weight: normal;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    h2 {
        font-size: 2.25rem;
        margin-bottom: var(--spacing-lg);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Header */
.header {
    padding: var(--spacing-md) 0;
    background-color: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border);
}

.logo-wrapper {
    display: block;
    background-color: var(--color-logo-bg);
    text-align: center;
}

.logo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .logo {
        max-width: 350px;
    }
}

@media (min-width: 768px) {
    .logo {
        max-width: 550px;
    }
}

@media (min-width: 1024px) {
    .logo {
        max-width: 700px;
    }
}

/* About Section */
.about-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg);
}

.about-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .about-layout {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xl);
    }
}

.about-content {
    flex: 1;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .about-text {
        font-size: 1.5rem;
    }
}

.about-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--color-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ordering Section */
.ordering-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-alt);
}

.ordering-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .ordering-layout {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xl);
    }
}

.ordering-content {
    flex: 1;
}

@media (min-width: 768px) {
    .ordering-content {
        order: 2;
    }
}

.ordering-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

.ordering-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--color-shadow);
    display: none;
}

@media (min-width: 768px) {
    .ordering-image {
        display: block;
        order: 1;
    }
}

.ordering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.link {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.link:hover {
    border-bottom-color: var(--color-link);
}

.info-box {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    border-left: 4px solid var(--color-infobox-border);
    border-radius: 4px;
}

.info-box p {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--color-primary);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    background-color: var(--color-header-bg);
    color: var(--color-bg);
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    opacity: 0.9;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
