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

:root {
    /* Premium Truffle Color Scheme - Earthy and Natural */
    --primary-color: #3d2817;        /* Deep brown - like rich earth */
    --secondary-color: #6b4423;      /* Medium brown - like coffee */
    --accent-color: #d4af37;         /* Gold - luxury and premium */
    --accent-dark: #b8941f;           /* Darker gold for hover */
    --accent-green: #2d5016;         /* Deep forest green - nature */
    --accent-green-light: #4a7c2a;    /* Lighter green for accents */
    --text-color: #2c2416;           /* Dark brown text */
    --text-light: #5a4a3a;           /* Medium brown for secondary text */
    --bg-color: #faf8f5;             /* Cream/beige background */
    --bg-alt: #f5f2ed;               /* Slightly darker cream */
    --bg-dark: #2c2416;              /* Dark brown for dark sections */
    --border-color: #d4c4b0;         /* Light brown border */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --spacing: 1rem;
    --transition: all 0.3s ease;
}

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

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

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    min-width: 50px;
    min-height: 50px;
    width: 100px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 700;
    margin: 0;
}

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

.nav-menu a {
    color: #000000;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-green) 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.7) 0%, rgba(107, 68, 35, 0.6) 50%, rgba(45, 80, 22, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    margin-right: 1rem;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-secondary,
.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover,
.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* Sections */
.section {
    padding: 4rem 0;
}

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

.section-dark {
    background-color: var(--bg-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-dark .section-header h2 {
    color: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.section-title-large {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle-large {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-green) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(45, 40, 22, 0.1);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smart-label-icon {
    width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transform: none;
}

.security-label-icon {
    width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transform: none;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card:hover {
    border: 2px solid var(--accent-color);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(45, 40, 22, 0.1);
    border-left: 4px solid var(--accent-color);
}

.benefit-item h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.section-dark .process-step {
    background: rgba(255, 255, 255, 0.05);
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.process-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Content Cards */
.content-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(45, 40, 22, 0.1);
    max-width: 800px;
    margin: 0 auto;
    border-top: 4px solid var(--accent-color);
}

.content-card h4 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.content-card h5 {
    font-size: 1.25rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.truffle-image-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.truffle-image {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.use-case-item {
    text-align: center;
}

.use-case-image {
    margin-bottom: 2rem;
}

.use-case-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(45, 40, 22, 0.2);
}

.packaging-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.packaging-image {
    text-align: center;
}

.packaging-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(45, 40, 22, 0.2);
}

.packaging-text {
    display: flex;
    align-items: center;
}

.woodbox-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* App Section */
.app-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-green) 100%);
    color: white;
}

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

.app-feature {
    text-align: center;
    padding: 2rem;
}

.app-feature h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.app-download {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-btn,
.google-play-btn {
    padding: 0.5rem;
    background: transparent;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-block;
}

.app-badge {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.app-store-btn:hover,
.google-play-btn:hover {
    transform: translateY(-3px);
}

.app-store-btn:hover .app-badge,
.google-play-btn:hover .app-badge {
    filter: brightness(1.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

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

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

.app-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-link {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    transition: var(--transition);
}

.footer-app-badge {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Truffle Types */
.truffle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.truffle-type-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.truffle-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.plant-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plant-item h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-title-large {
        font-size: 1.75rem;
    }
    
    .section-subtitle-large {
        font-size: 1.25rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .packaging-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .benefits-grid,
    .process-steps,
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .content-card {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo-img {
        min-width: 50px;
        min-height: 50px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        min-height: 50vh;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

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

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

