/*
Theme Name: Te Wianki v1
Description: Elegant WordPress theme for handmade wreaths shop. WooCommerce optimized with beautiful slow living inspired design.
Author: Marcin Grabkowski
Version: 1.0.0
Text Domain:  Te Wianki v1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, woocommerce, custom-colors, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready, two-columns, left-sidebar, right-sidebar, custom-menu, blog, portfolio, business, shop, handmade, natural, elegant, minimal

Te Wianki WordPress Theme, Copyright 2025
Te Wianki is distributed under the terms of the GNU GPL.
*/

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #FFFCF7;
    --beige: #EBE3D5;
    --ecru: #F7F3ED;
    --taupe: #D9CDB8;
    --warm-taupe: #C4B5A0;
    --dark-taupe: #9B8B7E;
    --charcoal: #3D3530;
    --text-dark: #2C2520;
    --text-light: #6B5D52;
    --accent-gold: #B8956A;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--text-dark);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 7%;
}

@media (max-width: 640px) {
    .container {
        padding: 0 5%;
    }
}

/* Navigation */
.site-header {
    background-color: var(--ecru);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.03em;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    background: linear-gradient(135deg, var(--ecru) 0%, var(--beige) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    font-weight: 600;
}

.hero-text p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 520px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--charcoal);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-color: var(--dark-taupe);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--warm-taupe);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    font-weight: 500;
}

.product-price {
    font-size: 1.1rem;
    color: var(--warm-taupe);
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: var(--ecru);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    font-weight: 600;
}

.about-text p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--beige) 0%, var(--taupe) 100%);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-weight: 600;
}

.newsletter p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--warm-taupe);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    background-color: white;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--dark-taupe);
    box-shadow: 0 0 0 3px rgba(155, 139, 126, 0.3);
}

.newsletter-button {
    padding: 1rem 2rem;
    background-color: var(--charcoal);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-button:hover {
    background-color: var(--dark-taupe);
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    background-color: var(--ecru);
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--dark-taupe);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--charcoal);
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* Product Page Styles */
.product-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--warm-taupe);
}

.product-details {
    padding-top: 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-dark);
}

.product-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-family: 'Playfair Display', serif;
}

.product-features {
    background-color: var(--ecru);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.product-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-family: 'Playfair Display', serif;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--warm-taupe);
    font-size: 1.5rem;
    line-height: 1;
}

.care-instructions {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.care-instructions h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-family: 'Playfair Display', serif;
}

.care-instructions p {
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 968px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 3rem auto;
    }

    .product-gallery {
        position: static;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .product-container {
        padding: 0 5%;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* WooCommerce Styles */
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--text-dark);
}

.woocommerce .product_title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-family: 'Playfair Display', serif;
}

.woocommerce .price {
    font-size: 2rem;
    color: var(--warm-taupe);
    font-weight: 600;
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-product-details__short-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.woocommerce .single_add_to_cart_button {
    width: 100%;
    padding: 1.2rem 2rem;
    background-color: var(--charcoal);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.woocommerce .single_add_to_cart_button:hover {
    background-color: var(--dark-taupe);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.woocommerce .woocommerce-tabs {
    margin-top: 3rem;
}

.woocommerce .woocommerce-tabs ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a,
.woocommerce .woocommerce-tabs ul.tabs li a:hover {
    color: var(--text-dark);
    border-bottom-color: var(--warm-taupe);
}

.woocommerce .woocommerce-tabs .panel {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-content {
        padding: 1.5rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .about-image img {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 1rem 0;
    }

    .site-logo {
        font-size: 1.5rem;
    }

    .main-navigation ul {
        gap: 1.5rem;
    }

    .main-navigation a {
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .section {
        padding: 5rem 0;
    }
}

.page-header {
    padding: 5rem 7% 3rem;
    background: linear-gradient(135deg, var(--ecru) 0%, var(--beige) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.page-header p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--text-light);
}

.shop-section {
    padding: 4rem 7%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    font-weight: 500;
}

.product-price {
    font-size: 1.1rem;
    color: var(--warm-taupe);
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--dark-taupe);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--charcoal);
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.03em;
}

@media (max-width: 968px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 4rem 5% 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .shop-section {
        padding: 3rem 5%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}