/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --background: #E04F4F;
    --accent: #A7D67C;
    --text: #2C2C2C;
    --headings: #6B308B;
    --button-gradient-start: #D94F90;
    --button-gradient-end: #FFC857;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headings);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--headings);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button styles */
.btn, button, input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover, button:hover, input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Header styles */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--text);
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav .cta-button {
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
}

.main-nav .cta-button:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Section styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--white);
}

section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

section .section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent);
}

/* Hero section */
.hero {
    background-color: var(--background);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/BSURNU.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About tea section */
.about-tea {
    background-color: var(--white);
}

.tea-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.benefit {
    flex-basis: calc(33.333% - 20px);
    margin-bottom: 40px;
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit h3 {
    margin-top: 20px;
}

/* How it works section */
.how-works {
    background-color: var(--background);
    color: var(--white);
}

.how-works .section-title h2 {
    color: var(--white);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--accent);
    z-index: 0;
}

.step {
    flex-basis: 25%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Offers section */
.offers {
    background-color: var(--white);
}

.offer-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.offer-card {
    flex-basis: calc(33.333% - 20px);
    margin-bottom: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.offer-image {
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-content {
    padding: 20px;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--headings);
    margin-top: 10px;
}

/* Testimonials section */
.testimonials {
    background-color: var(--background);
    color: var(--white);
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    flex-basis: calc(50% - 20px);
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* About company section */
.about-company {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex-basis: 40%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text {
    flex-basis: 60%;
}

/* Certificates section */
.certificates {
    background-color: var(--background);
    color: var(--white);
}

.certificates .section-title h2 {
    color: var(--white);
}

.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.certificate-item {
    flex-basis: calc(25% - 30px);
    text-align: center;
}

.certificate-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* FAQ section */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

summary {
    padding: 15px 20px;
    background-color: var(--light-gray);
    cursor: pointer;
    font-weight: bold;
    position: relative;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
}

/* Order form section */
.order {
    background-color: var(--background);
    color: var(--white);
    padding: 80px 0;
}

.order .section-title h2 {
    color: var(--white);
}

.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    color: var(--text);
    font-size: 0.9rem;
}

.order-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Footer */
.main-footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex-basis: 30%;
}

.footer-column h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white);
}

.footer-column a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-banner p {
    margin-right: 20px;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btn {
    padding: 8px 20px;
    white-space: nowrap;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .benefit {
        flex-basis: calc(50% - 20px);
    }
    
    .offer-card {
        flex-basis: calc(50% - 15px);
    }
    
    .certificate-item {
        flex-basis: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .offer-card,
    .benefit {
        flex-basis: 100%;
    }
    
    .testimonial {
        flex-basis: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image,
    .about-text {
        flex-basis: 100%;
    }
    
    .certificate-item {
        flex-basis: calc(50% - 15px);
    }
    
    .footer-column {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .certificate-item {
        flex-basis: 100%;
    }
    
    .order-form-container {
        padding: 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Policy Pages */
.policy-page {
    background-color: var(--white);
    padding: 60px 0;
}

.policy-page .section-title h1 {
    color: var(--headings);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-content h2 {
    color: var(--headings);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.policy-content h3 {
    color: var(--headings);
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-content a {
    color: var(--headings);
    text-decoration: underline;
}

.policy-content a:hover {
    color: var(--accent);
}

/* Error Message */
.error-message {
    background-color: #ffeeee;
    border-left: 4px solid #d9534f;
    color: #d9534f;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
} 