/* 1. CSS Variables */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1140px;
}

/* 2. Reset/Normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* 3. Base Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* 4. Layout Components */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

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

.btn--large {
    padding: 15px 40px;
    font-size: 1.125rem;
}

/* 5. Page Sections */

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

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

.navbar__logo {
    flex-shrink: 0;
}

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

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

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

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

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

.navbar__link--cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.navbar__link--cta:hover {
    background-color: #ff5252;
}

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

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

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

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

.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(255, 107, 107, 0.8), rgba(78, 205, 196, 0.8));
}

.hero__content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

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

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

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

.hero__stars {
    color: #ffc107;
    font-size: 1.25rem;
}

.hero__score {
    font-weight: bold;
    font-size: 1.25rem;
}

.hero__reviews {
    opacity: 0.9;
}

.price-indicator {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fafafa;
}

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

.about__text h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about__text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about__highlights {
    display: grid;
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.highlight-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

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

.about__gallery {
    position: relative;
}

.about__image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.about__stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    justify-content: space-around;
    box-shadow: var(--shadow-hover);
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat__label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Features Section */
.features {
    padding: 80px 0;
}

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

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

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

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

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

.features__amenities {
    background: #fafafa;
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

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

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

.amenity__icon {
    color: var(--success);
    font-weight: bold;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #fafafa;
}

.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.reviews__overall {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

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

.reviews__stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin: 0.5rem 0;
}

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

.reviews__breakdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

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

.rating-bar__label {
    min-width: 30px;
    color: var(--text-light);
}

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

.rating-bar__fill {
    height: 100%;
    background: #ffc107;
    transition: var(--transition);
}

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

.reviews__highlights h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

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

.review-card__header {
    margin-bottom: 1rem;
}

.review-card__stars {
    color: #ffc107;
    font-size: 1.25rem;
}

.review-card__text {
    color: var(--text-color);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

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

.contact__info {
    display: grid;
    gap: 2rem;
}

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

.contact-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-card__text {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-card__link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card__link:hover {
    text-decoration: underline;
}

.contact-phone {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
}

.hours-list {
    display: grid;
    gap: 0.5rem;
}

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

.hours-day {
    font-weight: 500;
    color: var(--text-color);
}

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

.hours-status {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

.hours-status.open {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.hours-status.closed {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Reservation Section */
.reservation {
    padding: 80px 0;
    background: #fafafa;
}

.reservation__content {
    max-width: 800px;
    margin: 0 auto;
}

.reservation-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.reservation__alternative {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.reservation__alternative h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.phone-link:hover {
    transform: scale(1.05);
}

.phone-icon {
    font-size: 2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

.footer__description {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

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

.footer__stars {
    color: #ffc107;
}

.footer__heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__list {
    display: grid;
    gap: 0.5rem;
}

.footer__list a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer__list a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer__text {
    opacity: 0.8;
    line-height: 1.6;
}

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

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

.footer__copyright {
    opacity: 0.6;
    font-size: 0.875rem;
}

/* 6. UI Components */

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    z-index: 2000;
}

.toast.show {
    bottom: 30px;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* 7. Utilities */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

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

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

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

@media (max-width: 768px) {
    /* Navigation Mobile */
    .navbar__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        justify-content: start;
        padding: 2rem;
        transition: var(--transition);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .navbar__toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    /* About Mobile */
    .about__content {
        grid-template-columns: 1fr;
    }

    /* Features Mobile */
    .features__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Reviews Mobile */
    .reviews__summary {
        grid-template-columns: 1fr;
    }

    .reviews__overall {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    /* Contact Mobile */
    .contact__content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2rem;
    }

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

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

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

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