/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #ff6b35;
    --primary-dark: #e84a23;
    --secondary-color: #f7931e;
    --accent-color: #ffc845;
    --text-dark: #2d2d2d;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Container */
    --container-width: 1140px;
    --container-padding: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 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: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-base);
    text-align: center;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

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

.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);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
}

.nav__logo h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 50px;
}

.nav__link--cta:hover {
    background: var(--primary-dark);
}

.nav__link--cta::after {
    display: none;
}

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

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__image-slider {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s infinite;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.7), rgba(247, 147, 30, 0.7));
}

@keyframes kenburns {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero__content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    opacity: 0.95;
}

.hero__rating {
    margin-bottom: var(--spacing-md);
}

.stars {
    display: inline-flex;
    gap: 4px;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
}

.star {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.star--half {
    position: relative;
    overflow: hidden;
}

.star--half::before {
    content: '★';
    position: absolute;
    width: 50%;
    overflow: hidden;
}

.hero__rating-text {
    font-size: 1rem;
    opacity: 0.9;
}

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

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

/* About Section */
.about {
    background: var(--bg-light);
}

.about__content {
    max-width: 900px;
    margin: 0 auto;
}

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

.about__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

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

.highlight__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.highlight h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

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

/* Services Section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-card__title {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

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

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

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

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

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

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

.gallery__item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition-base);
}

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

.gallery__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    padding: 2rem;
}

.gallery__modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.gallery__modal-close,
.gallery__modal-prev,
.gallery__modal-next {
    position: absolute;
    color: var(--text-white);
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.gallery__modal-close {
    top: 20px;
    right: 20px;
}

.gallery__modal-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery__modal-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery__modal-close:hover,
.gallery__modal-prev:hover,
.gallery__modal-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Reviews Section */
.reviews__stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.review-stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 16px;
    min-width: 200px;
}

.review-stat__number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.review-stat p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.reviews__distribution {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.distribution-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.distribution-bar span:first-child {
    width: 40px;
    color: var(--text-light);
}

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

.distribution-bar .bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-slow);
}

.distribution-bar span:last-child {
    width: 30px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__slider {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.reviews__track {
    display: flex;
    transition: transform var(--transition-slow);
}

.review-card {
    min-width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: 1rem;
}

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

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.review-card__info h4 {
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

.review-card__rating {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-card__stars {
    display: flex;
    gap: 2px;
    color: var(--accent-color);
}

.review-card__badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 12px;
    font-size: 0.85rem;
}

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

.review-card__details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-card__detail {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-card__images {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

.review-card__image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.review-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.review-card__image:hover img {
    transform: scale(1.1);
}

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

.reviews__control {
    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-base);
}

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

/* Order Section */
.order {
    background: var(--bg-light);
}

.order__platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.platform-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
    display: block;
    border: 2px solid transparent;
}

.platform-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.platform-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.platform-card__icon svg {
    width: 40px;
    height: 40px;
}

.platform-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.platform-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.platform-card__button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
}

.platform-card:hover .platform-card__button {
    background: var(--primary-dark);
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
}

.contact__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact__item h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

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

.contact__item a {
    color: var(--primary-color);
}

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

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.hours-item--closed span:last-child {
    color: #dc3545;
    font-weight: 600;
}

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

.contact__map iframe {
    display: block;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer__section h3,
.footer__section h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
}

.footer__section p,
.footer__section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    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;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    z-index: 999;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: var(--transition-base);
        box-shadow: var(--shadow-md);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    /* Hero */
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    /* Reviews */
    .reviews__stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    /* Typography */
    .hero__title {
        font-size: 2rem;
    }

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

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}