/* CSS Variables */
:root {
    --primary: #C4574B;
    --primary-dark: #A64439;
    --primary-light: #D97268;
    --dark: #1A1A1A;
    --dark-gray: #2D2D2D;
    --medium-gray: #4A4A4A;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 500;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-top: 15px;
}

.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 6px;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.header.scrolled .nav-menu a {
    color: var(--text);
    text-shadow: none;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--dark);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.2rem;
    display: flex;
    gap: 3px;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary);
    border-radius: 20px;
    transform: translate(15px, 15px);
    z-index: -1;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-tag i {
    color: var(--primary);
}

.about-hours h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-hours h3 i {
    color: var(--primary);
}

.hours-grid {
    display: flex;
    gap: 30px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

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

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(196, 87, 75, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 15px;
    transition: var(--transition);
}

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

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

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

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary);
}

/* Features Section */
.features {
    background: var(--dark);
    color: var(--white);
}

.features .section-title {
    color: var(--white);
}

.features .section-title::after {
    background: var(--primary-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--dark-gray);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--medium-gray);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.feature-card span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    background: var(--light-gray);
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    max-width: 100%;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

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

.review-rating {
    color: #FFD700;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.review-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.reviews-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.reviews-dots {
    display: flex;
    gap: 10px;
}

.reviews-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
}

.reviews-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Contacts Section */
.contacts {
    background: var(--white);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
}

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

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-content p,
.contact-content a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.contacts-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#map {
    width: 100%;
    height: 500px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 50px;
    border-radius: 8px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 5px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gray);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        color: var(--text) !important;
        font-size: 1.2rem;
        text-shadow: none !important;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-image::after {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 10px);
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    #map {
        height: 350px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-categories {
        flex-direction: column;
    }
    
    .category-tag {
        width: 100%;
        justify-content: center;
    }
    
    .hours-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .review-card {
        padding: 25px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
