/* 
* Shopluster - Herbal Teas Studio
* Author: Claude AI
* Version: 1.0
* Created: May 2025
*/

/* ====================== GENERAL STYLES ====================== */
:root {
    /* Colors */
    --color-bg: #FFFDFC;
    --color-accent: #E4C1C1;
    --color-accent-secondary: #CAB8A2;
    --color-text: #2A2A2A;
    --color-light: #F9F9F9;
    --color-muted: #888;
    --color-border: #E5E5E5;
    
    /* Fonts */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Dimensions */
    --header-height: 80px;
    --container-max-width: 1200px;
    --container-padding: 20px;
    --section-spacing: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-text);
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--color-accent-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

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

button {
    cursor: pointer;
    font-family: var(--font-secondary);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-accent-secondary);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: transparent;
    border: 1px solid var(--color-accent-secondary);
    color: var(--color-accent-secondary);
}

.btn--secondary:hover {
    background-color: var(--color-accent-secondary);
    color: white;
}

.btn--full {
    width: 100%;
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
}

.icon-daisy {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    fill: var(--color-accent);
}

/* ====================== HEADER ====================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 253, 252, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: block;
    max-width: 150px;
}

.navigation__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation__item {
    margin: 0 15px;
}

.navigation__item a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.navigation__item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.navigation__item a:hover,
.navigation__item a.active {
    color: var(--color-accent);
}

.navigation__item a:hover::after,
.navigation__item a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* ====================== HERO SECTION ====================== */
.hero {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background-color: var(--color-bg);
}

.hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero__content {
    flex: 1;
    padding-right: 60px;
}

.hero__image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero__title {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero__slogan {
    font-family: var(--font-primary);
    font-size: 24px;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero__text {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ====================== ABOUT SECTION ====================== */
.about {
    background-color: var(--color-light);
}

.about__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about__image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-right: 60px;
}

.about__content {
    flex: 1;
}

/* ====================== BENEFITS SECTION ====================== */
.benefits__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    fill: var(--color-accent);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ====================== PRODUCTS SECTION ====================== */
.products__filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 5px;
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-accent);
    color: white;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    height: 200px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 20px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.product-card__tags span {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--color-accent-secondary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* ====================== RECIPES SECTION ====================== */
.recipes {
    background-color: var(--color-light);
}

.recipes__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.recipe-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.recipe-card__image {
    height: 240px;
    overflow: hidden;
}

.recipe-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-card__image img {
    transform: scale(1.05);
}

.recipe-card__content {
    padding: 30px;
}

.recipe-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.recipe-card__ingredients,
.recipe-card__instructions {
    margin-top: 20px;
}

.recipe-card__ingredients h4,
.recipe-card__instructions h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* ====================== CONTACT SECTION ====================== */
.contact__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact__info {
    flex: 0 0 100%;
    max-width: 40%;
}

.contact__block {
    margin-bottom: 40px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    fill: var(--color-accent);
    margin-bottom: 15px;
}

.contact__block h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact__form {
    flex: 0 0 100%;
    max-width: 55%;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* ====================== FOOTER ====================== */
.footer {
    background-color: #2A2A2A;
    color: white;
    padding: 80px 0 20px;
}

.footer__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer__logo {
    flex: 0 0 100%;
    max-width: 30%;
    margin-bottom: 30px;
}

.footer__logo img {
    max-width: 150px;
    margin-bottom: 15px;
    filter: brightness(2);
}

.footer__links,
.footer__nav {
    flex: 0 0 100%;
    max-width: 30%;
    margin-bottom: 30px;
}

.footer h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #CCC;
    transition: color 0.3s ease;
}

.footer ul li a:hover,
.footer ul li a.active {
    color: var(--color-accent);
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====================== POLICY PAGES ====================== */
.policy {
    padding: calc(var(--header-height) + 60px) 0 80px;
}

.policy__wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.policy__content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy__intro {
    font-size: 18px;
    margin-bottom: 30px;
}

.policy__block {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--color-light);
    border-radius: 8px;
}

.policy__cta {
    margin-top: 40px;
    text-align: center;
}

/* ====================== SUCCESS PAGE ====================== */
.success {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success__wrapper {
    max-width: 600px;
    padding: 60px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    fill: var(--color-accent);
    margin: 0 auto 30px;
}

.success__title {
    font-size: 36px;
    margin-bottom: 20px;
}

.success__text {
    font-size: 20px;
    margin-bottom: 15px;
}

.success__subtext {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--color-muted);
}

.success .btn {
    margin: 0 10px;
    margin-bottom: 10px;
}

/* ====================== BACK TO TOP BUTTON ====================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.back-to-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-5px);
}

/* ====================== ANIMATIONS ====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ====================== RESPONSIVE STYLES ====================== */
@media (max-width: 992px) {
    :root {
        --section-spacing: 80px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__slogan {
        font-size: 20px;
    }
    
    .hero__wrapper,
    .about__wrapper {
        flex-direction: column;
    }
    
    .hero__content,
    .about__content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about__image {
        margin-right: 0;
        margin-bottom: 40px;
        order: -1;
    }
    
    .contact__info,
    .contact__form {
        max-width: 100%;
    }
    
    .contact__info {
        margin-bottom: 40px;
    }
    
    .footer__logo,
    .footer__links,
    .footer__nav {
        max-width: 100%;
    }
    
    .recipes__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-spacing: 60px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: white;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navigation.active {
        height: auto;
    }
    
    .navigation__list {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .navigation__item {
        margin: 10px 0;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 60px;
        --section-spacing: 50px;
        --container-padding: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .hero__slogan {
        font-size: 18px;
    }
    
    .hero__text {
        font-size: 16px;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .contact__form {
        padding: 30px 20px;
    }
}

.flower-icon img {
   margin: 0 auto;
}