/* ===========================
   RESET & VARIABLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warme Farben ähnlich wie Original */
    --primary-color: #D4A574;
    --primary-dark: #B8895E;
    --accent-color: #8B6F47;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --bg-light: #FAF7F2;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max: 1200px;
    /* offset used to compensate for sticky navbar when scrolling to anchors */
    --nav-offset: 86px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Make anchor targets sit below the sticky navbar so the hero/title isn't hidden when jumping */
section, header, main, .hero {
    scroll-margin-top: var(--nav-offset);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

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

.nav-brand img {
    max-height: 70px;
    width: auto;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow: visible; /* Ensure hero is positioned relative to hold the absolutely-positioned ribbon */
}

/* Beta ribbon (compact diagonal ribbon in hero corner) */
#beta-ribbon {
    position: absolute;
    left: 20px; /* slightly in from the left edge */
    top: 50%;  /* roughly middle of the hero */
    width: 520px; /* longer ribbon to fit the text */
    max-width: 90%;
    transform: translateY(-50%) rotate(-12deg); /* center vertically then rotate */
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(220,80,30,0.98), rgba(200,60,20,0.98));
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
#beta-ribbon span { display: block; padding: 0 8px; font-size: 14px; line-height:1.3; text-align:left; }
#beta-ribbon button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 6px;
}

@media (max-width: 900px) {
    #beta-ribbon { left: 10px; top: 10px; width: 260px; transform: rotate(-10deg); }
    #beta-ribbon span { font-size: 13px; }
}

@media (max-width: 500px) {
    #beta-ribbon { left: 6px; top: 8px; width: 200px; transform: rotate(-8deg); }
    #beta-ribbon span { display:block; font-size:12px; }
    #beta-ribbon button { font-size:14px; padding:4px; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

#hero-logo {
    max-width: 300px;
    margin: 0 auto 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Price list grid bands */
.price-grid {
    /* gap handled by cell padding to keep bands flush */
    gap: 0;
    background: transparent;
}
.price-grid > .price-head {
    background: var(--bg-light);
    font-weight: 700;
}
.price-grid > .price-row-beige {
    background: var(--bg-light);
}
.price-grid > .price-row-white {
    background: var(--white);
}
.price-grid > div {
    /* ensure consistent padding if JS doesn't set it */
    padding: 12px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--white);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary-hero {
    display: inline-block;
    padding: 15px 35px;
    background-color: rgba(212, 165, 116, 0.9);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--white);
}

.btn-secondary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(212, 165, 116, 1);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Match hover/shadow behaviour for secondary buttons inside action-buttons */
.action-buttons .btn-secondary {
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.action-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ===========================
   HERO GALLERY
   =========================== */

.hero-gallery {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f8f8, #ffffff);
}

.hero-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.hero-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
}

.hero-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===========================
   INCLUDED BAHNEN (Sommer/Winter) - matches site card styles
   =========================== */
.included-bahnen {
    padding: 30px 20px;
    background: var(--bg-light);
}
.included-bahnen .included-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: 18px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}
.included-bahnen .included-card {
    flex: 1 1 320px;
    max-width: 520px;
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 18px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 6px 20px var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.included-bahnen .included-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.included-bahnen .included-card img {
    width: 96px;
    height: auto;
    object-fit: contain;
    flex: 0 0 96px;
    align-self: center;
}
.included-bahnen .included-card > div {
    /* make the text container grow to match card height and center content vertically */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.included-bahnen .included-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--accent-color);
}
.included-bahnen .included-card p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .included-bahnen .included-card {
        max-width: 100%;
        padding: 14px;
    }
    .included-bahnen .included-card img {
        width: 76px;
        flex: 0 0 76px;
    }
}

/* ===========================
   INTRO SECTION
   =========================== */

.intro {
    padding: var(--section-padding);
    background-color: var(--bg-light);
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   SECTION TITLES
   =========================== */

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap; /* keep buttons side-by-side on larger screens */
    align-items: center;
}

.action-buttons a {
    flex: 0 1 auto;
    min-width: 160px;
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
}

.booking-btn {
    background: var(--primary-color); /* sand / neutral */
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.booking-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.subtitle-item {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 500;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 25px;
}

/* Section title styling - center and responsive sizing */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--accent-color);
    text-align: center;
    margin: 25px 0 20px;
    line-height: 1.05;
}

/* Center subtitle wrapper (used for apartment/room quick-nav) */
.slider-subtitle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Make subtitle items centered blocks so the text is centered inside the pill */
.subtitle-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.subtitle-item:hover {
    color: var(--primary-dark);
    background-color: rgba(212, 165, 116, 0.1);
}

.subtitle-item.active {
    color: var(--white);
    background-color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(212, 165, 116, 0.3);
}

.subtitle-separator {
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.5;
}

/* ===========================
   APARTMENTS SECTION
   =========================== */

.apartments {
    /* Reduce top padding so the section title sits closer to the hero */
    padding: 40px 20px 80px 20px; /* top right bottom left */
    overflow: hidden;
}

.apartments .apartment-card {
    background-color: var(--bg-light);
}

.apartments .equipment-list {
    background: var(--bg-light);
}

/* Slider Container */
.apartment-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px 40px;
    overflow: visible;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    overflow: visible;
    padding-bottom: 10px;
}

.apartment-card {
    min-width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(50px);
    margin: 0 auto;
}

.apartment-card.active {
    opacity: 1;
    transform: translateX(0);
    animation: slideIn 0.6s ease-out forwards;
}

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

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

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--primary-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.slider-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-btn span {
    line-height: 1;
    margin-top: -3px;
}

/* Slider Dots (Indicators) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot:hover {
    background-color: var(--primary-dark);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

.apartment-card.reverse {
    direction: rtl;
}

.apartment-card.reverse > * {
    direction: ltr;
}

.apartment-images {
    position: relative;
    width: 100%;
}

.main-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 1.2s ease-in-out;
}

.apartment-card:hover .main-image img {
    transform: scale(1.02);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 6px;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 3px 12px rgba(212, 165, 116, 0.4);
}

.apartment-details {
    padding: 40px;
}

.apartment-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.apartment-specs {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.spec-icon {
    font-size: 1.3rem;
}

.apartment-features ul {
    list-style: none;
    margin-bottom: 15px;
}

.apartment-features li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.4;
}

.apartment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.availability-info {
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(212, 165, 116, 0.08);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.availability-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.availability-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.availability-list li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.availability-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

.winter-note {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-light);
    margin: 6px 0 0 0;
}

.price-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.price-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap; /* keep buttons side-by-side on larger screens */
    align-items: center;
}

.action-buttons a {
    flex: 0 1 auto;
    min-width: 160px;
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
}

.booking-btn {
    background: var(--primary-color); /* sand / neutral */
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.booking-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons a {
        min-width: 100%;
    }
}

/* ===========================
   AMENITIES SECTION
   =========================== */

.amenities {
    padding: 0 20px 60px 20px;
    background-color: var(--white);
    text-align: center;
}

/* Badge - unverbindlich anfragen */
.inquiry-badge {
    margin: 40px auto;
}

.badge-link {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.badge-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    transition: all 0.3s;
    border: 4px solid var(--primary-dark);
}

.badge-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.6);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.badge-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
}

.badge-subtitle {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Equipment List */
.subsection-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 50px 0 30px;
    text-decoration: underline;
}

.equipment-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.equipment-list ul {
    list-style: none;
    margin-bottom: 30px;
}

.equipment-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.equipment-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.equipment-note {
    background: #fff8f0;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    color: var(--text-light);
    line-height: 1.6;
}

.equipment-note strong {
    color: var(--accent-color);
    font-weight: 600;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.amenity-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.amenity-item:hover {
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.amenity-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.info-box h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.info-box li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ===========================
   ROOMS SECTION (Zimmer)
   =========================== */

.rooms-section {
    /* Reduce top spacing to match apartments */
    padding: 40px 5% 80px 5%;
    background: var(--bg-light);
    overflow: hidden; /* Prevent horizontal scroll */
    text-align: center; /* Center all text */
}

.rooms-section .section-intro {
    margin-bottom: 40px;
    text-align: center;
}

.rooms-section .slider-subtitle-wrapper {
    margin-top: 20px;
    margin-bottom: 50px;
}

.rooms-equipment {
    margin-top: 60px;
    text-align: center;
}

.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding: 60px 5%;
    background: var(--bg-light);
}

.apartments .additional-services {
    background: var(--white);
    justify-items: center;
}

.apartments .additional-services .service-card {
    background: var(--bg-light);
    max-width: 700px;
    width: 100%;
}

.rooms-section .additional-services .service-card {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 20px 0 10px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services-section {
    padding: 80px 5%;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid .service-card {
    background: var(--bg-light);
}

.service-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
}

/* ===========================
   EVENTS SECTION
   =========================== */

.events-section {
    /* Reduce top spacing to bring the events title closer to the content above */
    padding: 40px 5% 80px 5%;
    background: var(--bg-light);
}

.events-section .section-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-style: italic;
}

.events-slider-container {
    margin-bottom: 60px;
    position: relative;
}

.events-slider-container .slider-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 80px 40px;
}

.events-slider-container .slider-track {
    position: relative;
    min-height: 500px;
}

.events-season-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 15px;
    text-decoration: underline;
}

.events-season-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.event-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.event-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.event-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.event-content {
    padding: 30px;
}

.event-content h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.event-content h5 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.event-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.event-dates {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.event-dates li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    color: var(--text-dark);
}

.event-dates li:last-child {
    border-bottom: none;
}

.event-dates strong {
    color: var(--accent-color);
}

.events-footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 8px;
}

.events-footer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sport-placeholder {
    margin: 30px 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px dashed var(--primary-color);
}

.sport-placeholder p {
    font-size: 1.3rem;
    color: var(--text-light);
    font-style: italic;
}

.events-contact {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 40px;
    line-height: 1.8;
}

.events-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.events-contact a:hover {
    text-decoration: underline;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    /* Reduce top padding so the contact title sits closer to the hero */
    padding: 40px 20px 80px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* ===========================
   BOOKING INFO SECTION
   =========================== */

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card:nth-child(4) {
    grid-column: 1 / 2;
}

.info-card.full-width {
    grid-column: 2 / -1;
}

.info-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.info-content p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.info-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

.info-note {
    background: #FFF8E7;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 15px;
    font-size: 0.95rem;
    font-style: italic;
}

.info-highlight {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}

.info-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

.insurance-banner img {
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.map-container {
    margin-top: 20px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

/* Responsive */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-card:nth-child(4) {
        grid-column: 1 / 2;
    }
    
    .info-card.full-width {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card:nth-child(4) {
        grid-column: 1 / -1;
    }
    
    .info-card.full-width {
        grid-column: 1 / -1;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    text-align: center; /* center footer columns */
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-section p {
    margin: 0;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}

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

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 10px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.95;
    font-size: 0.95rem;
}

.footer-credit {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
}
.footer-credit:hover {
    text-decoration: underline;
    opacity: 1;
}

/* footer is centered on all sizes now */

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .apartment-card,
    .apartment-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .main-image {
        height: 350px;
    }
    
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .gallery-thumb {
        height: 70px;
    }
    
    .apartment-slider {
        padding: 0 60px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    .slider-btn-prev {
        left: 5px;
    }
    
    .slider-btn-next {
        right: 5px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .apartment-specs {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-image {
        height: 280px;
    }
    
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .gallery-thumb {
        height: 60px;
    }
    
    .apartment-slider {
        padding: 0 50px;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }
    
    .slider-btn-prev {
        left: 2px;
    }
    
    .slider-btn-next {
        right: 2px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }
}

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 20px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(44,44,44,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 18px 16px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 2000;
}
.cookie-banner .cb-text {
    flex: 1 1 auto;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.cookie-banner .cb-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cookie-banner .cb-btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    background: var(--white);
    font-weight: 600;
}
.cookie-banner .cb-accept {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.cookie-banner .cb-secondary {
    background: transparent;
    color: var(--text-dark);
}
.cookie-banner a.cb-link {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; }
    .cookie-banner .cb-actions { justify-content: flex-end; }
}
