/* 
* Main CSS Styles for Čajový Svet
* Color Palette:
* - Main: Mint Green (#98FF98)
* - Accent: Warm Yellow (#FFD700)
* - Background: Light Gray (#F0F0F0)
* - Text: Dark Gray (#333333)
*/

/* ===== BASE STYLES ===== */
:root {
    --main-color: #98FF98;
    --accent-color: #FFD700;
    --bg-color: #F0F0F0;
    --text-color: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--main-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #e6c300;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 80px 0;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--main-color), #7ad87a);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: linear-gradient(to right, #7ad87a, #5abb5a);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
}

.btn-secondary {
    background: linear-gradient(to right, var(--accent-color), #e6c300);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
    background: linear-gradient(to right, #e6c300, #cca600);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--main-color);
    padding: 8px 0;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.phone-link,
.email-link {
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.phone-link:hover,
.email-link:hover {
    color: var(--accent-color);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.logo span {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    padding-left: 0;
    margin-bottom: 0;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-list a:hover:after {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background-color: #e6c300;
    color: var(--text-color);
}

.nav-cta:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(152, 255, 152, 0.2), rgba(255, 215, 0, 0.2));
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: perspective(800px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(800px) rotateY(0deg);
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.03);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    background-color: var(--bg-color);
}

.product-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    flex: 1;
    min-width: 300px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-card h3 {
    padding: 20px 20px 10px;
    color: var(--text-color);
}

.product-card p {
    padding: 0 20px;
    margin-bottom: 10px;
    color: var(--light-text);
}

.product-card ul {
    padding: 0 20px 0 40px;
    margin-bottom: 15px;
}

.product-card .price {
    padding: 5px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: auto;
}

.product-card .btn-secondary {
    margin: 15px 20px 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background: linear-gradient(to bottom right, rgba(152, 255, 152, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    max-width: 350px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: rgba(152, 255, 152, 0.3);
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: Georgia, serif;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
    text-align: right;
}

/* ===== DELIVERY SECTION ===== */
.delivery {
    background-color: var(--bg-color);
}

.delivery-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.delivery-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.delivery-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.delivery-info h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
}

.delivery-info ul {
    padding-left: 20px;
}

/* ===== CALCULATOR SECTION ===== */
.calculator {
    background-color: var(--white);
}

.calculator-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(152, 255, 152, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(152, 255, 152, 0.3);
}

.calculator-form .btn-primary {
    margin-top: 10px;
    width: 100%;
}

/* ===== PROMOTIONS SECTION ===== */
.promotions {
    background-color: var(--bg-color);
}

.promotion-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.promotion-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    transition: var(--transition);
}

.promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promotion-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
}

.promotion-card h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.promotion-card p {
    margin-bottom: 20px;
}

.promotion-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: var(--light-text);
}

.new-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* ===== BLOG SECTION ===== */
.blog {
    background-color: var(--white);
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.blog-post {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.blog-post h3 {
    padding: 20px 20px 10px;
}

.blog-post p {
    padding: 0 20px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    font-weight: 500;
    color: var(--accent-color);
    position: relative;
}

.read-more:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.read-more:hover:after {
    width: 100%;
}

/* ===== ORDER FORM SECTION ===== */
.order-form {
    background-color: var(--bg-color);
}

.custom-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-form input[type="text"],
.custom-form input[type="tel"],
.custom-form input[type="email"],
.custom-form input[type="number"],
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(152, 255, 152, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.custom-form .btn-primary {
    margin-top: 20px;
    width: 100%;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--text-color);
    padding-bottom: 5px;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
}

.contact-item a {
    color: var(--accent-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: #e6c300;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-secondary {
    width: 100%;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
    background-color: var(--white);
    padding: 100px 0;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(152, 255, 152, 0.1);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: var(--main-color);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.checkmark {
    width: 30px;
    height: 50px;
    border-right: 4px solid var(--text-color);
    border-bottom: 4px solid var(--text-color);
    transform: rotate(45deg) translate(-5px, -10px);
}

.thank-you-content h1 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.order-confirmation,
.next-steps {
    margin: 30px 0;
    text-align: left;
}

.next-steps h2 {
    text-align: left;
}

.next-steps h2:after {
    margin-left: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* ===== CALCULATOR RESULT PAGE ===== */
.calculator-result {
    background-color: var(--white);
    padding: 80px 0;
}

.result-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tea-recommendation {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
    background-color: rgba(152, 255, 152, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tea-image {
    flex: 1;
    min-width: 300px;
}

.tea-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tea-details {
    flex: 2;
    min-width: 300px;
}

.tea-details h2 {
    text-align: left;
    margin-bottom: 20px;
}

.tea-details h2:after {
    margin-left: 0;
}

.tea-description {
    margin-bottom: 20px;
}

.tea-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.personalized-advice {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
}

.recommendation-actions {
    display: flex;
    gap: 20px;
}

.other-recommendations h3 {
    text-align: center;
    margin-bottom: 30px;
}

.other-teas {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.other-tea {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    width: 300px;
    transition: var(--transition);
    text-align: center;
}

.other-tea:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.other-tea img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.other-tea h4 {
    margin-bottom: 10px;
}

.other-tea p {
    margin-bottom: 15px;
}

.other-tea .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    text-align: left;
}

.footer-logo h2:after {
    display: none;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
}

.footer-links,
.contact-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-links li {
    margin-bottom: 15px;
}

.contact-links span {
    display: block;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.contact-links a {
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    color: var(--white);
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
    font-size: 0;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-link.facebook::before {
    content: "f";
    font-size: 20px;
}

.social-link.instagram::before {
    content: "i";
    font-size: 20px;
}

.social-link.twitter::before {
    content: "t";
    font-size: 20px;
}

.newsletter h3 {
    margin-top: 30px;
}

.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.newsletter button {
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background-color: #e6c300;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: #ccc;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--accent-color);
}

.copyright {
    color: #ccc;
    font-size: 0.9rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    opacity: 0.7;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.arrow-up {
    border: solid var(--text-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(-135deg);
    margin-top: 5px;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-popup h3 {
    margin-bottom: 10px;
}

.cookie-popup form {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cookie-popup .btn-primary,
.cookie-popup .btn-secondary {
    padding: 8px 20px;
}

/* Legal pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.legal-content h1 {
    margin-bottom: 30px;
}

.legal-content h2 {
    text-align: left;
    margin: 40px 0 20px;
}

.legal-content h2:after {
    margin-left: 0;
    width: 50px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 10px;
} 