/* 
 * Begewu Lahoju - Main Stylesheet
 * Colors:
 * Deep Jade (Primary): #017961
 * Warm Saffron (Accent): #F5A623
 * Pale Sage: #E2F1E6
 * Earthy Brown (Text): #3E342F
 * Milky White (Background): #FAFAF7
 */

/* === RESET & BASE STYLES === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px base for easier rem calculation */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #3E342F;
    background-color: #FAFAF7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #017961;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover, a:focus {
    color: #F5A623;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #017961;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 0.3rem;
    background-color: #F5A623;
    margin: 1.5rem auto 0;
    border-radius: 0.5rem;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 3rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: #017961;
    color: white;
    box-shadow: 0 0.4rem 0.8rem rgba(1, 121, 97, 0.2);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #015c4a;
    color: white;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 1.2rem rgba(1, 121, 97, 0.3);
}

.btn-secondary {
    background-color: #F5A623;
    color: #3E342F;
    box-shadow: 0 0.4rem 0.8rem rgba(245, 166, 35, 0.2);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #e29410;
    color: #3E342F;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 1.2rem rgba(245, 166, 35, 0.3);
}

/* === HEADER & NAVIGATION === */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(250, 250, 247, 0.95);
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(0.5rem);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.main-nav {
    position: relative;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 0.3rem;
    width: 100%;
    background: #017961;
    border-radius: 0.3rem;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 1rem;
}

.menu-icon span:nth-child(3) {
    top: 2rem;
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-list a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.2rem;
    bottom: 0;
    left: 0;
    background-color: #F5A623;
    transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-list a:focus::after {
    width: 100%;
}

/* === COOKIE NOTICE === */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(226, 241, 230, 0.95);
    padding: 1.5rem 0;
    box-shadow: 0 -0.2rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 999;
    backdrop-filter: blur(0.5rem);
}

.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* === HERO SECTION === */
.hero {
    padding: 10rem 0;
    background: linear-gradient(135deg, #E2F1E6 0%, #FAFAF7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(1, 121, 97, 0.05) 0%, rgba(1, 121, 97, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #017961;
}

.hero-description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.hero-image {
    flex: 1;
    max-width: 45%;
    position: relative;
}

.hero-image img {
    border-radius: 1.5rem;
    box-shadow: 0 2rem 4rem rgba(62, 52, 47, 0.15);
    transform: rotate(2deg);
}

/* === ABOUT SECTION === */
.about {
    background-color: #FAFAF7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(62, 52, 47, 0.1);
}

.about-content h3 {
    font-size: 2.8rem;
    color: #017961;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.6rem;
}

/* === BENEFITS SECTION === */
.benefits {
    background-color: #E2F1E6;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.05) 0%, rgba(245, 166, 35, 0) 70%);
    border-radius: 50%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-item {
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem rgba(62, 52, 47, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(62, 52, 47, 0.1);
}

.benefit-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.eco-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23017961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 0 0-7.743 16.33L12 22l7.743-3.67A10 10 0 0 0 12 2z'/%3E%3Cpath d='M8 9l4 2 4-2'/%3E%3Cpath d='M12 17v-4'/%3E%3C/svg%3E");
}

.pure-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23017961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.52 13.548a5 5 0 0 1 8.48-5.096'/%3E%3Cpath d='M21.559 12a10 10 0 0 1-17.56 6.345'/%3E%3Cpath d='M4.583 9.003C7.5 5 12 2.5 18.5 5.5'/%3E%3Cpath d='M20 22V20'/%3E%3Cpath d='M12 15l1.5-1.5'/%3E%3Cpath d='M2 2l20 20'/%3E%3C/svg%3E");
}

.hand-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23017961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 11V6a2 2 0 0 0-2-2v0a2 2 0 0 0-2 2v0'/%3E%3Cpath d='M14 10V4a2 2 0 0 0-2-2v0a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M10 10.5V6a2 2 0 0 0-2-2v0a2 2 0 0 0-2 2v8'/%3E%3Cpath d='M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15'/%3E%3C/svg%3E");
}

.benefit-item h3 {
    font-size: 2rem;
    color: #017961;
    margin-bottom: 1.5rem;
}

/* === PRODUCTS SECTION === */
.products {
    background-color: #FAFAF7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.product-card {
    background-color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(62, 52, 47, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(62, 52, 47, 0.1);
}

.product-image {
    height: 20rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 2rem;
    color: #017961;
    margin-bottom: 1rem;
}

.product-info p {
    margin-bottom: 1.5rem;
    min-height: 7.5rem;
}

.product-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #F5A623;
    margin-bottom: 2rem;
}

/* === HOW TO PREPARE SECTION === */
.how-to-prepare {
    background-color: #E2F1E6;
}

.preparation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.preparation-image img {
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(62, 52, 47, 0.1);
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: #017961;
    color: white;
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 2rem;
    color: #017961;
    margin-bottom: 1rem;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background-color: #FAFAF7;
    position: relative;
    overflow: hidden;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(1, 121, 97, 0.05) 0%, rgba(1, 121, 97, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem rgba(62, 52, 47, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(62, 52, 47, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 6rem;
    color: #E2F1E6;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
    color: #017961;
}

.testimonial-city {
    font-size: 1.4rem;
    color: #3E342F;
    opacity: 0.8;
}

/* === FAQ SECTION === */
.faq {
    background-color: #E2F1E6;
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(62, 52, 47, 0.05);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    padding: 2rem;
    display: block;
    font-weight: 600;
    color: #017961;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(1, 121, 97, 0.05);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    color: #F5A623;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 50rem;
    padding: 0 2rem 2rem 2rem;
}

/* === ORDER FORM SECTION === */
.order {
    background-color: #FAFAF7;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23017961' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.order-form {
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(62, 52, 47, 0.1);
}

.error-message {
    background-color: #ffecec;
    color: #d33;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.error-message ul {
    list-style: disc;
    margin-left: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid #E2F1E6;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #017961;
    box-shadow: 0 0 0 0.3rem rgba(1, 121, 97, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.form-note {
    font-size: 1.4rem;
    margin-top: 2rem;
    color: #3E342F;
    opacity: 0.7;
}

.order-image img {
    border-radius: 1.5rem;
    box-shadow: 0 2rem 4rem rgba(62, 52, 47, 0.15);
    transform: rotate(-2deg);
}

/* === FOOTER === */
.site-footer {
    background-color: #017961;
    color: white;
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin-top: 1.5rem;
    opacity: 0.9;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-nav h4,
.footer-contact h4,
.footer-legal h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-nav h4::after,
.footer-contact h4::after,
.footer-legal h4::after {
    content: '';
    display: block;
    width: 3rem;
    height: 0.2rem;
    background-color: #F5A623;
    margin-top: 1rem;
}

.footer-nav ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: #F5A623;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    padding-top: 3rem;
    text-align: center;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    opacity: 0.7;
}

/* === ANIMATIONS === */
.animated {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 9px base */
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px base */
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .hero-content {
        margin-bottom: 4rem;
    }
    
    .about-grid,
    .preparation-grid,
    .order-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .benefits-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
        padding: 2rem;
        border-radius: 1rem;
        gap: 2rem;
        width: 20rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .nav-list {
        max-height: 30rem;
        opacity: 1;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 1rem;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-nav h4::after,
    .footer-contact h4::after,
    .footer-legal h4::after {
        margin: 1rem auto 0;
    }
    
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-notice .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 43.75%; /* 7px base */
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
} 