:root {
    --primary-color: #1a5d3a;
    --secondary-color: #f5f5f5;
    --accent-color: #2d8659;
    --text-dark: #2c2c2c;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

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

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

ul, ol {
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

table {
    margin: 1rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 93, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.about-hero, .contact-hero {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.about-hero .hero-overlay, .contact-hero .hero-overlay {
    background-color: transparent;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.list-style {
    list-style-position: inside;
}

.list-style li {
    list-style-type: disc;
    color: var(--text-dark);
}

.flavor-grid, .size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.flavor-card, .size-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.flavor-card:hover, .size-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(26, 93, 58, 0.15);
}

.flavor-card h4, .size-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.flavor-card p, .size-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0;
}

.tea-card {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
    text-align: center;
    height: 100%;
}

.tea-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.tea-card p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

.origin-section {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

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

.philosophy-box {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.philosophy-box h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.philosophy-box h3:first-child {
    margin-top: 0;
}

.philosophy-box p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.closing-section {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.closing-section h2 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.closing-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.btn-outline-secondary {
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--text-dark);
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(26, 93, 58, 0.1);
}

.contact-form .form-control {
    border-color: var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 93, 58, 0.15);
}

.contact-form .custom-control-input:checked ~ .custom-control-label {
    color: var(--primary-color);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label {
    color: var(--text-dark);
}

.alert-info {
    background-color: rgba(26, 93, 58, 0.1);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

footer {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    margin-top: 5rem;
}

footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

footer a {
    color: var(--primary-color);
}

footer a:hover {
    color: var(--accent-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 1.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner button {
    min-width: 120px;
}

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

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-hero, .contact-hero {
        height: 200px;
    }

    .hero-content {
        padding: 1rem;
    }

    .flavor-grid, .size-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cookie-banner {
        padding: 1rem 0;
    }

    .cookie-banner .row {
        flex-direction: column;
    }

    .cookie-banner .col-md-4 {
        text-align: left;
        margin-top: 1rem;
    }

    .cookie-banner .col-md-4:first-child {
        margin-top: 0;
    }

    .cookie-banner .text-right {
        text-align: left !important;
    }

    .cookie-banner button {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    footer .row > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.25rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.5rem 0.25rem;
    }
}
