/* CSS Variables */
:root {
    --primary-green: #2e7d32;
    --primary-dark: #1b5e20;
    --background: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --link-color: #2e7d32;
    --link-hover: #1b5e20;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Language Switcher */
.language-switcher {
    background: var(--primary-green);
    padding: 0.5rem 0;
    text-align: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    font-weight: 700;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.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;
}

/* Header Styles */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img-container {
    margin-right: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    margin: 0;
}

/* Navigation */
nav {
    position: relative;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: 1px solid var(--primary-green);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--primary-green);
    border-radius: 4px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button:hover {
    background: var(--primary-green);
    color: white;
}

.menu-icon::before {
    content: '≡';
    font-weight: bold;
    font-size: 1.2rem;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-menu a:hover,
.main-menu a.active {
    background: var(--primary-green);
    color: white;
}

/* Temporarily hide the Store link site-wide */
/* Hide any nav link whose href ends with store-main.html (handles ./store-main.html etc.) */
.main-menu a[href$="store-main.html"] {
    display: none !important;
}

.desktop-only {
    display: list-item;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Main Content */
main {
    min-height: 60vh;
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

/* Footer Styles */
footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Facebook Widget */
.fb-page {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-menu[aria-expanded="true"] {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-menu li {
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .desktop-only {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

/* Accessibility Styles */
.accessibility-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.accessibility-wrapper h1,
.accessibility-wrapper h2 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.accessibility-wrapper p {
    margin-bottom: 1rem;
}

.accessibility-wrapper ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.accessibility-wrapper a {
    color: var(--link-color);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.accessibility-wrapper a:hover {
    color: var(--link-hover);
}

.accessibility-wrapper .contact-block {
    margin-top: 1rem;
    margin-bottom: 2rem;
}
