/* ===========================
   CSS VARIABLES
   =========================== */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e65a2b;
    --secondary-color: #2d6a4f;
    --accent-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

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

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

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.navbar__badge {
    background: linear-gradient(135deg, var(--secondary-color), #40916c);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

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

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.navbar__menu {
    display: flex;
    gap: 32px;
}

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

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

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

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(230, 90, 43, 0.8));
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1), transparent 50%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__icon {
    width: 20px;
    height: 20px;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 24px;
    opacity: 0.95;
    font-weight: 300;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

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

.star {
    color: var(--accent-color);
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stars--small .star {
    font-size: 1rem;
}

.hero__rating-text {
    font-size: 1rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn__icon {
    width: 20px;
    height: 20px;
}

.btn--primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn--full {
    width: 100%;
    justify-content: center;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.875rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero__scroll svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    background-color: var(--bg-light);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    color: white;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card__text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery {
    background: white;
}

.gallery__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__caption {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

/* ===========================
   REVIEWS SECTION
   =========================== */
.reviews {
    background: var(--bg-light);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.reviews__rating {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
}

.reviews__stars {
    margin-bottom: 12px;
}

.reviews__count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.reviews__distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews__bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews__bar-label {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 40px;
}

.reviews__bar-container {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.reviews__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ffa500);
    transition: width 1s ease;
}

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

.reviews__slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 100%;
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

.review-card__stars {
    display: flex;
    gap: 4px;
}

.review-card__date {
    color: var(--text-lighter);
    font-size: 0.875rem;
}

.review-card__text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.review-card__tag {
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.813rem;
    color: var(--text-light);
}

.review-card__ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.review-card__rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-card__rating-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-card__rating-value {
    font-weight: 600;
    color: var(--primary-color);
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews__control {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.reviews__control:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.reviews__control svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   HOURS SECTION
   =========================== */
.hours {
    background: white;
}

.hours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hours__item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.hours__item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.hours__item.today {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.hours__day {
    font-weight: 600;
    font-size: 1.05rem;
}

.hours__time {
    color: var(--text-light);
    font-size: 0.938rem;
}

.hours__item.today .hours__time {
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    background: var(--bg-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__item {
    display: flex;
    gap: 20px;
}

.contact__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact__icon svg {
    width: 24px;
    height: 24px;
}

.contact__details {
    flex: 1;
}

.contact__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact__text {
    color: var(--text-light);
    line-height: 1.7;
}

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

.contact__text a:hover {
    text-decoration: underline;
}

.contact__map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer__logo span {
    color: var(--accent-color);
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__menu,
.footer__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__menu a,
.footer__info li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__menu a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer__info li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__info svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright,
.footer__certified {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer__certified {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__certified svg {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   MODAL
   =========================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal__close svg {
    width: 24px;
    height: 24px;
}

.modal__content {
    max-width: 90%;
    max-height: 90%;
}

.modal__content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    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.8s ease, transform 0.8s ease;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1023px) {
    .section {
        padding: 60px 0;
    }

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

@media (max-width: 767px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
    }

    .navbar__menu.active {
        left: 0;
    }

    .hero {
        min-height: 500px;
    }

    .section {
        padding: 40px 0;
    }

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

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

    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .reviews__summary {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

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

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

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .review-card {
        padding: 24px 16px;
    }

    .review-card__ratings {
        grid-template-columns: 1fr;
    }
}
