/*
Theme Name: Alporio
Description: Un elegante tema WordPress per hotel e strutture ricettive con effetti neve e design moderno
Version: 0.3
Author: Riccardi Gaetano
Author URI: https://www.riccardigaetano.it
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-header.scrolled .site-logo {
    color: #333;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-header.scrolled .main-navigation a {
    color: #333;
}

.main-navigation a:hover {
    color: #3b82f6;
}

.cta-button {
    background: white;
    color: #3b82f6;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: #3b82f6;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* YouTube Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#youtube-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
}

/* Seasonal Effects */
.seasonal-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.effect-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

/* Snow particles */
.effect-particle.snow {
    background: white;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Leaf particles */
.effect-particle.leaves {
    background: linear-gradient(45deg, #f59e0b, #dc2626, #b45309);
    border-radius: 0 100% 0 100%;
}

/* Petal particles */
.effect-particle.petals {
    background: linear-gradient(45deg, #ec4899, #f97316, #eab308);
    border-radius: 50% 0 50% 0;
}

/* Star particles */
.effect-particle.stars {
    background: #fbbf24;
    box-shadow: 0 0 10px #fbbf24;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Rain particles */
.effect-particle.rain {
    background: linear-gradient(to bottom, transparent 0%, #3b82f6 50%, #1d4ed8 100%);
    border-radius: 0 0 50% 50%;
    width: 2px !important;
    height: 15px !important;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Sections */
.content-section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: #3b82f6;
    margin: 0 auto 2rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.card-text {
    color: #666;
    margin-bottom: 1rem;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.site-header.scrolled .mobile-menu-toggle {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* WordPress Specific */
.wp-block-group {
    margin: 2rem 0;
}

.wp-block-image {
    margin: 1rem 0;
}

.wp-block-image img {
    border-radius: 10px;
}

/* Customizer Styles */
.customize-control-title {
    font-weight: 600;
}

/* Admin Bar Adjustment */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}







/* Booking System - ENHANCED DEBUG STYLES */
.booking-overlay {
    position: fixed !important;
    top: -100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 999999 !important; /* Higher z-index */
    transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    overflow-y: auto !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
    padding: 2rem !important;
    display: block !important; /* Force display */
    visibility: visible !important; /* Force visibility */
}

.booking-overlay.open {
    top: 0 !important;
}

/* Temporary debug border - VERY VISIBLE */
.booking-overlay {
    border: 5px solid red !important;
    background: yellow !important; /* Very visible background */
}

.booking-overlay.open {
    background: white !important; /* Normal background when open */
    border: 2px solid green !important; /* Green border when open */
}

.booking-container {
    max-width: 800px;
    margin: auto;
    position: relative;
}

.close-booking {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-booking:hover {
    background: #f5f5f5;
    color: #d6a67a;
}

.booking-wrapper {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    font-family: 'Playfair Display', serif;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 15px;
    margin-top: 3rem;
}

.booking-wrapper h2 {
    font-size: 2rem;
    color: #2e3d49;
    margin-bottom: 2rem;
    font-weight: 500;
}

.booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.booking-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.booking-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
}

.booking-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2e3d49;
    font-size: 0.95rem;
    text-align: left;
}

.input-line {
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    padding: 0.75rem 0.5rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #2e3d49;
    transition: border-color 0.3s ease;
}

.input-line:focus {
    outline: none;
    border-bottom-color: #d6a67a;
}

/* STEPPER - Forzatura orizzontale */
.stepper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 2px solid #ccc;
    transition: border-color 0.3s ease;
    min-height: 50px;
}

.stepper:focus-within {
    border-bottom-color: #d6a67a;
}

.stepper button {
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    padding: 0.75rem 1rem !important;
    color: #d6a67a !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
    order: 1 !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    float: none !important;
    position: relative !important;
}

.stepper button.minus {
    order: 1 !important;
}

.stepper button.plus {
    order: 3 !important;
}

.stepper button:hover {
    opacity: 0.7;
}

.stepper button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.step-input {
    width: 60px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    color: #2e3d49 !important;
    padding: 0.75rem 0.5rem !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
}

.booking-special {
    margin: 2rem 0;
    text-align: left;
}

.booking-special label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2e3d49;
    font-size: 0.95rem;
}

.submit-container {
    margin-top: 2rem;
}

.check-btn {
    background-color: #d6a67a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.check-btn:hover {
    background-color: #b78b5d;
    transform: translateY(-1px);
}

.check-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Simple placeholder styling */
.booking-form-placeholder {
    text-align: center;
    padding: 2rem;
    background: #f0f8ff;
    border-radius: 10px;
    color: #1e40af;
}

.booking-form-placeholder p {
    margin: 0;
    font-size: 1.1rem;
}

/* Contact Form 7 overrides for booking form */
.booking-wrapper .wpcf7-form {
    margin: 0;
}

.booking-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.booking-wrapper .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.booking-wrapper .wpcf7-validation-errors,
.booking-wrapper .wpcf7-acceptance-missing {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.booking-wrapper .wpcf7-mail-sent-ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.booking-wrapper .wpcf7-spinner {
    display: none;
}

.booking-wrapper .wpcf7-submit.check-btn {
    position: relative;
}

.booking-wrapper .wpcf7-submit.check-btn:disabled {
    background-color: #9ca3af;
}

/* Form validation styles */
.booking-wrapper .wpcf7-form-control.wpcf7-not-valid {
    border-bottom-color: #dc2626;
}

.booking-wrapper .wpcf7-form-control.wpcf7-not-valid:focus {
    border-bottom-color: #dc2626;
    box-shadow: 0 1px 0 0 #dc2626;
}

/* Loading state for submit button */
.booking-wrapper .wpcf7-submit.check-btn.wpcf7-submitting {
    background-color: #9ca3af;
    cursor: not-allowed;
    position: relative;
}

.booking-wrapper .wpcf7-submit.check-btn.wpcf7-submitting::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message styling */
.booking-wrapper .wpcf7-mail-sent-ok {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Error message styling */
.booking-wrapper .wpcf7-validation-errors {
    text-align: center;
    font-weight: 500;
}

/* Make date inputs more accessible */
.booking-wrapper input[type="date"] {
    position: relative;
    cursor: pointer;
}

.booking-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    color: #d6a67a;
    cursor: pointer;
}

/* Placeholder styling */
.booking-wrapper .input-line::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Focus states for better accessibility */
.booking-wrapper .input-line:focus,
.booking-wrapper .step-input:focus {
    border-bottom-color: #d6a67a;
    outline: none;
    box-shadow: 0 1px 0 0 #d6a67a;
}

/* Additional styling for stepper buttons */
.stepper button:focus {
    outline: 2px solid #d6a67a;
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-overlay {
        padding: 1rem;
    }
    
    .booking-wrapper {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .booking-dates {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .booking-numbers {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .booking-contact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .check-btn {
        width: 100%;
    }
    
    .close-booking {
        top: 15px;
        right: 15px;
    }
}

/* Mobile improvements */
@media (max-width: 480px) {
    .stepper {
        min-height: 60px;
    }
    
    .stepper button {
        font-size: 1.8rem !important;
        padding: 1rem !important;
    }
    
    .step-input {
        font-size: 1.2rem !important;
    }
    
    .booking-overlay {
        padding: 0.5rem;
    }
    
    .close-booking {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
    
    .booking-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .booking-wrapper h2 {
        font-size: 1.8rem;
    }
}

/* Print styles */
@media print {
    .booking-overlay {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .booking-wrapper {
        border: 2px solid #000;
    }
    
    .input-line {
        border-bottom-color: #000;
    }
    
    .check-btn {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .booking-overlay {
        transition: none;
    }
    
    .check-btn {
        transition: none;
    }
    
    .stepper button {
        transition: none;
    }
}.booking-form-placeholder {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.booking-notice {
    background: #e0f2fe;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    color: #0277bd;
}

.booking-instructions {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.booking-instructions li {
    margin-bottom: 0.5rem;
}

.sample-form {
    margin-top: 2rem;
}

.sample-form h3 {
    margin-bottom: 1rem;
    color: #2e3d49;
}

.cf7-notice {
    text-align: center;
    padding: 2rem;
    background: #fef3c7;
    border-radius: 10px;
    color: #92400e;
}

.cf7-notice h3 {
    margin-bottom: 1rem;
    color: #92400e;
}

.install-cf7-btn {
    display: inline-block;
    background: #d6a67a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.install-cf7-btn:hover {
    background: #b78b5d;
    transform: translateY(-1px);
}

/* Additional styling for stepper buttons */
.stepper button:focus {
    outline: 2px solid #d6a67a;
    outline-offset: 2px;
}

/* Form validation styles */
.booking-wrapper .wpcf7-form-control.wpcf7-not-valid {
    border-bottom-color: #dc2626;
}

.booking-wrapper .wpcf7-form-control.wpcf7-not-valid:focus {
    border-bottom-color: #dc2626;
    box-shadow: 0 1px 0 0 #dc2626;
}

/* Loading state for submit button */
.booking-wrapper .wpcf7-submit.check-btn.wpcf7-submitting {
    background-color: #9ca3af;
    cursor: not-allowed;
    position: relative;
}

.booking-wrapper .wpcf7-submit.check-btn.wpcf7-submitting::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message styling */
.booking-wrapper .wpcf7-mail-sent-ok {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Error message styling */
.booking-wrapper .wpcf7-validation-errors {
    text-align: center;
    font-weight: 500;
}

/* Make date inputs more accessible */
.booking-wrapper input[type="date"] {
    position: relative;
    cursor: pointer;
}

.booking-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    color: #d6a67a;
    cursor: pointer;
}

/* Placeholder styling */
.booking-wrapper .input-line::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Focus states for better accessibility */
.booking-wrapper .input-line:focus,
.booking-wrapper .step-input:focus {
    border-bottom-color: #d6a67a;
    outline: none;
    box-shadow: 0 1px 0 0 #d6a67a;
}

/* Mobile improvements */
@media (max-width: 480px) {
    .stepper {
        min-height: 60px;
    }
    
    .stepper button {
        font-size: 1.8rem !important;
        padding: 1rem !important;
    }
    
    .step-input {
        font-size: 1.2rem !important;
    }
    
    .booking-overlay {
        padding: 0.5rem;
    }
    
    .close-booking {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .booking-overlay {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .booking-wrapper {
        border: 2px solid #000;
    }
    
    .input-line {
        border-bottom-color: #000;
    }
    
    .check-btn {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .booking-overlay {
        transition: none;
    }
    
    .check-btn {
        transition: none;
    }
    
    .stepper button {
        transition: none;
    }
}/* Additional styles for Alporio theme - Add to style.css */

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 9999;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .main-navigation a {
        color: #333;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
}

/* Single Post Styles */
.single-post {
    padding: 2rem 0;
}

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

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-meta a {
    color: #3b82f6;
    text-decoration: none;
}

.post-category a {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #333;
    margin-bottom: 1.5rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

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

.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: 'Playfair Display', serif;
    margin: 2rem 0 1rem;
    color: #333;
}

.post-content h2 {
    font-size: 2rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
}

.post-footer {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 2rem;
}

.post-tags {
    margin-bottom: 1.5rem;
}

.post-tags i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    margin: 0.25rem 0.25rem 0.25rem 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #3b82f6;
    color: white;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    margin: 2rem 0;
}

.author-avatar img {
    border-radius: 50%;
}

.author-info h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: #333;
}

.author-info p {
    color: #666;
    margin-bottom: 1rem;
}

.author-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-link {
    display: block;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
    font-size: 1rem;
}

.nav-next .nav-direction {
    justify-content: flex-end;
}

/* Related Posts */
.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.related-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
}

.related-post-content h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

.related-post-content h4 a:hover {
    color: #3b82f6;
}

.related-post-meta {
    color: #666;
    font-size: 0.9rem;
}

/* Pagination */
.pagination-wrapper {
    margin: 3rem 0;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.page-numbers a:hover,
.page-numbers .current {
    background: #3b82f6;
    color: white;
}

.page-numbers .prev,
.page-numbers .next {
    width: auto;
    padding: 0 1rem;
    border-radius: 25px;
    gap: 0.5rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Newsletter Form */
.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: white;
    outline: none;
}

.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input button {
    padding: 0.75rem 1rem;
    background: #3b82f6;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-input button:hover {
    background: #2563eb;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.contact-info i {
    color: #3b82f6;
    width: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-right: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.site-header.scrolled .lang-toggle {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #333;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
    border-radius: 10px;
}

.lang-option:first-child {
    border-radius: 10px 10px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 10px 10px;
}

.lang-option:hover {
    background: #f8fafc;
}

.flag {
    font-size: 1.2rem;
}

.lang-option.active {
    background: #3b82f6;
    color: white;
}

.lang-option.active:hover {
    background: #2563eb;
}

.lang-toggle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-right: 0;
        margin-left: 1rem;
    }
    
    .lang-dropdown {
        right: auto;
        left: 0;
    }
}
.hero-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active,
.nav-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Hero Content Animation */
.hero-content h1,
.hero-content p,
.hero-content a {
    transition: all 0.5s ease;
}

/* YouTube Player Responsive */
@media (max-width: 768px) {
    #youtube-bg {
        width: 120vw;
        height: 67.5vw;
        min-height: 120vh;
        min-width: 213.33vh;
    }
}