/* CSS Variables */
:root {
    --primary-color: #8b6f47;
    --secondary-color: #d4a574;
    --dark-color: #1a1a1a;
    --light-color: #f8f6f3;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --overlay: rgba(26, 26, 26, 0.7);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
}

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

a:hover {
    color: var(--secondary-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

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

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

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    margin: 6px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(139,111,71,0.4) 100%);
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.1s;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.3s;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    margin: 10px auto;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background-color: white;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

.about-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Specialties Section */
.specialties {
    background-color: var(--light-color);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialty-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.specialty-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.specialty-content {
    padding: 1.5rem;
}

.specialty-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.specialty-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.specialty-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Popular Times Section */
.popular-times {
    background-color: white;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.day-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.day-card.highlight {
    background-color: var(--primary-color);
    color: white;
}

.day-card h3 {
    margin-bottom: 1.5rem;
}

.day-card.highlight h3 {
    color: white;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 8px;
}

.day-card.highlight .time-slot {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.time-slot.quiet {
    border-left: 4px solid var(--success-color);
}

.time-slot.moderate {
    border-left: 4px solid var(--warning-color);
}

.time-slot.busy {
    border-left: 4px solid var(--error-color);
}

.time-slot .status {
    font-size: 0.875rem;
    font-weight: 600;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-cta p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
    background-color: white;
}

.reviews-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.rating-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
}

.rating-stars {
    margin-top: 0.5rem;
}

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

.rating-distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

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

.rating-bar span:first-child {
    min-width: 30px;
    text-align: right;
    font-size: 0.875rem;
}

.rating-bar span:last-child {
    min-width: 30px;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

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

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tag {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-color);
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.review-card {
    display: none;
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 600px;
}

.review-card.active {
    display: block;
}

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

.review-rating {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

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

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

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

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

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

.review-prev,
.review-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.review-prev:hover,
.review-next:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Visit Section */
.visit {
    background-color: var(--light-color);
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.opening-hours,
.services-amenities,
.delivery-options {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.opening-hours h3,
.services-amenities h3,
.delivery-options h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

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

.hours-item.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.hours-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 8px;
}

.amenity-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.amenity span:last-child {
    font-size: 0.875rem;
    color: var(--text-color);
}

.delivery-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 8px;
    color: var(--text-color);
    transition: var(--transition);
}

.delivery-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.delivery-logo {
    font-weight: bold;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

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

.phone-number {
    font-size: 1.5rem;
}

.phone-number a {
    color: var(--text-color);
}

.nearby-places {
    list-style: none;
    padding: 0;
}

.nearby-places li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Customer Update Section */
.customer-update {
    background-color: var(--light-color);
    padding: 60px 0;
}

.update-card {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.update-card h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.update-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.update-content cite {
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

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

.update-images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-address {
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: white;
}

.footer-phone a {
    color: white;
    font-size: 1.125rem;
}

.footer-map-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-rating {
    color: var(--secondary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

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

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(10px) rotate(45deg); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .reviews-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .update-images {
        flex-wrap: wrap;
    }

    .update-images img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .specialties-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}