/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Fresh Fish Shop Theme */
    --primary-color: #0066cc;
    --primary-dark: #004d99;
    --secondary-color: #00a8e8;
    --accent-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-light: rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 3rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-normal);
}

/* ==================== LAYOUT COMPONENTS ==================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 24px;
}

.nav__toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

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

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-align: center;
}

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

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--overlay-light), var(--overlay-dark));
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

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

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

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

.rating-text {
    font-size: 1.125rem;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    display: inline-block;
}

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

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

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

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

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-white);
    font-size: 0.875rem;
    animation: bounce 2s ease infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--bg-white);
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--bg-white);
}

.about__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-md);
}

.info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-normal);
}

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

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

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card__text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
    background: var(--bg-light);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--gap-md);
    flex-wrap: wrap;
}

.gallery__filter {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-normal);
}

.gallery__filter:hover,
.gallery__filter.active {
    background: var(--primary-color);
    color: var(--bg-white);
}

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

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition-normal);
}

.gallery__item.hidden {
    display: none;
}

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

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__zoom {
    font-size: 2rem;
    color: var(--bg-white);
    background: none;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews {
    background: var(--bg-white);
}

.reviews__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-lg);
    margin-bottom: var(--gap-lg);
    padding: var(--gap-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.rating-summary {
    text-align: center;
    padding: 2rem;
}

.rating-summary__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.rating-summary__stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

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

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.rating-bar__label {
    min-width: 40px;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.rating-bar__fill {
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition-slow);
}

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

.reviews__list {
    display: grid;
    gap: var(--gap-md);
}

.review-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

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

.review-card__stars {
    display: flex;
    gap: 0.25rem;
}

.review-card__stars .star {
    font-size: 1rem;
}

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

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

.review-card__context {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-card__context span {
    background: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.review-card__images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.review-card__images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.review-card__images img:hover {
    transform: scale(1.05);
}

.review-card__rating-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.rating-badge {
    background: var(--bg-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-dark);
}

.review-card__meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-card__badge {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* ==================== HOURS SECTION ==================== */
.hours {
    background: var(--bg-light);
}

.hours__content {
    max-width: 600px;
    margin: 0 auto;
}

.hours-list {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.hours-item:last-child {
    border-bottom: none;
}

.hours-item__day {
    font-weight: 600;
    color: var(--text-dark);
}

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

.hours-item--closed {
    opacity: 0.6;
}

.hours-item--closed .hours-item__time {
    color: var(--text-lighter);
}

.hours__note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-lighter);
    font-size: 0.875rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--bg-white);
}

.contact__content {
    display: grid;
    gap: var(--gap-lg);
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-md);
}

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.contact__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact__map iframe {
    width: 100%;
    height: 450px;
}

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

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer__rating .rating-stars {
    gap: 0.125rem;
}

.footer__rating .star {
    font-size: 1rem;
}

.footer__links,
.footer__info {
    list-style: none;
}

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

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer__links a:hover {
    color: var(--bg-white);
    padding-left: 0.5rem;
}

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

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

.footer__source {
    margin-top: 0.5rem;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
}

.lightbox__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

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

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==================== MEDIA QUERIES ==================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 4rem 0;
    }

    .hero {
        height: 80vh;
    }

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 3rem 0;
        --gap-md: 1.5rem;
        --gap-lg: 2rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 2rem;
        transition: var(--transition-normal);
    }

    .nav__menu.active {
        left: 0;
    }

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

    .hero {
        height: 70vh;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

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

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

    .lightbox__prev,
    .lightbox__next {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .info-card,
    .contact-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .nav,
    .hero__buttons,
    .hero__scroll,
    .gallery__filters,
    .gallery__overlay,
    .lightbox {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .section {
        page-break-inside: avoid;
    }
}
