/* ================================
   CSS Variables
   ================================ */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff6659;
    --secondary-color: #ffc107;
    --text-dark: #212121;
    --text-light: #757575;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================
   Reset & Base Styles
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ================================
   Layout Components
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar__logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-normal);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 20px;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.star.filled {
    color: var(--secondary-color);
}

.star.half {
    position: relative;
    color: transparent;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--secondary-color);
}

.rating-text {
    font-size: 1.1rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    display: inline-block;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-white);
    animation: bounce 2s infinite;
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    font-size: 2.5rem;
}

.highlight-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.highlight-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.about__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about__image:hover img {
    transform: scale(1.05);
}

/* ================================
   Services Section
   ================================ */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card__text {
    color: var(--text-light);
    line-height: 1.6;
}

.amenities {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.amenities__title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.amenity-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ================================
   Gallery Section
   ================================ */
.gallery {
    padding: 100px 0;
    background: var(--bg-white);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
}

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

.gallery__item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    aspect-ratio: 4/3;
}

.gallery__item.hidden {
    display: none;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* ================================
   Reviews Section
   ================================ */
.reviews {
    padding: 100px 0;
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

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

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.summary-score .stars {
    justify-content: center;
    margin-bottom: 1rem;
}

.score-text {
    color: var(--text-light);
}

.summary-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 40px;
    color: var(--text-light);
}

.bar-bg {
    flex: 1;
    height: 12px;
    background: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--secondary-color);
    transition: width var(--transition-normal);
}

.bar-count {
    min-width: 30px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    font-size: 1.2rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.detail-rating {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.review-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-badge {
    background: var(--primary-light);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.reviewer-count {
    color: var(--text-light);
    font-size: 0.85rem;
}

.reviews__navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.review-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.review-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ================================
   Hours Section
   ================================ */
.hours {
    padding: 100px 0;
    background: var(--bg-white);
}

.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.hours__schedule {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item.closed {
    opacity: 0.5;
}

.day {
    font-weight: 600;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
}

.hours__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.info-box a {
    color: var(--primary-color);
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.info-card__icon {
    font-size: 2rem;
}

.info-card__content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.info-card__content a {
    color: var(--primary-color);
    font-weight: 600;
}

.info-card__content a:hover {
    text-decoration: underline;
}

.contact__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
}

.map-btn {
    display: block;
    margin-top: 1rem;
    text-align: center;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

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

.footer__col h3 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer__col h4 {
    margin-bottom: 1rem;
}

.footer__col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__col a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Scroll to Top Button
   ================================ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ================================
   Modal
   ================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.modal__close:hover {
    background: var(--primary-color);
}

.modal__prev,
.modal__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.modal__prev {
    left: 2rem;
}

.modal__next {
    right: 2rem;
}

.modal__prev:hover,
.modal__next:hover {
    background: var(--primary-color);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

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

/* ================================
   Media Queries
   ================================ */

/* Tablet */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2rem;
    }

    .about__content,
    .hours__content,
    .contact__content {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
    }

    .services__grid,
    .gallery__grid,
    .amenities__grid {
        grid-template-columns: 1fr;
    }

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

    .modal__prev {
        left: 1rem;
    }

    .modal__next {
        right: 1rem;
    }

    .modal__close {
        top: 1rem;
        right: 1rem;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero__buttons,
    .scroll-top,
    .modal,
    .gallery__filters,
    .reviews__navigation {
        display: none;
    }
}