/* CSS Variables for consistent theming */
:root {
    /* Primary Colors */
    --primary-color: #2A7F62;    /* Green - representing health, nature */
    --primary-dark: #1E6B52;
    --primary-light: #3A9A7A;
    
    /* Secondary Colors */
    --secondary-color: #F9A826;  /* Gold - representing quality, excellence */
    --secondary-dark: #D48A1F;
    --secondary-light: #FFC156;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E4E7EB;
    --dark-gray: #6B7280;
    --text-color: #1F2937;
    --black: #111827;
    
    /* Accent Colors */
    --accent-blue: #3B82F6;
    --accent-red: #EF4444;
    --accent-green: #10B981;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Spacing */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    
    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;
    
    /* 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-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1rem;
}

/* Dark mode variables (optional for future) */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #111827;
        --light-gray: #1F2937;
        --text-color: #F9FAFB;
        --black: #FFFFFF;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--text-color);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Sections */
section {
    padding: var(--space-16) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    font-size: var(--text-base);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--space-3) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--text-lg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-6);
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: var(--space-2) 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--space-16) * 2);
    padding-bottom: var(--space-16);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
    color: var(--text-color);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--dark-gray);
    margin-bottom: var(--space-8);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
}

/* Hero Image Styles for Tall Images */
.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust based on your image */
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.hero-main-image:hover {
    transform: scale(1.03);
}

/* Overlay for badges/text on image */
.image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.launch-badge {
    background-color: rgba(42, 127, 98, 0.9); /* Primary color with transparency */
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius-md);
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-md);
}

.badge-text {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-date {
    display: block;
    font-size: var(--text-xs);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-2);
}

.footer-col a {
    --primary-dark: #1E6B52;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col p {
    --primary-dark: #1E6B52;
    margin-bottom: var(--space-2);
}

.footer-col i {
    margin-right: var(--space-2);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 25px;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}



/* Base Mobile Configuration */
@media (max-width: 768px) {
    /* Typography Scaling */
    h1 {
        font-size: var(--text-3xl);
        line-height: 1.2;
        margin-bottom: var(--space-3);
    }
    
    h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-3);
    }
    
    h3 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-2);
    }
    
    h4 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2);
    }
    
    h5 {
        font-size: var(--text-base);
    }
    
    h6 {
        font-size: var(--text-sm);
    }
    
    body {
        font-size: var(--text-sm);
        line-height: 1.5;
    }
    
    /* Container Adjustments */
    .container {
        padding: 0 var(--space-4);
        width: 100%;
        max-width: 100%;
    }
    
    /* Section Spacing */
    section {
        padding: var(--space-8) 0;
    }
    
    /* Navigation Mobile Styles */
    .navbar {
        padding: var(--space-2) 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--text-lg);
}
    
    .menu-toggle {
        display: flex !important;
        background: none;
        border: none;
        font-size: var(--text-xl);
        color: var(--primary-color);
        cursor: pointer;
        padding: var(--space-2);
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--border-radius-sm);
        transition: background-color var(--transition-fast);
        z-index: 1001;
    }
    
    .menu-toggle:hover {
        background-color: var(--light-gray);
    }
    
    .menu-toggle.active i::before {
        content: "\f00d";
    }
    
    /* Dropdown Menu */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
        z-index: 1000;
        display: none;
        margin: 0;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        display: flex;
        max-height: 500px;
        opacity: 1;
        padding: var(--space-4);
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        list-style: none;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-3) var(--space-4);
        color: var(--text-color);
        text-decoration: none;
        font-weight: 500;
        border-radius: var(--border-radius-sm);
        transition: all var(--transition-fast);
        margin: var(--space-1) 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: var(--primary-light);
        color: var(--white);
    }
    
    .nav-link.active::after {
        display: none; /* Remove underline on mobile */
    }
    
    .nav-menu .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-2);
        text-align: center;
        padding: var(--space-3);
        order: -1; /* Move button to top */
    }
    
    /* Hero Section Mobile */
    .hero {
        padding-top: calc(var(--space-16) + 60px); /* Account for fixed nav */
        padding-bottom: var(--space-8);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-3);
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .hero-image {
        order: -1; /* Move image above text on mobile */
    }
    
    .image-wrapper {
        height: 300px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .image-overlay {
        top: 10px;
        right: 10px;
    }
    
    .launch-badge {
        padding: var(--space-1) var(--space-3);
    }
    
    .badge-text {
        font-size: var(--text-xs);
    }
    
    /* Button Adjustments */
    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-small {
        padding: var(--space-2) var(--space-3);
    }
    
    /* Footer Mobile */
    .footer {
        padding: var(--space-8) 0 var(--space-4);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    
    .footer-col {
        padding: 0 var(--space-2);
    }
    
    .footer-col h3 {
        font-size: var(--text-xl);
    }
    
    .footer-col h4 {
        font-size: var(--text-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: var(--text-base);
    }
    
    /* Utility Classes for Mobile */
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-block {
        display: block !important;
    }
    
    .mobile-flex {
        display: flex !important;
    }
    
    .mobile-text-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Improve touch targets */
    button, 
    .btn, 
    a.btn,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better scrolling experience */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {
    :root {
        --container-padding: var(--space-3);
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-title {
        font-size: var(--text-xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-sm);
    }
    
    .image-wrapper {
        height: 250px;
    }
    
    .footer-col h3 {
        font-size: var(--text-lg);
    }
    
    .footer-col h4 {
        font-size: var(--text-base);
    }
    
    /* Adjust spacing for very small screens */
    section {
        padding: var(--space-6) 0;
    }
}

/* Tablet Adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--text-lg);
}
    
    .nav-menu {
        gap: var(--space-3);
    }
    
    .nav-link {
        font-size: var(--text-sm);
        padding: var(--space-2) var(--space-3);
    }
    
    .hero .container {
        gap: var(--space-8);
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .hero {
        padding-top: calc(var(--space-12) + 60px);
    }
    
    .image-wrapper {
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* High-resolution mobile devices */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Ensure crisp rendering on retina displays */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Improve image rendering */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    /* Increase contrast for better readability */
    .btn-primary {
        --primary-color: #1E6B52;
    }
    
    /* Ensure sufficient color contrast */
    .text-muted {
        opacity: 0.8;
    }
    
    /* Improve focus visibility */
    *:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Better scroll snapping for mobile lists */
    .nav-menu {
        scroll-snap-type: y mandatory;
    }
    
    .nav-menu li {
        scroll-snap-align: start;
    }
}

/* Print styles for mobile (optional) */
@media print and (max-width: 768px) {
    .menu-toggle,
    .nav-menu .btn-primary,
    .social-links,
    .image-overlay {
        display: none !important;
    }
    
    .navbar {
        position: static;
        box-shadow: none;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        max-height: none;
        opacity: 1;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Optimize animations */
    .btn:hover,
    .nav-link:hover,
    .social-links a:hover {
        transform: none !important; /* Disable hover effects on mobile for performance */
    }
    
    /* Reduce animation complexity */
    .hero-main-image:hover {
        transform: none;
    }
    
    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Reduce shadow complexity */
    .shadow-xl,
    .shadow-lg {
        box-shadow: var(--shadow-md);
    }
}