/* CSS Variables */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #c62828;
    --accent-color: #ffc107;
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-light: #9e9e9e;
    --background-light: #ffffff;
    --background-section: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-large: 0 8px 16px rgba(0,0,0,0.2);
    --transition-base: all 0.3s ease;
    --border-radius: 8px;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    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;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    text-decoration: none;
}

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

.btn--primary:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

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

.star {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition-base);
}

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

.navbar__logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.navbar__menu {
    display: flex;
}

.navbar__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.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 {
    width: 100%;
}

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

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(198, 40, 40, 0.8));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.rating__stars {
    display: flex;
    gap: 2px;
}

.rating__value {
    font-size: 1.5rem;
    font-weight: bold;
}

.rating__count {
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Section Styles */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

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

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

.feature__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature__icon {
    font-size: 1.5rem;
}

.about__image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--background-section);
}

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

.feature__card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    text-align: center;
}

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

.feature__card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__card-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature__card-description {
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.service__option {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

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

.service__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Opening Hours Section */
.opening-hours {
    padding: 80px 0;
    background-color: var(--background-section);
}

.hours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.day__name {
    font-weight: 600;
    color: var(--text-primary);
}

.day__hours {
    color: var(--primary-color);
    font-weight: 500;
}

.day__hours.closed {
    color: var(--error-color);
}

.hours__status {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    max-width: 400px;
    margin: 0 auto;
}

.hours__status.open {
    border-left: 4px solid var(--success-color);
}

.hours__status.closed {
    border-left: 4px solid var(--error-color);
}

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

.gallery__info {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery__count {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
}

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__overlay-text {
    color: white;
    font-weight: 600;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--background-section);
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews__rating {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.reviews__score {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.reviews__stars {
    margin: 0.5rem 0;
}

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

.review__bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 1rem;
    align-items: center;
}

.bar__label {
    text-align: right;
    font-size: 0.875rem;
}

.bar__track {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.bar__fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.bar__count {
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.review__card {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

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

.review__author {
    font-weight: 600;
    color: var(--text-primary);
}

.review__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

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

.contact__item {
    display: flex;
    gap: 1rem;
}

.contact__icon {
    font-size: 2rem;
    color: var(--primary-color);
}

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

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

.map__container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.map__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: var(--transition-base);
}

.map__placeholder:hover {
    transform: scale(1.02);
}

.map__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map__address {
    margin-top: 0.5rem;
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Reservation Form */
.contact__reservation {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

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

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

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form__input,
.form__select,
.form__textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form__textarea {
    resize: vertical;
}

.form__submit {
    margin-top: 1rem;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background-color: #1a1a1a;
    color: white;
}

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

.footer__title {
    color: white;
    margin-bottom: 1rem;
}

.footer__subtitle {
    color: white;
    margin-bottom: 1rem;
}

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

.footer__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

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

.footer__links a:hover {
    color: white;
}

.footer__hours {
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
}

.footer__hours li {
    margin-bottom: 0.5rem;
}

.footer__contact a {
    color: white;
    font-weight: 600;
}

.footer__address {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

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

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

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

/* Media Queries */
@media (max-width: 1023px) {
    .navbar__menu {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-medium);
    }

    .navbar__list {
        flex-direction: column;
        padding: 1rem;
    }

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

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

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

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

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

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

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

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

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

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

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