/* CSS Variables */
:root {
    /* Colors - Cafe Theme */
    --primary-color: #d4a574;
    --primary-dark: #b8894e;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --overlay: rgba(0,0,0,0.5);

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

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

    /* Container */
    --container-max: 1140px;
}

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

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

body {
    font-family: var(--font-secondary);
    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-base);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Section */
.section {
    padding: var(--spacing-xl) 0;
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

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

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

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

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

.nav__menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition-base);
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    center/cover no-repeat;
    color: var(--text-white);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(212,165,116,0.3));
}

.hero__content {
    position: relative;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero__rating {
    margin-bottom: var(--spacing-md);
}

.stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.hero__cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-base);
    display: inline-block;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

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

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

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

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-white);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
    transform: rotate(-45deg);
    margin: 0.5rem auto 0;
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

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

.highlight-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-base);
}

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

.highlight-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.highlight-item h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.highlight-item p {
    color: var(--text-light);
}

/* Offerings Section */
.offerings {
    background: var(--bg-light);
}

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

.offering-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.offering-card__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.offering-card__title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.offering-card__description {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.offering-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Features Section */
.features {
    background: var(--bg-white);
}

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

.feature-item {
    text-align: center;
    padding: var(--spacing-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: var(--transition-base);
}

.gallery__item:hover::after {
    background: rgba(0,0,0,0.3);
}

/* Reviews Section */
.reviews {
    background: var(--bg-white);
}

.reviews__stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.stats-item {
    text-align: center;
}

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

.stats-stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.stats-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
    margin: 0 0.5rem;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-card__stars {
    color: var(--primary-color);
    font-size: 1.25rem;
}

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

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

.review-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
}

.review-context-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-white);
    border-radius: 12px;
    color: var(--text-light);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 2;
}

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

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

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

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Hours Section */
.hours {
    background: var(--bg-light);
}

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

.hours__schedule {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.hours__day:last-child {
    border-bottom: none;
}

.day-name {
    font-weight: 600;
    color: var(--text-dark);
}

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

.hours__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.info-card ul li strong {
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

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

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.contact-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-card h3 {
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
}

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

.contact-card a:hover {
    text-decoration: underline;
}

.contact-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer__brand h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.footer__brand p {
    opacity: 0.8;
}

.footer__column h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.footer__column ul li {
    margin-bottom: 0.5rem;
}

.footer__column ul li a {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer__column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

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

.lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-white);
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10001;
}

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

.lightbox__prev {
    left: 2rem;
}

.lightbox__next {
    right: 2rem;
}

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

.lightbox__counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1rem;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .nav__menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: var(--transition-base);
        box-shadow: var(--shadow-md);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

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

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

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

    .hero {
        height: 80vh;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .reviews__carousel {
        padding: 0 2.5rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox__prev {
        left: 1rem;
    }

    .lightbox__next {
        right: 1rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-md);
    }

    .btn {
        width: 100%;
    }

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

    .reviews__carousel {
        padding: 0 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero__cta,
    .lightbox,
    .carousel-btn,
    .footer {
        display: none;
    }

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