/**
 * Agriturismo Trefossata Custom Theme - Stili
 *
 * @package Agriturismo_Trefossata
 * @version 1.0.0
 * @author Totaliweb - www.totaliweb.com
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --color-primary: #395838;
    --color-accent: #E0A961;
    --color-text: #505649;
    --color-light-bg: #F6F4F4;
    --color-white: #FFFFFF;
    --color-dark-green-alt: #385637;
    --color-gray: #7A7A7A;
    --color-medium-gray: #54595F;

    /* Dynamic colors (overridden by Customizer) */
    --color-header-bg: #395838;
    --color-button-bg: #E0A961;
    --color-footer-bg: #395838;
    --color-announcement-bg: #D4380D;

    /* Typography */
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Lato', sans-serif;
    --font-accent: 'Roboto Slab', serif;

    /* Sizing */
    --container-max: 1140px;
    --header-height: 80px;
    --border-radius: 30px;
    --border-radius-sm: 8px;
    --btn-radius: 50px;

    /* Spacing */
    --section-padding: 60px 0;
    --section-padding-sm: 40px 0;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover, a:focus {
    color: var(--color-primary);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 15px;
    color: var(--color-text);
}

p {
    margin: 0 0 15px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.section-padding {
    padding: var(--section-padding);
}

.section-bg-light {
    background-color: var(--color-light-bg);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.btn-accent {
    background-color: var(--color-button-bg);
    color: var(--color-white);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}

.btn-accent:hover, .btn-accent:focus {
    background-color: #c8933d;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-button-bg);
    color: var(--color-white);
    padding: 10px 22px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover, .btn-cta:focus {
    background-color: #c8933d;
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-cta .icon-phone {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background-color: var(--color-announcement-bg, #D4380D);
    color: var(--color-white);
    padding: 10px 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 1001;
    letter-spacing: 0.3px;
}

.announcement-bar p {
    margin: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: var(--color-header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
}

/* Logo */
.header-logo {
    flex: 0 0 auto;
    width: 70px;
}

.header-logo a {
    display: block;
}

.header-logo img,
.header-logo .custom-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a:focus,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Header CTA */
.header-cta {
    flex: 0 0 auto;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Hero Slider */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 450px;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.slide-content h2,
.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: var(--color-white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.5;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--color-accent);
    opacity: 1;
}

/* Static Hero */
.hero-section.hero-static {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    position: relative;
}

.section-header-green {
    background-color: var(--color-primary);
    padding: 50px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title--gold {
    color: var(--color-accent);
}

.section-title--accent {
    color: var(--color-accent);
}

.section-subtitle-white {
    color: var(--color-white);
    font-size: 18px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 10px;
}

.section-intro {
    font-size: 17px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

.section-divider {
    width: 30%;
    max-width: 200px;
    height: 2px;
    background-color: var(--color-dark-green-alt);
    margin: 15px auto 25px;
    opacity: 0.6;
}

.section-divider--center {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.two-col-layout--reverse {
    direction: rtl;
}

.two-col-layout--reverse > * {
    direction: ltr;
}

.col-text {
    padding: 10px 0;
}

.col-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

.col-image {
    overflow: hidden;
}

.rounded-img {
    border-radius: var(--border-radius);
    width: 100%;
    object-fit: cover;
}

/* ============================================
   CAROUSEL / SWIPER
   ============================================ */
.carousel-standard {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.carousel-standard .swiper-pagination {
    bottom: 10px;
}

.carousel-standard .swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.6;
}

.carousel-standard .swiper-pagination-bullet-active {
    background: var(--color-accent);
    opacity: 1;
}

/* ============================================
   ROOM SECTIONS (Agriturismo)
   ============================================ */
.section-room {
    border-bottom: 1px solid #eee;
}

.section-room:last-of-type {
    border-bottom: none;
}

.room-meta {
    margin-bottom: 15px;
}

.room-size {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.room-features h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
    margin: 15px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-list {
    columns: 2;
    gap: 10px;
    margin-bottom: 10px;
}

.features-list li {
    font-size: 14px;
    color: var(--color-text);
    padding: 3px 0 3px 20px;
    position: relative;
    break-inside: avoid;
}

.features-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.room-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.price-label {
    font-size: 14px;
    color: var(--color-gray);
    font-weight: 600;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-heading);
}

.price-note {
    font-size: 13px;
    color: var(--color-gray);
    font-style: italic;
}

.room-novita {
    background: var(--color-light-bg);
    padding: 12px 18px;
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.pricing-notes {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-notes p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
}

/* ============================================
   FILOSOFIA / BLOCKQUOTE
   ============================================ */
.filosofia-quote {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
}

.filosofia-quote p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
}

.filosofia-quote ol {
    padding-left: 20px;
    margin: 15px 0;
}

.filosofia-quote ol li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 8px;
    font-style: italic;
}

.filosofia-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 16px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.section-contattami {
    position: relative;
    overflow: hidden;
}

.section-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.section-contattami .container {
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.trefossata-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-group .required {
    color: #d63638;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(224, 169, 97, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-submit {
    text-align: center;
    margin-top: 5px;
}

.btn-submit {
    min-width: 180px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-messages {
    text-align: center;
    font-size: 14px;
    min-height: 24px;
}

.form-messages.success {
    color: #28a745;
}

.form-messages.error {
    color: #d63638;
}

/* Honeypot */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   CONTATTI PAGE
   ============================================ */
.section-contatti-hero .section-header-green {
    padding: 40px 0;
}

.contatti-info {
    max-width: 700px;
    margin: 0 auto;
}

.contatti-list {
    list-style: none;
    padding: 0;
}

.contatti-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: var(--color-text);
    border-bottom: 1px solid #eee;
}

.contatti-list li:last-child {
    border-bottom: none;
}

.contatti-list li svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.contatti-list li a {
    color: var(--color-primary);
    font-weight: 500;
}

.contatti-list li a:hover {
    color: var(--color-accent);
}

/* Map */
.map-embed {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-embed--fullwidth {
    border-radius: 0;
    box-shadow: none;
}

.map-embed iframe {
    display: block;
    width: 100%;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 5px;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-accent);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.section-video {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    inset: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    background-color: var(--color-light-bg);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-white);
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Footer Contatti */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--color-accent);
}

/* Footer Social */
.footer-social {
    text-align: center;
}

.footer-social-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

.social-icons a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.social-icons a svg {
    width: 22px;
    height: 22px;
}

.footer-privacy-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.footer-privacy-link:hover {
    color: var(--color-accent);
}

/* Footer Menu */
.footer-menu-col {
    text-align: right;
}

.footer-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-menu li {
    margin-bottom: 8px;
}

.footer-nav-menu li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav-menu li a:hover {
    color: var(--color-accent);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 3px 0;
}

.footer-credits a {
    color: var(--color-accent);
    font-weight: 600;
}

.footer-credits a:hover {
    color: var(--color-white);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* ============================================
   404 PAGE
   ============================================ */
.section-404 {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.section-404 h2 {
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.section-404 p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 30px;
}

/* ============================================
   PAGE CONTENT (generic)
   ============================================ */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

.page-content img {
    border-radius: var(--border-radius-sm);
    margin: 20px 0;
}

.page-content h2, .page-content h3 {
    color: var(--color-primary);
    margin-top: 30px;
}

/* ============================================
   RESPONSIVE: TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 15px;
    }

    .nav-menu li a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .hero-slider {
        height: 380px;
    }

    .hero-title {
        font-size: 34px;
    }

    .section-title {
        font-size: 28px;
    }

    .two-col-layout {
        gap: 30px;
    }

    .carousel-img {
        height: 300px;
    }

    .footer-grid {
        gap: 30px;
    }

    .features-list {
        columns: 1;
    }
}

/* ============================================
   RESPONSIVE: MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
        --header-height: 70px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .header-nav {
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(var(--header-height) - 10px);
        left: -200%;
        right: -100%;
        background-color: var(--color-header-bg);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
        z-index: 999;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu li a {
        padding: 12px 15px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    /* Header */
    .header-logo img,
    .header-logo .custom-logo {
        width: 50px;
        height: 50px;
    }

    .btn-cta {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Hero */
    .hero-slider {
        height: 320px;
    }

    .hero-section.hero-static {
        height: 300px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .slide-content h2,
    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }

    /* Sections */
    .section-title {
        font-size: 24px;
    }

    .section-subtitle-white {
        font-size: 15px;
    }

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .two-col-layout--reverse {
        direction: ltr;
    }

    .carousel-img {
        height: 250px;
    }

    /* Rooms */
    .room-price {
        flex-direction: column;
        gap: 5px;
    }

    .price-value {
        font-size: 24px;
    }

    /* Gallery */
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: 25px 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-menu-col {
        text-align: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    /* Video */
    .section-video {
        height: 250px;
    }

    /* Announcement */
    .announcement-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    /* Lightbox */
    .lightbox-prev, .lightbox-next {
        font-size: 35px;
    }

    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-slider {
        height: 280px;
    }

    .hero-title {
        font-size: 22px;
    }

    .slide-content h2,
    .slide-content h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .carousel-img {
        height: 200px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .announcement-bar,
    .site-header,
    .whatsapp-float,
    .hero-slider-section,
    .hero-section,
    .swiper-pagination,
    .swiper-button-prev,
    .swiper-button-next,
    .lightbox {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .container {
        max-width: 100%;
    }

    .site-footer {
        background: #333;
        color: #fff;
    }
}

/* ============================================
   WORDPRESS REQUIRED CSS CLASSES
   ============================================ */
.wp-caption {
    max-width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
    background: #f9f9f9;
}

.wp-caption img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--color-gray);
    text-align: center;
    padding: 8px 4px 4px;
    font-style: italic;
}

.sticky {
    border-left: 4px solid var(--color-accent);
    padding-left: 15px;
}

.gallery-caption {
    font-size: 13px;
    color: var(--color-gray);
    text-align: center;
    margin-top: 5px;
}

.bypostauthor {
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
}

.alignright {
    float: right;
    margin: 0 0 15px 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 15px 0;
}

.aligncenter {
    display: block;
    margin: 15px auto;
}

/* Page links / pagination */
.page-links {
    clear: both;
    margin: 20px 0;
    font-weight: 600;
}

.page-links a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 4px;
    margin: 0 3px;
    text-decoration: none;
}

.page-links a:hover {
    background: var(--color-primary);
}

/* Tags */
.page-tags {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.tags-label {
    font-weight: 600;
    margin-right: 5px;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-list .avatar {
    border-radius: 50%;
    float: left;
    margin-right: 15px;
}

/* Widget area */
.widget {
    margin-bottom: 25px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary);
}
