/* 
 * Bahuve-Yuvefu - Prirodni čajevi
 * Unique color palette:
 * #206A5D - Deep dark green (main background)
 * #F3F8F2 - Tea leaf in milk (main content)
 * #FCD9C3 - Warm peach (accents, buttons, hovers)
 * #7C83FD - Lavender light (interface details, borders)
 * #1B1B1E - Text and icons (clear contrast)
 * #AB6E47 - Brewed tea (shadows and decorative elements)
 */

/* Base Styles */
:root {
    --color-primary: #206A5D;
    --color-content: #F3F8F2;
    --color-accent: #FCD9C3;
    --color-detail: #7C83FD;
    --color-text: #1B1B1E;
    --color-decoration: #AB6E47;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-headers: 'Georgia', serif;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-content);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 4px;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-detail);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-content);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--color-decoration);
    color: var(--color-content);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
    position: relative;
}

/* Header Styles */
.main-header {
    background-color: var(--color-primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--color-content);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover, 
.main-nav a.active {
    color: var(--color-accent);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: var(--color-content);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('img/hero-bg.jpg') no-repeat center/cover;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.8;
}

.hero-content {
    width: 50%;
    position: relative;
    z-index: 2;
    padding: 0 0 0 5%;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Tea Section */
.about-tea {
    background-color: var(--color-content);
    text-align: center;
}

.about-tea .container {
    max-width: 900px;
}

.tea-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
}

/* Ingredients Section */
.ingredients {
    background-color: var(--color-primary);
    color: var(--color-content);
    text-align: center;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.ingredient-item {
    transition: var(--transition);
}

.ingredient-item:hover {
    transform: scale(1.05);
}

.ingredient-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background-color: var(--color-content);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ingredient-icon img {
    width: 60px;
    height: 60px;
}

.ingredient-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-content);
    text-align: center;
}

.testimonial-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    margin-top: 30px;
    scrollbar-width: none;
}

.testimonial-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-width: 300px;
    flex: 0 0 calc(33.333% - 20px);
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--color-primary);
}

/* Products Section */
.products {
    background-color: var(--color-primary);
    color: var(--color-content);
    text-align: center;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-accent);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.product-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    margin-bottom: 10px;
    position: relative;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--color-content);
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps-container::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--color-decoration);
    z-index: 1;
}

.step {
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Order Form Section */
.order-section {
    background-color: var(--color-primary);
    color: var(--color-content);
    padding: 80px 0;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.order-info h2 {
    text-align: left;
}

.order-info h2::after {
    background-color: var(--color-accent);
}

.order-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-detail);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 131, 253, 0.3);
}

/* Form styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--color-text);
}

.checkbox-group a {
    color: var(--color-primary);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer Styles */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-content);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-content);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-content);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-popup .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-popup p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-popup a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1, .hero-title {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .tea-benefits, 
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .order-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: relative;
    }
    
    .main-header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .hero::before {
        clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }
    
    .tea-benefits, 
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .cookie-popup .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1, .hero-title {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
} 