/* Szoba Reszletes (Room Detail) Page Styles */

/* CSS Variables - Brand Colors */
:root {
    --primary: #AB7442;
    --primary-dark: #8B5F36;
    --primary-light: #C89669;
    --dark: #212529;
    --text-muted: #6c757d;
    --accessible-green: #7FB069;
    --calendar-accent-primary: #AB7442;
    --calendar-accent-hover: #8B5F36;
}

/* Hero Section - Full Width Background */
.szoba-hero {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 3rem;
}

.szoba-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
}

.szoba-hero-content {
    color: white;
}

.szoba-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.szoba-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white !important;
    opacity: 0.95;
}

.szoba-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    font-size: 1.1rem;
    color: var(--primary);
}

.hero-badge.accessible {
    background: var(--accessible-green);
    color: white;
}

.hero-badge.accessible i {
    color: white;
}

/* Gyorsinfo (Quick Info) Section */
.gyorsinfo-section {
    margin-bottom: 4rem;
}

.gyorsinfo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gyorsinfo-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.gyorsinfo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(171, 116, 66, 0.15);
    transform: translateY(-4px);
}

.gyorsinfo-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gyorsinfo-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gyorsinfo-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

/* Kepgaleria (Image Gallery) Section */
.kepgaleria-section {
    margin-bottom: 4rem;
}

.kepgaleria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.kepgaleria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

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

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

/* Felszereltseg (Amenities) Section */
.felszereltseg-section {
    margin-bottom: 4rem;
}

.felszereltseg-accordion .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.felszereltseg-accordion .accordion-button {
    background: white;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border: none;
}

.felszereltseg-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    box-shadow: none;
}

.felszereltseg-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.felszereltseg-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.felszereltseg-accordion .accordion-button.collapsed::after {
    filter: none;
}

.felszereltseg-accordion .accordion-body {
    padding: 1.5rem;
}

.amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.amenity-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 0.5rem 0;
}

.amenity-list li i {
    color: var(--primary);
    font-size: 1rem;
    min-width: 20px;
}

.amenity-note {
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.faq-accordion .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: white;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-accordion .accordion-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark);
}

/* CTA (Call-to-Action) Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    padding: 3rem 0;
    margin-bottom: 4rem;
    border-radius: 16px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-cta-primary,
.btn-cta-outline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.btn-cta-primary:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Room Navigation (Prev/Next) */
.room-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-room-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-room-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

.nav-room-link.prev:hover {
    transform: translateX(-4px);
}

.nav-room-link i {
    font-size: 1.2rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive Breakpoints */

/* Tablet (768px) */
@media (max-width: 992px) {
    .gyorsinfo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kepgaleria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity-list {
        grid-template-columns: 1fr;
    }

    .szoba-hero {
        height: 400px;
        background-attachment: scroll;
    }

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

/* Mobile (576px) */
@media (max-width: 768px) {
    .gyorsinfo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gyorsinfo-card {
        padding: 1rem;
    }

    .kepgaleria-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .szoba-hero {
        height: 350px;
    }

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

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

    .szoba-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }

    .room-navigation {
        flex-direction: column;
    }

    .nav-room-link {
        width: 100%;
        justify-content: center;
    }

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

/* Small Mobile (300px - 575px) */
@media (max-width: 575px) {
    .gyorsinfo-grid {
        grid-template-columns: 1fr;
    }

    .szoba-hero {
        height: 300px;
    }

    .szoba-hero-overlay {
        padding: 2rem 0;
    }

    .szoba-hero-title {
        font-size: 1.75rem;
    }

    .szoba-hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

/* Print Styles */
@media print {
    .cta-section,
    .room-navigation,
    .btn-cta-primary,
    .btn-cta-outline {
        display: none;
    }

    .szoba-hero {
        height: 300px;
        background-attachment: scroll;
        page-break-after: avoid;
    }

    .gyorsinfo-card,
    .kepgaleria-item,
    .accordion-item {
        page-break-inside: avoid;
    }

    .kepgaleria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accessibility Enhancements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keyboard Focus Styles */
a:focus,
button:focus,
.accordion-button:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation: Fade In Up */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* Breadcrumb styling fix for visibility */
.breadcrumb {
    background-color: transparent;
}

.breadcrumb-item a {
    color: white !important;
    text-decoration: underline;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary-light) !important;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}
