/*
Theme Name: TessaHonig
Description: A beautiful honey and beekeeping WordPress theme based on Bootstrap
Version: 1.2
Author: Webrazvoj
Author URI: https://webrazvoj.eu
*/

/* Import Bootstrap */
@import url('css/bootstrap.min.css');

/* libre-franklin-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/libre-franklin-v19-latin-regular.woff2') format('woff2');
}
/* libre-franklin-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/libre-franklin-v19-latin-500.woff2') format('woff2');
}
/* libre-franklin-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/libre-franklin-v19-latin-600.woff2') format('woff2');
}
/* libre-franklin-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/libre-franklin-v19-latin-700.woff2') format('woff2');
}
/* marcellus-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/marcellus-v13-latin-regular.woff2') format('woff2');
}

/* Import Google Fonts */


/* Theme Variables */
:root {
    --primary-color: #9c4c24;
    --secondary-color: #d39430;
    --accent-color: #f5e9d1;
    --text-dark: #504433;
    --text-light: #a78f77;
    --bg-cream: #f5e9d1;
    --bg-brown: #a78f77;
}

/* Floating Animation */
@keyframes floatBee {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -25px) rotate(5deg);
    }
    50% {
        transform: translate(20px, -50px) rotate(0deg);
    }
    75% {
        transform: translate(10px, -25px) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.decoration-flower {
    position: absolute;
    animation: floatBee 8s ease-in-out infinite;
    z-index: 1;
}

/* Add some variation to the second bee */
.hero-decorations img:last-child {
    animation-delay: 2s;
    animation-duration: 9s;
    animation-name: floatBee2;
}

@keyframes floatBee2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-15px, -30px) rotate(-5deg);
    }
    50% {
        transform: translate(-25px, -50px) rotate(0deg);
    }
    75% {
        transform: translate(-15px, -30px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Global Styles */
body {
    font-family: 'Libre Franklin', Arial, sans-serif; /* Use local Libre Franklin */
    font-family: 'Libre Franklin', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Marcellus', serif; /* Use local Marcellus for headings */
    font-family: 'Marcellus', serif;
    font-weight: 400;
}

/* --- Global Typography Utility Classes --- */
.section-subtitle, .text-section-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted, #7c7c7c);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-heading, .text-section-heading {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-subheading, .text-section-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-text, .text-section {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.btn, .btn-primary, .btn-outline-primary {
    font-size: 1rem !important;
}

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

/* Remove section-specific font sizes for headings, subtitles, and text below; use utility classes instead */

.btn-primary,
.price .btn.btn-primary.button.add_to_cart_button {
    background-color: var(--primary-color)!important;
    border-color: var(--primary-color)!important;
    padding: 12px 30px!important;
    font-weight: 500!important;
    text-transform: uppercase!important;
    letter-spacing: 1px!important;
    border-radius: 0!important;
    transition: all 0.3s ease!important;
    color: #fff !important;
    line-height: unset!important;
}

.btn-primary:hover,
.price .btn.btn-primary.button.add_to_cart_button:hover,
.btn-primary:focus,
.price .btn.btn-primary.button.add_to_cart_button:focus,
.btn-primary:active,
.price .btn.btn-primary.button.add_to_cart_button:active,
.btn-primary:focus-visible,
.price .btn.btn-primary.button.add_to_cart_button:focus-visible {
    background-color: var(--secondary-color)!important;
    border-color: var(--secondary-color)!important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header Styles */
.site-header {
    padding: 0;
    /*background-color: #fff;*/
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    /*background-color: rgba(245, 233, 209, 0.95);*/
    /*backdrop-filter: blur(10px);*/
    transition: all 0.3s ease;
    /*border-bottom: 1px solid rgba(156, 76, 36, 0.1);*/
}

.site-header.scrolled {
    background-color: rgba(245, 233, 209, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--primary-color) !important;
    font-weight: 400;
}

.custom-logo-link img {
    max-height: 80px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0e4d0 100%), url('images/bg2.png') no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

section.hero-section.pp_hero {
    min-height: 400px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0e4d0 100%), url('images/bg2.png') no-repeat center top, url('images/left_corner.png') no-repeat bottom left, url('images/right_corner.png') no-repeat top right;
}

#heroCarousel {
    width: 100%;
}

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

.carousel-inner {
    padding-top: 80px;
}

/* Carousel Controls */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239c4c24'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239c4c24'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators [data-bs-target] {
    background-color: #9c4c24;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-flower {
    position: absolute;
    opacity: 1;
    animation: float 6s ease-in-out infinite;
}

.decoration-flower:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    max-width: 100px;
    height: auto;
}

.decoration-flower:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    max-width: 100px;
    height: auto;
}

.decoration-flower:nth-child(3) {
    bottom: 15%;
    left: 8%;
    animation-delay: 4s;
}

.hero-image .bees:last-child,
.story-image .bees:last-child {
    right: 0;
    left: auto;
    max-width: 100px;
    height: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    position: relative;
}

.feature-item {
    text-align: center;
    padding: 0;
}

.feature-icon {
    margin: 0 auto 1.5rem;
}

.feature-icon img {
    max-width: 80px;
    height: auto;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background-color: var(--accent-color);
    position: relative;
    background: url('images/beehive.png') no-repeat center left,
                linear-gradient(135deg, var(--accent-color) 0%, #f0e4d0 100%);
    background-size: auto, contain;
}

.story-image {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

/* Quote Section */
.quote-section {
    background: url('images/pexels-saul-cob-205358120-11655535.jpg');
    background-size: auto;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
    background-repeat: no-repeat;
}

.quote-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    /*max-width: 800px;*/
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: url('images/left_corner.png') no-repeat bottom left,
                url('images/right_corner.png') no-repeat top right,
                linear-gradient(135deg, var(--accent-color) 0%, #f0e4d0 100%);
    background-size: auto, auto, contain;
}

.products-section .subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 auto 3rem auto;
    max-width: 800px;
}

.product-card, .woocommerce ul.products li.product {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    padding-top: 40px;
}

.product-card:hover, .woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
}

.product-card .product-image, .woocommerce ul.products li.product .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    /*width: 100%;*/
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
    transform: scale(0.8);
}

.product-card:hover .product-image img, .woocommerce ul.products li.product:hover .product-image img {
    transform: scale(1)!important;
}

.product-card .product-info, .woocommerce ul.products li.product .product-info {
    padding: 1rem;
    text-align: center;
}

.product-card .product-info h3, 
.woocommerce ul.products li.product .product-info h3 a,
.product-card .product-info h3 a {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-decoration: none;
}

.product-card .product-price, 
.woocommerce ul.products li.product .price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

h2.woocommerce-loop-product__title {
    font-size: 21px !important;
}

select#pa_typ,
select#pa_verpackung {
    text-indent: 10px;
}

/* Gift Section */
.gift-section {
    padding: 100px 0;
    background-color: var(--accent-color);
    position: relative;
}

.gift-content h3.gift_subtitle,
.gift-content h2.gift_title,
.gift-content h3.text-muted {
    color: #fff !important;
}

.gift-image {
    position: relative;
}

.dark_bg_button {
    background-color:var(--secondary-color)!important;
    border-color: var(--secondary-color)!important;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-content p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    opacity: 0.6;
}

article.page p > a {
    color: var(--text-dark);
}

/* WooCommerce Product Card Styling */
.woocommerce ul.products li.product .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.woocommerce ul.products li.product .product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
    transform: scale(0.8);
}

.woocommerce ul.products li.product .product-image a img {
    width: auto;
    height: -webkit-fill-available;
}

.woocommerce ul.products li.product:hover .product-image img {
    transform: scale(1)!important;
}

.woocommerce ul.products li.product .product-info {
    padding: 1rem;
    text-align: center;
}

.woocommerce ul.products li.product .product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Woocommerce Single Product */

.single-product.woocommerce #primary {
    max-width: 100%;
    width: 1000px;
    margin: auto;
}

.single-product.woocommerce div.product .price {
    font-weight: 800;
    font-size: 30px;
    line-height: 41px;
    letter-spacing: normal;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.single-product.woocommerce select#pa_weight {
    text-indent: 10px;
    outline: none;
}

button.single_add_to_cart_button.button.alt {
    color: #fff;
    min-width: 3.25rem;
    padding: 0.5em 1.25em;
    text-align: center;
    border-radius: 0;
    font-weight: 500;
    text-shadow: none !important;
    line-height: 22px;
    transition: all .45s;
    background: var(--primary-color) !important;
    box-shadow: none;
    border: none;
}

.woocommerce-product-details__short-description p,
.woocommerce div.product form.cart .variations {
    margin-bottom: 30px;
}

.woocommerce .quantity .qty {
    padding: 8px;
    max-height: 38px;
}

/* Hide the price inside the variation form to avoid duplication */
.single-product.woocommerce div.product .variations_form .woocommerce-variation-price {
    display: none !important;
}

.product_meta a,
.woocommerce div.product form.cart .reset_variations {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.product_meta a:hover {
    color: var(--secondary-color);
}

button.single_add_to_cart_button.button.alt:hover {
    background: var(--secondary-color) !important;
}

.product_meta {
    display: flex;
    flex-direction: column;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: rgba(245, 233, 209, 0.98);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background-color: transparent;
    border-radius: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
    box-shadow: none;
    border-width: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after, 
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    border: none;
    position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--primary-color);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--secondary-color);
}

.woocommerce div.product .woocommerce-tabs .panel {
    border: 1px solid #f3ece4;
    padding: 40px;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 20px 0;
    text-align: center;
}

.woocommerce ul.products.columns-3 li.product .product-image a img {
    transform: scale(1)!important;
}

td.product-thumbnail img {
    min-width: 100px;
}

.woocommerce a.remove:hover {
    color: initial!important;
    background: none!important;
}

.woocommerce a.remove {
    font-size: 24px;
    padding: 0;
    line-height: 25px;
    font-weight: 400;
    transition: all .215s ease;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    overflow: visible;
    letter-spacing: normal;
}

.woocommerce th.product-name a,
td.woocommerce-table__product-name.product-name a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
}

.woocommerce td.product-price,
.woocommerce span.woocommerce-Price-amount.amount {
    font-weight: 600;
}

.woocommerce .actions button.button,
.woocommerce section#shipping-calculator-form button,
a.checkout-button.button.alt.wc-forward,
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
a.button.wc-backward {
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 0;
    transition: all 0.3s ease !important;
}

.woocommerce .actions button.button:hover,
.woocommerce section#shipping-calculator-form button:hover,
a.checkout-button.button.alt.wc-forward:hover,
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover,
a.button.wc-backward:hover {
    background-color: var(--secondary-color)!important;
    color: #fff!important;
}

.product-info a.btn.btn-primary {
    font-size: 15px !important;
}

a.shipping-calculator-button {
    color: var(--primary-color);
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    box-shadow: none;
    border: none;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 2rem;
}

/* Footer styles */

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    display: inline-block;
    transition: color 0.2s;
}

.footer-social-svg {
    width: 32px;
    height: 32px;
    display: block;
    fill: #fff;
    transition: fill 0.2s;
}

.footer-social-svg g {
    fill: #fff;
}

.footer-social-link:hover .footer-social-svg g {
    fill: #d39430;
}

footer#colophon ul a:hover {
    color: #d39430;
}

footer#colophon h3 {
    margin-bottom: 20px;
}

footer#colophon ul li {
    margin-bottom: 5px;
}

footer#colophon ul a {
    color: #fff;
    text-decoration: none;
}

footer#colophon ul {
    padding: 0;
    list-style-type: none;
}

.contact_wrapp h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contact_wrapp a {
    color: #9c4c24;
}

button.carousel-control-prev, 
button.carousel-control-next {
    z-index: 999;
}

/* TABLET SCREENS */
@media (max-width: 992px) {

    .site-header {
        background-color: rgba(245, 233, 209, 0.98);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    button.navbar-toggler,
    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .hero-decorations {
        display: none;
    }

    .carousel-item {
        padding-bottom: 60px;
        text-align: center;
    }

    .carousel-inner {
        padding-top: 90px;
    }

    #navbarNav .ms-3 {
        margin: 0 15px!important;
    }

    .hero-content p {
        margin: 0 auto 24px auto;
    }

    .gift-content {
        margin-bottom: 40px;
        text-align: center;
    }

    .products-section {
        background-size: 30%, 30%, contain;
    }

    .product-image img,
    .woocommerce ul.products li.product .product-image img {
        transform: scale(1);
    }

    .product-card .product-info h3, 
    .woocommerce ul.products li.product .product-info h3 a, 
    .product-card .product-info h3 a,
    h2.woocommerce-loop-product__title {
        font-size: 24px!important;
    }

    .quote-section h2 {
        font-size: 3rem;
        margin-bottom: 0;
    }

    .story-section {
        background: url(images/beehive.png) no-repeat top left, linear-gradient(135deg, var(--accent-color) 0%, #f0e4d0 100%);
        background-size: 60%, contain;
        text-align: center;
    }

    .story-image {
        margin-bottom: 40px;
    }

    .woocommerce ul.products[class*=columns-] li.product, 
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 50%;
        float: left;
        margin: 0 0 0px 0;
    }

}

/* SMALL SCREENS */
@media (max-width: 768px) {

    .quote-section h2,
    .final-cta-section h2 {
        font-size: 2rem;
    }

    .products-section {
        padding: 100px 0;
        background: url(images/left_corner.png) no-repeat bottom left, url(images/right_corner.png) no-repeat top right, linear-gradient(135deg, var(--accent-color) 0%, #f0e4d0 100%);
        background-size: 40%, 40%, contain;
    }

    .single-product.woocommerce #primary {
        max-width: 100%;
    }

    section.hero-section.pp_hero {
        background-size: auto, cover, 50%, 70%;
        padding-top: 80px;
    }
}

/* SMALLEST SCREENS */
@media screen and (max-width: 576px) {

    .custom-logo {
        max-height: 60px!important;
    }

    .decoration-flower:nth-child(1),
    .hero-image .bees:last-child, 
    .story-image .bees:last-child {
        width: 80px!important;
    }

    .products-section .subtitle {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 0;
    }

    .page-header.hero-content h1 {
        text-align: center;
    }

    .woocommerce ul.products[class*=columns-] li.product, 
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float: left;
        clear: both;
        margin: 0 0 0px 0;
    }

    .woocommerce-shop h1.page-title, 
    .woocommerce-result-count, 
    .woocommerce-ordering {
        text-align: center;
        width: 100%;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        padding: 10px;
    }

    section.related.products h2 {
        text-align: center;
    }
}