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

:root {
    /* Retro Theme Colors */
    --primary-color: #5f9bce;
    --primary-hover: #6f869a;
    --text-color: #202124;
    --bg-color: #ffffff;
    --button-default: #696969;
    --border-color: #b5b5b5;
    --star-color: #fbbc04;

    /* Typography */
    --font-heading: 'Comfortaa', cursive;
    --font-body: 'Chivo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 280px;
    height: calc(100vh - 64px);
    background-color: var(--bg-color);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    flex-direction: column;
    padding: 20px 0;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-item {
    padding: 16px 24px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.2s;
}

.mobile-menu-item:hover {
    background-color: #f5f5f5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    border: none;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

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

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

.btn-secondary {
    background-color: var(--button-default);
    color: white;
}

.btn-secondary:hover {
    background-color: #555;
}

.btn-cta {
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    padding: 12px 32px;
}

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

/* Header Section */
.header {
    margin-top: 64px;
    padding: 60px 20px;
    background-color: var(--bg-color);
}

.header-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.header-subtitle {
    font-size: 20px;
    color: #5f6368;
}

.header-address {
    font-size: 16px;
    color: #5f6368;
}

.header-image {
    width: 100%;
}

.header-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
    padding: 40px 20px;
    background-color: var(--bg-color);
}

.section-container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* Reviews */
.reviews-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.reviews-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 10px 0;
}

.reviews-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0.8;
}

.carousel-btn:hover {
    background-color: var(--primary-hover);
    opacity: 1;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.star {
    width: 20px;
    height: 20px;
    fill: var(--star-color);
}

.review-author {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.review-date {
    font-size: 14px;
    color: #5f6368;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Reviews Loading State */
.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.reviews-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reviews-loading p {
    color: #5f6368;
    font-size: 16px;
}

/* Reviews Actions */
.reviews-actions {
    margin-top: 32px;
    text-align: center;
}

.reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Reviews Embed Container */
.reviews-embed-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.reviews-embed-container iframe {
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item a {
    display: block;
    text-decoration: none;
}

/* Gallery Embed Styles */
.gallery-embed {
    width: 100%;
    margin: 0 auto;
}

.gallery-embed iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-embed-note {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
}

.gallery-embed-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.gallery-embed-note a:hover {
    text-decoration: underline;
}

/* Gallery CTA */
.gallery-cta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-large .icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-container {
    max-width: 1080px;
    margin: 0 auto;
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #5f6368;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header-title {
        font-size: 36px;
    }

    .nav-actions .btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .btn .icon {
        width: 16px;
        height: 16px;
    }

    .reviews-carousel-wrapper {
        padding: 0 40px;
    }

    .review-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 280px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

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

@media (max-width: 640px) {
    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-container {
        height: 70px;
    }

    .header {
        margin-top: 70px;
        padding: 40px 20px;
    }

    .site-title {
        font-size: 18px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .header-title {
        font-size: 32px;
    }

    .header-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .reviews-carousel-wrapper {
        padding: 0 30px;
    }

    .review-card {
        flex: 0 0 100%;
        min-width: 260px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 28px;
    }

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

    .nav-actions .btn {
        font-size: 11px;
        padding: 8px 10px;
    }
}
