/* 2. DIZAJN SYSTÉM */
:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F8F8F8;
    --accent: #8B4513; /* Chocolate brown */
    --accent-hover: #6c360f;
    --text-primary: #422009;
    --text-secondary: #85614D;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--primary-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--accent); transition: var(--transition); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* UTILITIES */
.bg-light { background-color: var(--secondary-bg); }
.bg-accent { background-color: var(--accent); color: white; }
.bg-accent h2, .bg-accent p { color: white; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.shadow-lg { box-shadow: var(--shadow-lg); }
.image-rounded { border-radius: var(--radius-lg); object-fit: cover; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 20px 8px 18px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent;
}
.btn:hover {
    border-radius: 12px 20px 8px 18px;
}
.btn-primary {
    background-color: var(--accent);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}
.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}
.btn-outline-light {
    background-color: transparent;
    border-color: white;
    color: white;
}
.btn-outline-light:hover {
    background-color: white;
    color: var(--accent);
}

/* HEADER */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    overflow: hidden;
    width: 100% !important;
    max-width: none !important;
    padding: 0 1.5rem !important;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 1;
    min-width: 0;
}
.logo {
    height: 56px;
    width: auto;
    border-radius: 4px;
    flex-shrink: 0;
}
.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    overflow: hidden;
}
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-btn i { width: 28px; height: 28px; }

.nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--primary-bg);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.nav.nav-open {
    display: flex;
}
.nav a:not(.btn) {
    color: var(--text-primary);
    font-weight: 500;
}
.nav a:not(.btn):hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
    .nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        width: auto;
        padding: 0;
        box-shadow: none;
        gap: 2rem;
        background-color: transparent;
        border-top: none;
    }
}

/* SECTIONS */
.section { padding: 2.5rem 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }

/* BACKGROUND DECORATIONS */
.ill-bg {
    position: absolute;
    color: var(--accent);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}
.ill-1 { top: -20px; left: -30px; width: 300px; height: 300px; transform: rotate(-15deg); }
.ill-2 { bottom: -60px; right: -40px; width: 450px; height: 450px; transform: rotate(10deg); opacity: 0.03; }
.ill-3 { top: 20%; right: -50px; width: 250px; height: 250px; transform: rotate(15deg); }
.ill-4 { bottom: 10%; left: -30px; width: 200px; height: 200px; transform: rotate(-10deg); }

/* HERO */
.hero {
    padding: 9rem 0 2rem;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, rgba(248, 248, 248, 0) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}
.hero .subheadline {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
@media (min-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* PROPERTIES GRID (OBJEKTY) */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .properties-grid { grid-template-columns: 1fr 1fr; }
}
.property-card {
    background-color: var(--primary-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.property-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.property-card:hover .property-image img { transform: scale(1.05); }
.property-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.property-card p.property-desc { flex-grow: 1; color: var(--text-secondary); }
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}
.stat-item i { color: var(--accent); width: 20px; height: 20px; }

/* FEATURES (PREČO MY) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 968px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.feature-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.icon-circle {
    width: 64px;
    height: 64px;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}
.icon-circle i { width: 32px; height: 32px; }

/* GALLERY CAROUSEL */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    width: 100%;
    padding: 1rem 0;
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.carousel-img {
    flex: 0 0 auto;
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
    .carousel-img {
        width: 400px;
        height: 300px;
    }
}
.carousel-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: absolute;
    z-index: 10;
    color: var(--accent);
    transition: var(--transition);
}
.carousel-btn:hover {
    background-color: var(--accent);
    color: white;
}
.prev-btn { left: -15px; }
.next-btn { right: -15px; }

/* AMENITIES */
.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--secondary-bg);
    border-radius: 100px;
    font-weight: 500;
}
.amenity-item i { color: var(--accent); }

/* LOKALITA */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 968px) {
    .location-wrapper { grid-template-columns: 1fr 1fr; }
}
.distance-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.distance-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}
.distance-list i { color: var(--accent); }

/* REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}
@media (min-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(4, 1fr); }
}
.review-card {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.platform-logo {
    height: 45px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.platform-logo img {
    max-height: 100%;
    max-width: 160px;
    object-fit: contain;
}
.score-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}
.max-score {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.platform-name {
    font-weight: 600;
    color: var(--text-secondary);
}
@media (min-width: 1024px) {
    .review-card { padding: 2rem 1.25rem; }
    .platform-logo { height: 55px; }
    .score { font-size: 2.5rem; }
    .max-score { font-size: 1rem; }
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .testimonials { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
    background-color: var(--primary-bg);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}
.testimonial-author {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: Georgia, "Times New Roman", serif;
}
.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}
.star-filled {
    width: 24px;
    height: 24px;
    color: #FACC15;
    fill: #FACC15;
}
.testimonial-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* CTA */
.cta-section {
    padding: 6rem 0;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* PHOTO GALLERY */
.gallery-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .gallery-wrapper {
        gap: 1rem;
    }
}
.gallery-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    width: 100%;
    min-width: 0;
    scrollbar-width: none;
    position: relative;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .gallery-carousel {
        gap: 1rem;
    }
}
.gallery-carousel::-webkit-scrollbar {
    display: none;
}
.gallery-image {
    flex: 0 0 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    box-shadow: var(--shadow-md);
}
@media (min-width: 640px) {
    .gallery-image {
        height: 300px;
    }
}
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(139, 69, 19, 0.9);
    color: white;
    border: 3px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 30;
    flex-shrink: 0;
}
.gallery-btn:active {
    background-color: var(--accent-hover);
}
.gallery-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-50%) scale(1.1);
}
.gallery-btn i {
    width: 20px;
    height: 20px;
}
.gallery-btn-prev {
    left: 0.5rem;
}
.gallery-btn-next {
    right: 0.5rem;
}
@media (min-width: 640px) {
    .gallery-btn {
        width: 56px;
        height: 56px;
    }
    .gallery-btn i {
        width: 28px;
        height: 28px;
    }
    .gallery-btn-prev {
        left: 1rem;
    }
    .gallery-btn-next {
        right: 1rem;
    }
}
@media (min-width: 768px) {
    .gallery-image {
        flex: 0 0 calc(50% - 0.5rem);
        height: 350px;
    }
}
@media (min-width: 1024px) {
    .gallery-image {
        flex: 0 0 calc(33.333% - 0.75rem);
        height: 380px;
    }
}

/* EQUIPMENT GRID */
.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.equipment-block {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.equipment-block:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-4px);
}
.equipment-block p {
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ROOM SHOWCASE */
.room-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}
@media (min-width: 968px) {
    .room-showcase {
        grid-template-columns: 1fr 1fr;
    }
}
.room-showcase:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
    padding-bottom: 0;
}
.room-showcase.room-alt {
    direction: rtl;
}
.room-showcase.room-alt > * {
    direction: ltr;
}
@media (max-width: 967px) {
    .room-showcase.room-alt {
        direction: ltr;
    }
    .room-showcase.room-alt > * {
        direction: ltr;
    }
}
.room-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    aspect-ratio: 4/3;
}
.room-image:hover img {
    transform: scale(1.05);
}
.room-details h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.room-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.room-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.925rem;
}
.room-specs i {
    color: var(--accent);
    width: 20px;
    height: 20px;
}
.room-specs strong {
    color: var(--accent);
}
.room-details p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ROOM GRID COMPACT */
.rooms-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
}
@media (min-width: 768px) {
    .rooms-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0;
    }
}
.room-card-compact {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.room-card-compact:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-4px);
}
.room-image-compact {
    overflow: hidden;
    height: 200px;
}
.room-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.room-card-compact:hover .room-image-compact img {
    transform: scale(1.08);
}
.room-details-compact {
    padding: 1.5rem;
}
.room-details-compact h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.room-specs-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.room-specs-compact span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}
.room-specs-compact i {
    color: var(--accent);
    width: 16px;
    height: 16px;
}
.room-specs-compact strong {
    color: var(--accent);
}
.room-details-compact p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 16px 6px 14px 10px;
}
.btn-sm:hover {
    border-radius: 10px 16px 6px 14px;
}

/* AMENITIES COMPACT */
.amenities-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .amenities-compact {
        grid-template-columns: repeat(4, 1fr);
    }
}
.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    color: white;
}
.amenity i {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.9);
}
.amenity span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ROOM CARDS CLICKABLE */
.room-card-clickable {
    cursor: pointer;
    transition: var(--transition);
}
.room-card-clickable:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ROOM MODAL */
.room-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.room-modal.modal-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}
.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.modal-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.modal-carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-out;
}
.modal-gallery-image {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}
.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}
.modal-nav i {
    width: 28px;
    height: 28px;
}
.modal-prev {
    left: 1rem;
}
.modal-next {
    right: 1rem;
}
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10002;
}
.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}
.modal-close i {
    width: 24px;
    height: 24px;
}
.modal-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 10001;
}

@media (max-width: 640px) {
    .modal-nav {
        width: 44px;
        height: 44px;
    }
    .modal-nav i {
        width: 24px;
        height: 24px;
    }
    .modal-prev {
        left: 0.5rem;
    }
    .modal-next {
        right: 0.5rem;
    }
    .modal-close {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }
    .modal-close i {
        width: 20px;
        height: 20px;
    }
    .modal-counter {
        bottom: 1.5rem;
        font-size: 0.85rem;
    }
}

/* CONTACT PAGE */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-info-block h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-info-block p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-info-block a {
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.contact-info-block a:hover {
    color: var(--accent-hover);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-map {
    display: flex;
    flex-direction: column;
}

.contact-map h2 {
    margin-bottom: 1.5rem;
}

.contact-map iframe {
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--primary-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 20px;
    padding-right: 2.5rem;
}

/* CENTRALIZED INLINE STYLES - HERO */
.hero-content > p {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* CENTRALIZED INLINE STYLES - EQUIPMENT BLOCK */
.equipment-block h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.equipment-block h3 i {
    display: inline;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* CENTRALIZED INLINE STYLES - SECTION HEADINGS */
.section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* SPECIFIC MARGIN FOR LARGER H2 HEADINGS */
#rooms > .container > h2 {
    margin-bottom: 3rem;
}

/* DOM LAURA - HISTORY SECTION */
.history-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.history-wrapper h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
}

.history-wrapper p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* IFRAMES - REMOVE INLINE STYLES */
iframe {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* SECTION WITH RELATIVE POSITION AND OVERFLOW */
.section.bg-light-relative {
    position: relative;
    overflow: hidden;
}

.section.bg-light-relative .container {
    position: relative;
    z-index: 1;
}

/* FOOTER */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}
