/*
Theme Name: Apartmanház Természetben
Description: Kétnyelvű WordPress téma apartmanház számára természeti környezetben
Version: 1.0
Text Domain: apartmanhaz-theme
*/

/* Tipográfia import - kötelezően a fájl tetején */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* CSS Reset és alapok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Színváltozók és responsive layout változók */
:root {
    --primary-color: #1F4B42;
    --white: #FFFFFF;
    --grey-light: #E6E6E6;
    --grey-medium: #8E99A2;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Responsive layout változók - teljes szélesség */
    --container-max-width: 100%;
    --container-wide-width: 100%;
    --container-padding: clamp(0.75rem, 2vw, 1.5rem);
    --content-max-width: 100%;
    --wide-max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
    padding-top: 0; /* Remove default padding */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Reszponzív alapok - teljes szélesség */
.container {
    max-width: none;
    margin: 0;
    padding: 0 var(--container-padding);
    width: 100%;
}

.container-wide {
    max-width: none;
    margin: 0;
    padding: 0 var(--container-padding);
    width: 100%;
}

.container-full {
    width: 100%;
    padding: 0 var(--container-padding);
}

/* Gombok */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(31, 75, 66, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 60px;
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    height: 100%;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: #2a5a4f;
}

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

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 60px;
}

.nav-menu a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}


/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 3px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    display: block;
    height: 2px;
    width: 20px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding-top: 0;
}

/* WordPress block editor compatibility */
.wp-block-cover.hero-parallax {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.hero-parallax {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(31, 75, 66, 0.2) 100%);
    z-index: 1;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vh, 5rem);
    width: 100%;
}

.hero-columns {
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    min-height: 60vh;
}

.hero-text-column {
    animation: fadeInLeft 1s ease-out;
}

.hero-info-column {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-title {
    margin-bottom: 2rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    line-height: 1.1 !important;
}

.hero-title strong {
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.7s both;
    font-size: clamp(1rem, 2.5vw, 1.3rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-btn-primary .wp-block-button__link {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a4f 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 25px rgba(31, 75, 66, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary .wp-block-button__link::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.6s ease;
}

.hero-btn-primary .wp-block-button__link:hover::before {
    left: 100%;
}

.hero-btn-primary .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(31, 75, 66, 0.4);
    background: linear-gradient(135deg, #2a5a4f 0%, var(--primary-color) 100%) !important;
}

.hero-btn-secondary .wp-block-button__link {
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-btn-secondary .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-btn-secondary .wp-block-button__link:hover::before {
    opacity: 1;
}

.hero-btn-secondary .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-info-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(31, 75, 66, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

.is-style-checkmark-list {
    list-style: none;
    padding-left: 0;
}

.is-style-checkmark-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.is-style-checkmark-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a4f 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(31, 75, 66, 0.3);
}

.is-style-checkmark-list li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Szobák bemutató */
.rooms-showcase {
    padding: 80px 0;
    background-color: var(--grey-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(31, 75, 66, 0.1);
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-content {
    padding: 1.5rem;
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.room-description {
    color: var(--grey-medium);
    margin-bottom: 1.5rem;
}

/* Galéria */
.gallery-section {
    padding: 80px 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Események */
.events-section {
    padding: 80px 0;
    background-color: var(--grey-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(31, 75, 66, 0.1);
}

.event-date {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Reszponzív design */
@media (max-width: 768px) {
    :root {
        --container-padding: clamp(0.75rem, 3vw, 1rem);
    }
    
    .site-header {
        height: 55px;
    }
    
    .hero-section-wrapper {
        margin-top: 55px;
        padding-top: 0;
    }
    
    .hero-parallax {
        background-attachment: scroll !important;
        min-height: 100vh;
    }
    
    .hero-columns {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-text-column,
    .hero-info-column {
        flex-basis: 100% !important;
    }
    
    .hero-content-container {
        padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1rem, 4vw, 1.5rem) clamp(2rem, 5vh, 3rem);
    }
    
    .hero-columns {
        min-height: 70vh;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .wp-block-button {
        width: 100%;
    }
    
    .header-content {
        padding: 0 var(--container-padding);
        height: 100%;
    }
    
    .site-branding {
        /* Mobilnézetben nincs extra margin szükséges */
    }
    
    .mobile-menu-toggle {
        margin-right: 0.5rem;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px rgba(31, 75, 66, 0.1);
        z-index: 999;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
    
    .nav-menu a {
        padding: 1rem;
        border-bottom: 1px solid var(--grey-light);
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .site-logo {
        font-size: 1.6rem;
        padding: 0.25rem 0.75rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .rooms-grid,
    .gallery-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1400px) {
    :root {
        --container-padding: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .room-card,
    .event-card {
        margin: 0 10px;
    }
    
    .section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
}

/* A container queries támogatás eltávolítva a kompatibilitás érdekében */
/* A responsive viselkedést a media queries kezelik */

/* Content area styling */
.content-area {
    padding: 2rem 0;
    min-height: 60vh;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.no-content {
    text-align: center;
    padding: 4rem 2rem;
}

.no-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-content p {
    color: var(--grey-medium);
    margin-bottom: 2rem;
}

.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-light);
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--grey-light);
}

.edit-link a {
    color: var(--grey-medium);
    text-decoration: none;
    font-size: 0.9rem;
}

.edit-link a:hover {
    color: var(--primary-color);
}

/* Gallery page styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(31, 75, 66, 0.1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(31, 75, 66, 0.25);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(31, 75, 66, 0.3);
}

.gallery-filter:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

.gallery-filter.active {
    background: var(--primary-color) !important;
    color: white !important;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(31, 75, 66, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 75, 66, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Body states */
body.menu-open {
    overflow: hidden;
}

body.menu-open .main-navigation {
    display: block !important;
}

.sr-only,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Oldal címek elrejtése minden esetben */
.entry-title,
.page .entry-title,
.single-page .entry-title,
.wp-block-post-title,
.entry-header .entry-title,
.site-main .entry-title {
    display: none !important;
}

/* Csak blog bejegyzéseknél jelenjen meg a cím */
.single-post .entry-title,
.blog .entry-title,
.archive .entry-title {
    display: block !important;
}

/* Szoba címek kiemelése a rooms-showcase pattern-ben */
.room-card .wp-block-post-title {
    display: block !important;
    font-family: var(--font-heading) !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--primary-color) !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em !important;
}

.room-card .wp-block-post-title a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.room-card .wp-block-post-title a:hover {
    color: #2a6b5e !important;
}

/* Szoba kártya stílusok javítása */
.room-card {
    transition: all 0.3s ease !important;
}

.room-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(31, 75, 66, 0.15) !important;
}

/* Testimonials Section Styles */
.testimonials-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(31, 75, 66, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 75, 66, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    z-index: 1;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="testimonial-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="%23ffffff" opacity="0.4"/><circle cx="10" cy="10" r="1" fill="%231F4B42" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%231F4B42" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23testimonial-pattern)"/></svg>') repeat;
    opacity: 0.6;
    z-index: 1;
}

.testimonials-carousel-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 
        0 25px 80px rgba(31, 75, 66, 0.15),
        0 10px 40px rgba(31, 75, 66, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    min-height: 320px;
    box-shadow: 
        0 20px 60px rgba(31, 75, 66, 0.08),
        0 8px 25px rgba(31, 75, 66, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.testimonial-slide::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: var(--font-heading);
    line-height: 1;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(31, 75, 66, 0.1);
}

.testimonial-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(31, 75, 66, 0.02) 100%);
    border-radius: 25px;
    pointer-events: none;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: testimonialSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide.prev {
    transform: translateX(-30px) scale(0.98);
}

.testimonial-slide.next {
    transform: translateX(30px) scale(0.98);
}

@keyframes testimonialSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateX(0) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.testimonial-rating {
    margin-top: 1rem;
}

.testimonial-rating .has-accent-color {
    color: #fbbf24 !important;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
    font-size: 1.4rem !important;
    letter-spacing: 0.1em;
}

/* Navigation Styles */
.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonials-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(31, 75, 66, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(31, 75, 66, 0.1);
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.testimonial-dot:hover {
    background: rgba(31, 75, 66, 0.6);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(31, 75, 66, 0.2);
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(31, 75, 66, 0.3),
        0 0 0 3px rgba(31, 75, 66, 0.1);
}

.testimonial-dot.active::before {
    width: 6px;
    height: 6px;
    background: white;
}

.testimonials-arrows {
    display: flex;
    gap: 0.5rem;
}

.testimonial-prev .wp-block-button__link,
.testimonial-next .wp-block-button__link {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 
        0 6px 20px rgba(31, 75, 66, 0.15) !important,
        0 2px 8px rgba(31, 75, 66, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(145deg, var(--primary-color) 0%, #2a5a4f 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.testimonial-prev .wp-block-button__link:hover,
.testimonial-next .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 
        0 10px 30px rgba(31, 75, 66, 0.25) !important,
        0 4px 15px rgba(31, 75, 66, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    background: linear-gradient(145deg, #2a5a4f 0%, var(--primary-color) 100%) !important;
}

.testimonial-prev .wp-block-button__link:active,
.testimonial-next .wp-block-button__link:active {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 
        0 4px 15px rgba(31, 75, 66, 0.2) !important,
        inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Auto-play indicator */
.testimonials-carousel-container::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--primary-color) 80%, 
        transparent 100%);
    border-radius: 3px;
    animation: testimonialProgress 5s linear infinite;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(31, 75, 66, 0.2);
}

@keyframes testimonialProgress {
    0% { 
        width: 0%; 
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% { 
        width: 80%; 
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .testimonials-carousel-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .testimonial-slide {
        padding: 2rem !important;
        min-height: 350px;
        border-radius: 20px !important;
    }
    
    .testimonial-slide::before {
        font-size: 4rem;
        top: -10px;
        left: 20px;
    }
    
    .testimonials-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .testimonials-arrows {
        order: -1;
    }
    
    .testimonial-prev .wp-block-button__link,
    .testimonial-next .wp-block-button__link {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.4rem !important;
    }
    
    .testimonials-carousel-container::after {
        width: 90%;
        bottom: -6px;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        padding: 1rem !important;
        min-height: 300px;
    }
    
    .testimonial-slide p {
        font-size: 1rem !important;
    }
    
    .testimonials-dots {
        gap: 0.5rem;
    }
    
    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
}

/* Accessibility improvements */
.testimonial-slide:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.testimonial-dot:focus,
.testimonial-prev .wp-block-button__link:focus,
.testimonial-next .wp-block-button__link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth transitions for better UX */
.testimonials-carousel {
    transition: height 0.3s ease;
}

/* Pause animation on hover */
.testimonials-carousel-container:hover::after {
    animation-play-state: paused;
}

/* Image Slider Styles */
.image-slider-section {
    position: relative;
    overflow: hidden;
}

.apartmanhaz-image-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 75, 66, 0.15);
    background: #ffffff;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(30px) scale(0.98);
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.slider-slide.slide-in-left {
    transform: translateX(-30px) scale(0.98);
}

.slider-slide.slide-in-right {
    transform: translateX(30px) scale(0.98);
}

.slider-slide.slide-out-left {
    transform: translateX(-30px) scale(0.98);
    opacity: 0;
}

.slider-slide.slide-out-right {
    transform: translateX(30px) scale(0.98);
    opacity: 0;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s ease;
}

.slider-slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide.active .slide-content,
.slider-slide:hover .slide-content {
    transform: translateY(0);
}

.slide-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(31, 75, 66, 0.2);
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(31, 75, 66, 0.3);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

.slider-dot.active::before {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #2a6b5e);
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-wrapper {
        height: 400px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 15px;
        padding: 8px 15px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slide-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 300px;
    }
    
    .apartmanhaz-image-slider {
        border-radius: 15px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 10px;
        padding: 6px 12px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slide-content {
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.25rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
}

/* Accessibility improvements */
.slider-arrow:focus,
.slider-dot:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .slider-slide,
    .slide-content,
    .slide-image img,
    .slider-arrow,
    .slider-dot {
        transition: none;
    }
    
    .slider-progress-bar {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .slider-arrow {
        background: white;
        border: 2px solid black;
    }
    
    .slider-dot {
        border: 1px solid white;
    }
    
    .slide-content {
        background: rgba(0,0,0,0.9);
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 75, 66, 0.1);
    box-shadow: 0 4px 25px rgba(31, 75, 66, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-consent-bottom {
    bottom: 0;
    border-top: 1px solid rgba(31, 75, 66, 0.1);
    border-radius: 20px 20px 0 0;
}

.cookie-consent-top {
    top: 0;
    border-bottom: 1px solid rgba(31, 75, 66, 0.1);
    border-radius: 0 0 20px 20px;
}

.cookie-consent-center {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 600px;
    border-radius: 20px;
    border: 1px solid rgba(31, 75, 66, 0.2);
}

.cookie-consent-center.show {
    transform: translate(-50%, -50%) scale(1);
}

.cookie-consent-dark {
    background: rgba(31, 75, 66, 0.95);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.cookie-consent-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-consent-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.cookie-consent-text h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cookie-consent-dark .cookie-consent-text h4 {
    color: white;
}

.cookie-consent-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}

.cookie-consent-dark .cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-details {
    margin-top: 1rem;
}

.cookie-details-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.cookie-consent-dark .cookie-details-toggle {
    color: rgba(255, 255, 255, 0.8);
}

.cookie-details-toggle:hover {
    color: var(--hover-green);
}

.cookie-consent-dark .cookie-details-toggle:hover {
    color: white;
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.cookie-details-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.cookie-details-content {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(31, 75, 66, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    animation: slideDown 0.3s ease;
}

.cookie-consent-dark .cookie-details-content {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.cookie-category {
    margin-bottom: 1rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cookie-consent-dark .cookie-category h5 {
    color: white;
}

.cookie-category p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.cookie-consent-dark .cookie-category p {
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.cookie-btn::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 ease;
}

.cookie-btn:hover::before {
    left: 100%;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a4f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(31, 75, 66, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2a5a4f 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 75, 66, 0.4);
}

.cookie-btn-necessary {
    background: rgba(31, 75, 66, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.cookie-btn-settings {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(31, 75, 66, 0.3);
}

.cookie-btn-settings:hover {
    background: rgba(31, 75, 66, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.cookie-btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cookie-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 75, 66, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(31, 75, 66, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    background: rgba(31, 75, 66, 0.1);
    color: var(--primary-color);
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
    max-height: 50vh;
    overflow-y: auto;
}

.cookie-modal-body > p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-setting-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.cookie-setting-item:hover {
    background: #f1f3f4;
    transform: translateX(5px);
}

.cookie-setting-header {
    margin-bottom: 0.75rem;
}

.cookie-setting-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
}

.cookie-setting-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.cookie-setting-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-setting-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.cookie-setting-required {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
    font-style: italic;
}

.cookie-setting-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    padding-left: 2.25rem;
}

.cookie-modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid rgba(31, 75, 66, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
    }
    
    .cookie-consent-center {
        max-width: 95%;
        top: 50%;
        left: 50%;
        right: auto;
    }
    
    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-setting-description {
        padding-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-container {
        padding: 1rem;
    }
    
    .cookie-consent-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .cookie-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .cookie-setting-item {
        padding: 1rem;
    }
}

/* Animation for slide down effect */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
.cookie-btn:focus,
.cookie-details-toggle:focus,
.cookie-modal-close:focus,
.cookie-setting-label:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner,
    .cookie-modal,
    .cookie-modal-content,
    .cookie-btn,
    .cookie-details-content,
    .cookie-setting-item {
        transition: none;
    }
    
    .cookie-consent-icon {
        animation: none;
    }
    
    .toggle-icon {
        transition: none;
    }
}

/* Prevent automatic scrolling */
html {
    scroll-behavior: auto !important;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Disable smooth scrolling initially */
html.no-scroll {
    scroll-behavior: auto !important;
}

/* Override any WordPress or theme scroll behavior */
* {
    scroll-behavior: auto !important;
}

/* Ensure page starts at top */
.site {
    scroll-margin-top: 0 !important;
}

/* Prevent hash-based scrolling */
:target {
    scroll-margin-top: 0 !important;
}
