/*
Theme Name: Duckenso
Theme URI: https://github.com/duckyname
Author: Duckname
Author URI: https://github.com/duckyname
Description: A custom WordPress theme for Enso Bulgaria. Clean and modern design ready for customization.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duckenso
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Hero Section */
.site-header {
    position: relative;
    width: 100%;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Hero Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

/* Ensure video is visible when media type is video */
.hero-section.has-video {
    background-image: none !important;
}

/* Top Bar */
.hero-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    width: 100%;
    transition: all 0.3s ease;
}

.hero-top-bar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

/* Hide header when at top on non-home pages */
.hero-top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* On pages without full hero section, header should have white background when scrolled */
body:not(.home) .hero-top-bar.scrolled,
body.page .hero-top-bar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:not(.home) .hero-top-bar:not(.scrolled) .menu-toggle span,
body.page .hero-top-bar:not(.scrolled) .menu-toggle span {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body:not(.home) .hero-top-bar.scrolled .menu-toggle span,
body.page .hero-top-bar.scrolled .menu-toggle span {
    background-color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body:not(.home) .hero-top-bar .site-title a,
body.page .hero-top-bar .site-title a {
    color: #333;
    text-shadow: none;
}

.hero-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-branding {
    z-index: 11;
}

.site-branding .custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.site-branding .main-logo {
    display: block;
}

.site-branding .sticky-logo {
    display: none;
}

.hero-top-bar.scrolled .site-branding .main-logo {
    display: none;
}

.hero-top-bar.scrolled .site-branding .sticky-logo {
    display: block;
}

.hero-top-bar.scrolled .site-branding .custom-logo {
    max-height: 60px;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-top-bar.scrolled .site-title a {
    color: #333;
    text-shadow: none;
}

.site-title a:hover {
    opacity: 0.8;
}

/* Right Side: Button + Menu */
.hero-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 11;
    position: relative;
}

.hero-header-right .menu-toggle {
    z-index: 10000;
}

.btn-zapitvane {
    padding: 12px 30px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-zapitvane:hover {
    background-color: #f0f0f0;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-top-bar.scrolled .btn-zapitvane {
    background-color: #000;
    color: #fff;
}

.hero-top-bar.scrolled .btn-zapitvane:hover {
    background-color: #333;
    color: #fff;
}

/* Hamburger Menu */
.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10000;
    position: relative;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-toggle:hover span {
    background-color: #f0f0f0;
}

.hero-top-bar.scrolled .menu-toggle span {
    background-color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-top-bar.scrolled .menu-toggle:hover span {
    background-color: #333;
}

.menu-toggle.active {
    z-index: 10000;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Close button inside menu */
.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10001;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

/* Mobile - Move close button down */
@media (max-width: 768px) {
    .menu-close {
        top: 60px;
        right: 20px;
        padding: 12px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .menu-close {
        top: 50px;
        right: 15px;
        padding: 10px;
        width: 32px;
        height: 32px;
    }
}

.menu-close span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    display: block;
    position: absolute;
}

.menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
    opacity: 0;
}

.menu-close span:nth-child(3) {
    transform: rotate(-45deg);
}

.menu-close:hover span {
    background-color: #f0f0f0;
}

/* Navigation Menu */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 9999;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation.active {
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
}

.main-navigation .container {
    padding: 80px 20px 40px;
    opacity: 0;
    transition: opacity 0.3s ease 0.15s;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile - Add more top padding to account for close button */
@media (max-width: 768px) {
    .main-navigation .container {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .main-navigation .container {
        padding-top: 100px;
    }
}

.main-navigation.active .container {
    opacity: 1;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin: 0;
    padding: 0;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.4;
    transition: color 0.3s ease, transform 0.2s ease;
    display: block;
    padding: 10px 0;
}

.main-navigation a:hover {
    color: #f0f0f0;
    transform: translateX(10px);
}

/* Menu items with children */
.main-navigation .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.main-navigation .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #fff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.main-navigation .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

/* Submenu */
.main-navigation .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding-left: 20px;
}

.main-navigation .menu-item-has-children.open > .sub-menu {
    max-height: 500px;
    opacity: 1;
    padding-top: 15px;
    padding-bottom: 10px;
}

.main-navigation .sub-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation .sub-menu a {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
}

.main-navigation .sub-menu a:hover {
    color: #f0f0f0;
    transform: translateX(10px);
}

/* Desktop - Larger font */
@media (min-width: 768px) {
    .main-navigation a {
        font-size: 36px;
    }
    
    .main-navigation ul {
        gap: 40px;
    }
    
    .main-navigation .sub-menu a {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .main-navigation a {
        font-size: 42px;
    }
    
    .main-navigation .sub-menu a {
        font-size: 32px;
    }
}

/* Hero Content - Animated Text */
.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Override for single posts */
body.single .hero-content {
    align-items: flex-end !important;
    padding: 0 !important;
    padding-bottom: 200px !important;
}

.hero-content .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Single Post Hero Text - Centered - Removed duplicate, using body.single below */

.hero-text-wrapper {
    width: 100%;
    max-width: 800px;
}

.hero-text {
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out 0.5s forwards;
    text-align: center;
}

/* Single Post Hero Text - Centered */
body.single .hero-content {
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
    padding-bottom: 400px !important;
}

body.single .hero-content .container {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 20px !important;
}

.hero-text-wrapper-single {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-top: 0;
}

.hero-text-single {
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    text-align: center;
    width: 100%;
    margin: 0;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #978860;
    cursor: pointer;
    animation: bounce 2s infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-down-arrow:hover {
    opacity: 1;
}

/* Mobile - Move arrow higher to avoid being cut off */
@media (max-width: 768px) {
    .scroll-down-arrow {
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .scroll-down-arrow {
        bottom: 80px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Main Content */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
    position: relative;
    z-index: 1;
}

/* Front Page Styles */
.front-page-main {
    padding: 0;
    margin: 0;
}

.front-page-contact-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Front Page Text Section */
.front-page-text-section {
    padding: 80px 0 20px 0;
    background-color: #fff;
    overflow: hidden;
}

.front-page-text-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: calc(18px + 12 * (100vw - 320px) / 1280) !important;
    line-height: calc(28px + 20 * (100vw - 320px) / 1280) !important;
    /*color: #978860;*/
    color: #000;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeIn 1s ease-out 0.3s forwards;
    font-weight: 600;
    position: relative;
}

.front-page-text-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 2px;
    background-color: #000;
}

.front-page-text-content p:last-child {
    margin-bottom: 0;
}

.front-page-text-content p {
    margin-bottom: 20px;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Front Page Media Section */
.front-page-media-section {
    padding: 20px 0 60px 0;
    /*background-color: #f5f5f5;*/
    overflow: hidden;
}

.front-page-media-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeIn 1s ease-out 0.6s forwards;
}

/* Shortcode wrapper - clean, no background, centered */
.front-page-shortcode {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.front-page-shortcode > * {
    margin: 0 auto;
}

/* Video & Text Section */
.front-page-video-text-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.video-text-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.video-text-video {
    flex: 0 0 60%;
    width: 60%;
    position: relative;
    overflow: hidden;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-text-video video {
    width: 80%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.video-text-content {
    flex: 0 0 40%;
    width: 40%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-radius: 0;
}

.video-text-content h2 {
    font-size: calc(28px + 16 * (100vw - 320px) / 1280);
    color: #000;
    margin: 0 0 30px 0;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.video-text-paragraph {
    font-size: calc(16px + 4 * (100vw - 320px) / 1280);
    line-height: 1.8;
    color: #333;
    text-align: right;
}

.video-text-paragraph p {
    margin-bottom: 15px;
}

.video-text-paragraph p:last-child {
    margin-bottom: 0;
}

/* Third Video & Text Section - Smaller title */
.front-page-video-text-section:last-of-type .video-text-content h2 {
    font-size: calc(24px + 12 * (100vw - 320px) / 1280);
}

/* Responsive for Video & Text Section */
@media (max-width: 968px) {
    .video-text-wrapper {
        flex-direction: column;
    }
    
    .video-text-video {
        flex: 0 0 auto;
        width: 100%;
        max-height: 400px;
    }
    
    .video-text-video video {
        max-height: 400px;
    }
    
    .video-text-content {
        flex: 0 0 auto;
        width: 100%;
        padding: 60px 40px;
    }
    
    .video-text-content h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .video-text-paragraph {
        text-align: center;
    }
}

/* Text & Video Section (Reversed) */
.front-page-text-video-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.text-video-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: row-reverse;
}

.text-video-content {
    flex: 0 0 40%;
    width: 40%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-radius: 0;
}

.text-video-content h2 {
    font-size: calc(28px + 16 * (100vw - 320px) / 1280);
    color: #000;
    margin: 0 0 30px 0;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.text-video-paragraph {
    font-size: calc(16px + 4 * (100vw - 320px) / 1280);
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.text-video-paragraph p {
    margin-bottom: 15px;
}

.text-video-paragraph p:last-child {
    margin-bottom: 0;
}

.text-video-video {
    flex: 0 0 60%;
    width: 60%;
    position: relative;
    overflow: hidden;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-video-video video {
    width: 80%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

/* Responsive for Text & Video Section */
@media (max-width: 968px) {
    .text-video-wrapper {
        flex-direction: column;
    }
    
    .text-video-video {
        flex: 0 0 auto;
        width: 100%;
        max-height: 400px;
        order: 1;
    }
    
    .text-video-video video {
        max-height: 400px;
    }
    
    .text-video-content {
        flex: 0 0 auto;
        width: 100%;
        padding: 60px 40px;
        order: 2;
        border-radius: 0;
    }
    
    .text-video-content h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .text-video-paragraph {
        text-align: center;
    }
}

.front-page-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.front-page-video iframe,
.front-page-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.front-page-image {
    width: 100%;
    text-align: center;
}

.front-page-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.front-page-media-placeholder {
    padding: 60px 20px;
    text-align: center;
    background-color: #e0e0e0;
    color: #666;
    border: 2px dashed #ccc;
    border-radius: 4px;
}

.front-page-media-placeholder p {
    margin: 0;
    font-style: italic;
}

/* Front Page Section 1 - Image Left, Text Right */
.front-page-section-1 {
    padding: 0;
    background-color: #fafafa;
    position: relative;
    overflow: visible;
    z-index: 2;
}

.section-1-content {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.section-1-image {
    flex: 0 0 60%;
    min-width: 0;
    height: 100vh;
    position: relative;
    margin-left: 0;
    padding-left: 0;
    z-index: 1;
}

.section-1-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left center;
    min-width: 100%;
    min-height: 100%;
}

.section-1-text {
    flex: 0 0 40%;
    display: flex;
    flex-direction: row;
    gap: 60px;
    padding: 80px 40px;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #fafafa;
}

.section-1-text-item {
    display: flex;
    align-items: flex-start;
}

.section-1-text-item h2 {
    font-size: calc(28px + 24 * (100vw - 320px) / 1280);
    line-height: 1.2;
    /*color: #333;*/
    color: #978860;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    white-space: nowrap;
    height: auto;
}

/* Front Page Section 2 - Text Left, Image Right */
.front-page-section-2 {
    padding: 0;
    background-color: #fafafa;
    position: relative;
    overflow: visible;
    margin-top: -50px;
    z-index: 1;
}

.section-2-content {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: row;
    min-height: 100vh;
}

.section-2-text {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 60px;
    justify-content: center;
    background-color: #fafafa;
    z-index: 2;
}

.section-2-text-content {
    font-size: calc(12px + 28 * (100vw - 320px) / 1280);
    line-height: 1.3;
    color: #978860;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: right;
}

.section-2-text-content > div {
    margin-bottom: 10px;
}

.section-2-text-content > div:last-child {
    margin-bottom: 0;
}

.section-2-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #fafafa;
    color: #978860;
    border: 1px solid #978860;
    text-decoration: none;
    font-weight: 600;
    font-size: calc(12px + 6 * (100vw - 320px) / 1280);
    text-align: center;
    transition: all 0.3s ease;
    max-width: 250px;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: flex-end;
}

.section-2-button:hover {
    background-color: #978860;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 136, 96, 0.4);
}

.section-2-image {
    flex: 0 0 60%;
    min-width: 0;
    height: 100vh;
    position: relative;
    margin-top: 0px;
    z-index: 1;
    align-self: flex-start;
}

.section-2-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: right center;
}

/* Responsive for Sections */
@media (max-width: 968px) {
    .front-page-section-1 {
        padding: 0;
    }
    
    .section-1-content {
        flex-direction: column;
        gap: 10px;
        min-height: auto;
    }
    
    .section-1-image {
        flex: 0 0 auto;
        height: 50vh;
        width: 100%;
    }
    
    .section-1-text {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        min-height: auto;
        text-align: center;
        align-items: center;
    }
    
    .section-1-text-item h2 {
        writing-mode: horizontal-tb;
        text-align: center;
    }
    
    .section-2-content {
        flex-direction: column-reverse;
        gap: 10px;
        min-height: auto;
    }
    
    .section-2-image {
        flex: 0 0 auto;
        height: 50vh;
        margin-top: 0;
    }
    
    .section-2-text {
        flex: 0 0 auto;
        text-align: center;
        align-items: center;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .section-2-text-content {
        text-align: center;
    }
    
    .section-2-button {
        max-width: 100%;
        align-self: center;
    }
    
    .front-page-section-2 {
        padding: 0;
        margin-top: 0;
    }
}

/* Front Page Banner Section */
.front-page-banner-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.front-page-banner-section.has-video {
    background-image: none !important;
}

.banner-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 20px;
}

.banner-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.banner-small-text {
    font-size: calc(14px + 4 * (100vw - 320px) / 1280);
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 7px;
}

.banner-title {
    font-size: calc(12px + 32 * (100vw - 320px) / 1280);
    color: #fff;
    text-align: center;
    margin: 0 0 30px 0;
    font-weight: 700;
    line-height: 1.1;
}

.banner-paragraph {
    font-size: calc(8px + 8 * (100vw - 320px) / 1280);
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

.banner-paragraph p {
    margin-bottom: 15px;
}

.banner-paragraph p:last-child {
    margin-bottom: 0;
}

/* Responsive for Banner Section */
@media (max-width: 768px) {
    .front-page-banner-section {
        min-height: 50vh;
    }
    
    .banner-content {
        padding: 60px 20px;
    }
    
    .banner-small-text {
        margin-bottom: 15px;
    }
    
    .banner-title {
        margin-bottom: 20px;
        font-size: calc(20px + 32 * (100vw - 320px) / 1280);
    }
    
    .banner-paragraph {
        font-size: calc(15px + 8 * (100vw - 320px) / 1280);
    }
}

@media (max-width: 480px) {
    .front-page-banner-section {
        min-height: 40vh;
    }
    
    .banner-content {
        padding: 40px 15px;
    }
}

/* Lessons Section */
.front-page-lessons-section {
    padding: 80px 0;
    background-color: #fff;
}

.lessons-section-header {
    margin-bottom: 60px;
    width: 100%;
}

.lessons-section-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.front-page-lessons-section > .container {
    max-width: 2000px;
    padding: 0 40px;
}

.lessons-section-title {
    font-size: calc(32px + 32 * (100vw - 320px) / 1280);
    text-align: left;
    color: #000;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lessons-section-title a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.lessons-section-title a:hover {
    opacity: 0.7;
}

.lessons-view-all {
    color: #555;
    text-decoration: underline;
    font-weight: 600;
    font-size: calc(14px + 4 * (100vw - 320px) / 1280);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.lessons-view-all:hover {
    color: #333;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    margin: 0 auto;
}

.lesson-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lesson-item:hover {
    transform: translateY(-5px);
}

.lesson-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 200%; /* 0.5x от предишната височина (253.125% * 0.5 = 126.5625%) */
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
    margin-bottom: 15px;
}

.lesson-thumbnail-video,
.lesson-thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.lesson-item:hover .lesson-thumbnail-video,
.lesson-item:hover .lesson-thumbnail-image {
    transform: scale(1.05);
}

.lesson-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: background-color 0.3s ease;
}

.lesson-item:hover .lesson-play-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.lesson-play-overlay svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.lesson-title {
    font-size: calc(14px + 4 * (100vw - 320px) / 1280);
    color: #333;
    margin: 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.4;
}

/* Fullscreen Video Modal */
.lesson-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lesson-video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lesson-video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lesson-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1400px;
    z-index: 100000;
}

.lesson-video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 100001;
}

.lesson-video-modal-close:hover {
    transform: rotate(90deg);
}

.lesson-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.lesson-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lesson-video-container iframe.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive for Lessons Section */
@media (max-width: 1200px) {
    .lessons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .lessons-section-header .container {
        padding: 0 20px;
    }
    
    .lessons-section-header {
        margin-bottom: 40px;
    }
    
    .lessons-section-title {
        font-size: calc(28px + 20 * (100vw - 320px) / 1280);
    }
}

@media (max-width: 768px) {
    .lessons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .lessons-section-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 0 20px;
    }
    
    .lessons-section-header {
        margin-bottom: 30px;
    }
    
    .lessons-section-title {
        font-size: calc(24px + 12 * (100vw - 320px) / 1280);
    }
}

@media (max-width: 480px) {
    .lessons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lesson-video-modal-content {
        width: 95%;
    }
    
    .lesson-video-modal-close {
        top: -40px;
        font-size: 36px;
    }
}

/* News Section */
.front-page-news-section {
    padding: 100px 0;
    background-color: #fff;
}

.news-section-title {
    font-size: calc(32px + 32 * (100vw - 320px) / 1280);
    text-align: center;
    color: #978860;
    margin: 0 0 60px 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.news-section-title::before,
.news-section-title::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 2px;
    background-color: #978860;
    display: block;
}

.news-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-post-item {
    display: flex;
    flex-direction: column;
}

.news-post-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.news-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-post-image a:hover img {
    transform: scale(1.05);
}

.news-post-title {
    margin: 0 0 10px 0;
    font-size: calc(16px + 8 * (100vw - 320px) / 1280);
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.news-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-post-title a:hover {
    color: #978860;
}

.news-post-date {
    font-size: calc(12px + 4 * (100vw - 320px) / 1280);
    color: #978860;
    margin-top: auto;
    text-align: center;
}

.no-news {
    text-align: center;
    color: #978860;
    font-size: 18px;
    padding: 40px 0;
}

/* Products Section */
.front-page-products-section {
    padding: 100px 0;
    background-color: #fff;
    width: 100%;
}

.products-section-header {
    margin-bottom: 60px;
    width: 100%;
}

.products-section-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.products-section-title {
    font-size: calc(32px + 32 * (100vw - 320px) / 1280);
    color: #000;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.products-view-all {
    color: #555;
    text-decoration: underline;
    font-weight: 600;
    font-size: calc(14px + 4 * (100vw - 320px) / 1280);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.products-view-all:hover {
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0 40px;
}

.product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 8px;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-title {
    margin: 0 0 8px 0;
    font-size: calc(18px + 6 * (100vw - 320px) / 1280);
    line-height: 1.4;
    font-weight: 700;
    text-align: left;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #978860;
}

.product-price {
    font-size: calc(18px + 6 * (100vw - 320px) / 1280);
    color: #333;
    text-align: left;
    font-weight: 400;
}

.product-price .woocommerce-Price-amount {
    color: #333;
}

.no-products {
    text-align: center;
    color: #978860;
    font-size: 18px;
    padding: 40px 0;
}

/* Responsive for Products Section */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .front-page-products-section {
        padding: 60px 0;
    }
    
    .products-section-header .container {
        padding: 0 20px;
    }
    
    .products-section-header {
        margin-bottom: 40px;
    }
    
    .products-section-title {
        font-size: calc(28px + 20 * (100vw - 320px) / 1280);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .front-page-products-section {
        padding: 40px 0;
    }
    
    .products-section-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 0 20px;
    }
    
    .products-section-header {
        margin-bottom: 30px;
    }
    
    .products-section-title {
        font-size: calc(24px + 12 * (100vw - 320px) / 1280);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
}

/* Responsive for News Section */
@media (max-width: 968px) {
    .news-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .front-page-news-section {
        padding: 60px 0;
    }
    
    .news-section-title {
        font-size: calc(28px + 20 * (100vw - 320px) / 1280);
        margin-bottom: 40px;
    }
    
    .news-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .front-page-news-section {
        padding: 40px 20px;
    }
    
    .news-section-title {
        font-size: calc(24px + 12 * (100vw - 320px) / 1280);
        margin-bottom: 30px;
    }
    
    .news-posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-post-image {
        margin-bottom: 15px;
    }
}

/* Contact Section */
.front-page-contact-section {
    padding: 0;
    margin: 0;
    background-color: #fff;
}

.contact-content-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 60vh;
}

.contact-text {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    background-color: #fafafa;
}

.contact-title {
    font-size: calc(24px + 24 * (100vw - 320px) / 1280);
    color: #978860;
    margin: 0 0 30px 0;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.contact-phone {
    font-size: calc(18px + 12 * (100vw - 320px) / 1280);
    color: #333;
    font-weight: 600;
    text-align: center;
}

.contact-phone a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #978860;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #978860;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-phone a:hover {
    background-color: #978860;
    color: #fff;
}

.contact-phone .phone-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #978860;
    transition: color 0.3s ease;
}

.contact-phone a:hover .phone-icon {
    color: #fff;
}

.contact-image {
    flex: 0 0 60%;
    min-width: 0;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.contact-map {
    width: 100%;
    height: 500px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: block;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Responsive for Contact Section */
@media (max-width: 968px) {
    .contact-content-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .contact-text {
        flex: 0 0 auto;
        padding: 40px 20px;
        text-align: center;
    }
    
    .contact-title {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-image {
        flex: 0 0 auto;
        width: 100%;
        height: 50vh;
    }
    
    .contact-map {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .contact-text {
        padding: 30px 20px;
    }
    
    .contact-title {
        font-size: calc(20px + 16 * (100vw - 320px) / 1280);
        margin-bottom: 15px;
    }
    
    .contact-phone {
        font-size: calc(16px + 8 * (100vw - 320px) / 1280);
    }
    
    .contact-image {
        height: 40vh;
    }
    
    .contact-map {
        height: 300px;
    }
}

/* Footer */
.site-footer {
    background-color: #fafafa;
    padding: 60px 0;
    margin-top: 0 !important;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 0 0 300px;
    min-width: 250px;
}

.footer-left .custom-logo-link,
.footer-left .site-logo-text {
    display: block;
    margin-bottom: 20px;
    text-align: left;
}

.footer-left .custom-logo-link img {
    max-width: 200px;
    height: auto;
}

.footer-left .site-logo-text a {
    font-size: 24px;
    font-weight: 700;
    color: #978860;
    text-decoration: none;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    text-align: left;
}

.footer-columns {
    display: flex;
    gap: 60px;
    flex: 1;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column-1 {
    text-align: right;
}

.footer-column-1 .footer-column-title {
    text-align: right;
}

.footer-column-2 {
    text-align: left;
}

.footer-column-2 .footer-column-title {
    text-align: left;
}

.footer-column-3 {
    text-align: center;
}

.footer-column-3 .footer-column-title {
    text-align: center;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #978860;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #000;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: transparent;
}

.social-link:hover {
    color: #fff;
    background-color: #000;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-copyright {
    width: 100%;
    padding: 20px 0 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright-left {
    flex: 1;
    text-align: left;
}

.footer-copyright-right {
    flex: 1;
    text-align: right;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* WooCommerce - Remove breadcrumbs and sidebar */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
    display: none !important;
}

.woocommerce-sidebar,
#secondary,
.widget-area {
    display: none !important;
}

/* WooCommerce - Limit width and style category title */
.woocommerce .site-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.woocommerce .woocommerce-products-header__title,
.woocommerce .page-title,
.woocommerce h1.page-title {
    color: #000;
    font-weight: 700;
    font-size: calc(32px + 32 * (100vw - 320px) / 1280);
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* WooCommerce Product Image Hover Effect */
.woocommerce ul.products li.product .product-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;
}

.woocommerce ul.products li.product .product-image-wrapper a {
    display: block;
    position: relative;
}

.woocommerce ul.products li.product .product-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.woocommerce ul.products li.product .product-main-image {
    position: relative;
    z-index: 1;
}

.woocommerce ul.products li.product .product-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Hover effect - if there's a second image, show it */
.woocommerce ul.products li.product .product-image-wrapper.has-hover-image:hover .product-hover-image {
    opacity: 1;
}

.woocommerce ul.products li.product .product-image-wrapper.has-hover-image:hover .product-main-image {
    opacity: 0;
}

/* Hover effect - if no second image, zoom the main image */
.woocommerce ul.products li.product .product-image-wrapper.no-hover-image .product-main-image {
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product .product-image-wrapper.no-hover-image:hover .product-main-image {
    transform: scale(1.1);
}

/* WooCommerce Product Title - Larger */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    font-size: calc(16px + 8 * (100vw - 320px) / 1280);
    line-height: 1.4;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    margin: 0 0 10px 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: #978860;
}

/* WooCommerce Product Price - Larger and Black */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-Price-amount {
    font-size: calc(18px + 6 * (100vw - 320px) / 1280);
    color: #000;
    font-weight: 400;
    margin: 0;
}

.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount {
    color: #999;
    font-size: 0.9em;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #000;
}

/* Single Product Page Styles */
.woocommerce div.product {
    border-top: none !important;
    border: none !important;
}

.woocommerce div.product::before,
.woocommerce div.product::after {
    display: none !important;
}

.woocommerce div.product .summary {
    padding-top: 20px;
    border-top: none !important;
    border: none !important;
}

.woocommerce div.product .summary::before,
.woocommerce div.product .summary::after {
    display: none !important;
}

.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title {
    border-top: none !important;
    border: none !important;
    margin-top: 0;
    padding-top: 0;
}

.woocommerce div.product .product_title::before,
.woocommerce div.product h1.product_title::before {
    display: none !important;
}

/* Remove any border-top from product wrapper */
.woocommerce .site-main .woocommerce div.product,
.woocommerce-page .site-main .woocommerce div.product,
.woocommerce-page .woocommerce div.product {
    border-top: none !important;
    border: none !important;
}

/* Remove border from entry content on product pages */
.woocommerce-page .entry-content,
.single-product .entry-content,
.woocommerce-page .site-main,
.single-product .site-main {
    border-top: none !important;
}

/* Remove border from product images wrapper */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .images {
    border-top: none !important;
}

/* Remove any hr or separator elements */
.woocommerce div.product hr,
.woocommerce div.product .separator {
    display: none !important;
}

/* Remove border from all possible wrappers before product */
.woocommerce-page .content-area,
.woocommerce-page .site-content,
.woocommerce-page main,
.single-product .content-area,
.single-product .site-content,
.single-product main {
    border-top: none !important;
}

/* Remove border from product images and summary wrapper */
.woocommerce div.product .images,
.woocommerce div.product .woocommerce-product-gallery__wrapper {
    border-top: none !important;
}

/* Check for any element with border-top before product title */
.woocommerce div.product > * {
    border-top: none !important;
}

.woocommerce div.product .summary > *:first-child {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove border from all possible parent elements */
body.woocommerce-page .site-main,
body.single-product .site-main,
body.woocommerce-page .content-area,
body.single-product .content-area {
    border-top: none !important;
}

/* Remove border from product container */
.woocommerce-page .woocommerce .woocommerce-product-gallery,
.woocommerce-page .woocommerce .summary {
    border-top: none !important;
}

/* Remove border-top from product page specific elements */
.woocommerce-page .woocommerce div.product,
.woocommerce-page .woocommerce div.product .summary,
.woocommerce-page .woocommerce div.product .product_title,
.woocommerce-page .woocommerce div.product h1,
.single-product .woocommerce div.product,
.single-product .woocommerce div.product .summary,
.single-product .woocommerce div.product .product_title,
.single-product .woocommerce div.product h1 {
    border-top: none !important;
    border-top-width: 0 !important;
    border-top-style: none !important;
    border-top-color: transparent !important;
    box-shadow: none !important;
}

/* Also check for any pseudo-elements that might create a line */
.woocommerce-page .woocommerce div.product::before,
.woocommerce-page .woocommerce div.product::after,
.woocommerce-page .woocommerce div.product .summary::before,
.woocommerce-page .woocommerce div.product .summary::after,
.single-product .woocommerce div.product::before,
.single-product .woocommerce div.product::after,
.single-product .woocommerce div.product .summary::before,
.single-product .woocommerce div.product .summary::after {
    border-top: none !important;
    display: none !important;
}

.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title {
    font-size: calc(28px + 12 * (100vw - 320px) / 1280);
    color: #000;
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce div.product .price,
.woocommerce div.product .woocommerce-Price-amount {
    font-size: calc(22px + 8 * (100vw - 320px) / 1280);
    color: #666;
    font-weight: 400;
}

.woocommerce div.product .price del,
.woocommerce div.product .price del .woocommerce-Price-amount {
    color: #999;
    font-size: 0.9em;
}

.woocommerce div.product .price ins {
    text-decoration: none;
    color: #666;
}

/* Order Button and Form */
.duckenso-order-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.duckenso-order-button {
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    border: none;
    font-size: calc(16px + 4 * (100vw - 320px) / 1280);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.duckenso-order-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.duckenso-order-button:hover::before {
    left: 100%;
}

.duckenso-order-button:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.duckenso-order-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.duckenso-order-form-wrapper {
    margin-top: 25px;
    padding: 0;
    background-color: transparent;
    border: none;
    overflow: hidden;
}

.duckenso-order-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px 30px 20px 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.duckenso-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.duckenso-form-field label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: calc(13px + 2 * (100vw - 320px) / 1280);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.duckenso-form-field input {
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    font-size: calc(15px + 2 * (100vw - 320px) / 1280);
    color: #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.duckenso-form-field input:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.duckenso-form-field input::placeholder {
    color: #999;
    opacity: 0.7;
}

.duckenso-submit-button {
    padding: 18px 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    font-size: calc(14px + 2 * (100vw - 320px) / 1280);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.duckenso-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.duckenso-submit-button:hover::before {
    left: 100%;
}

.duckenso-submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea080 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.duckenso-submit-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.duckenso-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.duckenso-form-message {
    margin-top: 0;
    margin-bottom: 0;
    padding: 16px 20px;
    font-size: calc(14px + 2 * (100vw - 320px) / 1280);
    border-radius: 8px;
    font-weight: 500;
    line-height: 1.5;
    animation: slideIn 0.3s ease-out;
}

.duckenso-form-message:empty {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.duckenso-form-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #b8dacc;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
}

.duckenso-form-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f1b0b7;
    box-shadow: 0 2px 8px rgba(114, 28, 36, 0.1);
}

/* Product Accordion/FAQ Tabs */
.duckenso-product-accordion {
    margin: 40px 0;
    max-width: 100%;
}

.duckenso-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.duckenso-accordion-item:first-child {
    border-top: none !important;
}

.duckenso-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: calc(16px + 4 * (100vw - 320px) / 1280);
    font-weight: 700;
    color: #000;
    transition: all 0.3s ease;
}

.duckenso-accordion-header:hover {
    opacity: 0.8;
}

.duckenso-accordion-title {
    flex: 1;
}

.duckenso-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000;
}

.duckenso-accordion-item.active .duckenso-accordion-icon {
    transform: rotate(180deg);
}

.duckenso-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    padding: 0;
    opacity: 0;
}

.duckenso-accordion-item.active .duckenso-accordion-content {
    max-height: 5000px;
    padding: 0 0 20px 0;
    opacity: 1;
}

.duckenso-custom-tab-content {
    line-height: 1.6;
    color: #333;
    font-size: calc(14px + 2 * (100vw - 320px) / 1280);
}

.duckenso-custom-tab-content p {
    margin: 0 0 15px 0;
}

.duckenso-custom-tab-content p:last-child {
    margin-bottom: 0;
}

/* Remove duplicate "Описание" title from description content using JavaScript */

/* Hide default WooCommerce tabs */
.woocommerce div.product .woocommerce-tabs {
    display: none !important;
}

/*МАХАМ БУТОНА "Добави в количката"*/
.woocommerce div.product form.cart button.single_add_to_cart_button {
    display: none;
}

.woocommerce div.product .quantity {
    display: none;
}

.woocommerce-page div.product .single_variation_wrap .quantity {
    display: none !important;
}

/* Hide variation price that appears below (we'll update the main price instead) */
.woocommerce div.product .single_variation_wrap {
    display: none !important;
}

/* Style variations as radio buttons instead of select */
.woocommerce div.product .variations {
    margin: 30px 0;
}

.woocommerce div.product .variations tr {
    display: block;
    margin-bottom: 20px;
}

.woocommerce div.product .variations td.label {
    display: block;
    margin-bottom: 10px;
    padding: 0;
}

.woocommerce div.product .variations td.label label {
    font-weight: 700;
    color: #000;
    font-size: calc(14px + 2 * (100vw - 320px) / 1280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce div.product .variations td.value {
    display: block;
    padding: 0;
}

.woocommerce div.product .variations select {
    display: none !important;
}

.woocommerce div.product .variations .variation-radios {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.woocommerce div.product .variations .variation-radio-wrapper {
    position: relative;
}

.woocommerce div.product .variations .variation-radio-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.woocommerce div.product .variations .variation-radio-wrapper label {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #000;
    border-radius: 8px;
    background-color: #fff;
    color: #000;
    font-weight: 400;
    font-size: calc(14px + 2 * (100vw - 320px) / 1280);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    min-width: 120px;
    text-align: center;
}

.woocommerce div.product .variations .variation-radio-wrapper input[type="radio"]:checked + label {
    background-color: #000;
    color: #fff;
}

.woocommerce div.product .variations .variation-radio-wrapper label:hover {
    background-color: #f5f5f5;
}

.woocommerce div.product .variations .variation-radio-wrapper input[type="radio"]:checked + label:hover {
    background-color: #000;
    color: #fff;
}

/* Reset button styles */
.woocommerce div.product .variations .reset_variations {
    display: none !important;
}

/*МАХАМ ЗУМ ЕФЕКТА НА ИЗОБРАЖЕНИЯТА*/
.woocommerce div.product .woocommerce-product-gallery__wrapper {
    pointer-events: none !important;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }
    
    .footer-left {
        flex: 0 0 auto;
        text-align: center;
    }
    
    .footer-left .custom-logo-link,
    .footer-left .site-logo-text {
        text-align: center;
    }
    
    .footer-tagline {
        text-align: center;
    }
    
    .footer-columns {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-column {
        text-align: center !important;
    }
    
    .footer-column-1,
    .footer-column-2,
    .footer-column-3 {
        text-align: center !important;
    }
    
    .footer-column-1 .footer-column-title,
    .footer-column-2 .footer-column-title,
    .footer-column-3 .footer-column-title {
        text-align: center !important;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-copyright {
        padding: 20px 0 0;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright-left,
    .footer-copyright-right {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        padding: 30px 15px;
        gap: 30px;
    }
    
    .footer-column-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-menu li {
        margin-bottom: 10px;
    }
    
    .footer-menu a {
        font-size: 14px;
    }
    
    .footer-copyright {
        padding: 15px;
        margin-top: 30px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

/* Posts */
.post {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Single Post Styles */
.single .post {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0;
}

.single-post-title {
    font-size: calc(32px + 20 * (100vw - 320px) / 1280);
    line-height: 1.3;
    margin-bottom: 40px;
    color: #978860;
    font-weight: 700;
    text-align: center;
}

/* Show hero text and scroll arrow on single posts */
.single .scroll-down-arrow {
    display: block;
}

/* Drop Cap - First Letter */
.single-post-content > p:first-of-type::first-letter {
    float: left;
    font-size: 5em;
    line-height: 0.8;
    padding-right: 10px;
    padding-top: 8px;
    color: #978860;
    font-weight: 700;
}

.single-post-content {
    margin-top: 0;
}

.single-post-footer {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.post-date-only {
    text-align: left;
    color: #978860;
    font-size: 14px;
    margin-top: 12px;
}

.post-date-only .posted-on {
    color: #978860;
}

.post-title {
    font-size: calc(24px + 12 * (100vw - 320px) / 1280);
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #978860;
}

.post-meta {
    color: #978860;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.post-meta span {
    display: inline-block;
}

.post-meta .cat-links a {
    color: #978860;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta .cat-links a:hover {
    color: #7e6f49;
}

.post-content {
    margin-top: 25px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #978860;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-content h2 {
    font-size: 28px;
}

.post-content h3 {
    font-size: 24px;
}

.post-content h4 {
    font-size: 20px;
}

.post-content a {
    color: #978860;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #7e6f49;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid #978860;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #666;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: #666;
}

/* Links */
a {
    color: #0073aa;
    transition: color 0.3s ease;
}

a:hover {
    color: #005177;
}

/* Read More Link */
.read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #978860;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.read-more:hover {
    background-color: #7e6f49;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 136, 96, 0.4);
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.02);
}

.single .post-thumbnail {
    margin-bottom: 40px;
}

/* Related Posts Navigation */
.related-posts-navigation {
    margin: 60px 0;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-post-item {
    display: flex;
    flex-direction: column;
}

.related-post-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.related-post-image a:hover img {
    transform: scale(1.05);
}

.related-post-title {
    margin: 0 0 10px 0;
    font-size: calc(16px + 8 * (100vw - 320px) / 1280);
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #978860;
}

.related-post-date {
    font-size: calc(12px + 4 * (100vw - 320px) / 1280);
    color: #978860;
    margin-top: auto;
    text-align: center;
}

/* Responsive Related Posts */
@media (max-width: 968px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Post Navigation (Old - keeping for compatibility) */
.post-navigation {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation a {
    display: block;
    padding: 15px 20px;
    background-color: #fafafa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.post-navigation a:hover {
    background-color: #978860;
    color: #fff;
    border-color: #978860;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 12px;
    color: #978860;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.post-navigation a:hover .nav-subtitle {
    color: #fff;
}

.post-navigation .nav-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

/* Archive Header */
.page-header {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid #978860;
}

.page-title {
    font-size: calc(32px + 16 * (100vw - 320px) / 1280);
    color: #978860;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archive-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Entry Footer */
.entry-footer {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.single-post .entry-footer {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.page-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #fafafa;
    color: #978860;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background-color: #978860;
    color: #fff;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-submit {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-submit:hover {
    background-color: #005177;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.comment:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-top-bar {
        padding: 20px 0;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .btn-zapitvane {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-text {
        font-size: 24px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .single .post-title {
        font-size: 28px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    /* Front Page Responsive */
    .front-page-text-section {
        padding: 60px 0;
    }
    
    .front-page-text-content {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .front-page-media-section {
        padding: 40px 0;
    }
    
    /* Sections Responsive */
    .front-page-section-1,
    .front-page-section-2 {
        padding: 60px 0;
    }
    
    .section-1-content,
    .section-2-content {
        gap: 30px;
    }
    
    .section-1-text-item h2 {
        font-size: 20px;
        writing-mode: horizontal-tb;
        transform: none;
    }
    
    .section-2-text-content {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-header-content {
        flex-wrap: wrap;
    }
    
    .hero-text {
        font-size: 20px;
    }
    
    .btn-zapitvane {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* FAQ Page Styles */
.faq-page-main {
    padding: 60px 0 0;
}

.faq-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.faq-tab {
    padding: 18px 40px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: calc(16px + 4 * (100vw - 320px) / 1280);
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    bottom: -2px;
}

.faq-tab:hover {
    color: #000;
}

.faq-tab.active {
    color: #000;
    border-bottom-color: #000;
}

.faq-content {
    margin-bottom: 80px;
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(16px + 4 * (100vw - 320px) / 1280);
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: #000;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-answer.active {
    max-height: 2000px;
    padding: 0 30px 24px 30px;
}

.faq-answer-content {
    padding-top: 20px;
    font-size: calc(15px + 2 * (100vw - 320px) / 1280);
    line-height: 1.8;
    color: #555;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }

    .faq-tab {
        width: 100%;
        padding: 16px 20px;
        border-bottom: 1px solid #e0e0e0;
        border-left: 3px solid transparent;
        text-align: left;
        bottom: 0;
    }

    .faq-tab.active {
        border-bottom-color: #e0e0e0;
        border-left-color: #000;
    }

    .faq-question {
        padding: 20px;
        font-size: calc(15px + 2 * (100vw - 320px) / 1280);
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer.active {
        padding: 0 20px 20px 20px;
    }

    .faq-icon {
        font-size: 24px;
    }
}

