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

:root {
    /* Colors */
    --primary-color: #2c5530;
    --primary-dark: #1e3a21;
    --primary-light: #3d6b42;
    --secondary-color: #8b6f47;
    --accent-color: #d4a574;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    overflow: hidden;
}

.hero::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 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-white);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(20px); }
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================
   Content Grid
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.content-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.content-card.large {
    grid-column: span 2;
}

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.content-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.content-card ul {
    margin-left: var(--spacing-md);
    margin-top: var(--spacing-sm);
    color: var(--text-light);
}

.content-card ul li {
    margin-bottom: var(--spacing-xs);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    margin-top: var(--spacing-lg);
    position: relative;
    padding: var(--spacing-md) 0;
}

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

.timeline-item {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

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

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

.timeline-year {
    flex: 0 0 150px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: var(--spacing-sm);
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--bg-white);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 0 var(--spacing-md);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   Team Grid
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.team-member {
    padding: var(--spacing-sm);
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.role {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.quote {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: var(--spacing-xs);
}

/* ============================================
   Recipe Lists
   ============================================ */
.recipe-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.recipe-item {
    padding: var(--spacing-sm);
    border-left: 3px solid var(--accent-color);
    background: var(--bg-light);
    border-radius: 5px;
}

.recipe-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.recipe-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.recipe-category h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.recipe-category ul {
    list-style: none;
    margin: 0;
}

.recipe-category ul li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.recipe-category ul li:last-child {
    border-bottom: none;
}

/* ============================================
   Links List
   ============================================ */
.links-list {
    list-style: none;
    margin: 0;
}

.links-list li {
    margin-bottom: var(--spacing-xs);
}

.links-list a {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    padding: var(--spacing-xs) 0;
    transition: var(--transition);
}

.links-list a:hover {
    color: var(--primary-dark);
    padding-left: var(--spacing-xs);
}

.links-list a::before {
    content: '→';
    margin-right: var(--spacing-xs);
    transition: var(--transition);
}

.links-list a:hover::before {
    margin-right: var(--spacing-sm);
}

/* ============================================
   Contact Info
   ============================================ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: 5px;
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact-item a {
    color: var(--text-light);
    display: block;
    margin-top: var(--spacing-xs);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ============================================
   Quote Text
   ============================================ */
.quote-text {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    padding: var(--spacing-md);
    border-left: 4px solid var(--accent-color);
    background: var(--bg-light);
    border-radius: 5px;
    margin: var(--spacing-md) 0;
}

.quote-text span {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-light);
}

/* ============================================
   Cert Badge
   ============================================ */
.cert-badge {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.cert-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.cert-link:hover {
    color: var(--accent-color);
    padding-left: var(--spacing-xs);
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: var(--spacing-xs);
}

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

.footer-nav a:hover {
    color: var(--accent-color);
    padding-left: var(--spacing-xs);
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-logo {
        max-height: 150px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .content-card.large {
        grid-column: span 1;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        flex: none;
        width: 40px;
    }
    
    .timeline-year::after {
        left: 20px;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-logo {
        max-height: 120px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
}

/* ============================================
   Smooth Scroll Offset
   ============================================ */
html {
    scroll-padding-top: 80px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .footer,
    .scroll-indicator,
    .btn {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

