/* CSS Variables */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ffcdd2;
    --secondary-color: #ffd54f;
    --accent-color: #ff6f00;

    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

    --border-radius: 8px;
    --transition: all 0.3s ease;

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

/* 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;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

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

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

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

.navbar__brand {
    flex-shrink: 0;
}

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

.navbar__toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.navbar__menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.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 {
    color: var(--primary-color);
}

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

/* 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%;
    background-image: url('https://lh3.googleusercontent.com/gps-cs-s/AC9h4nqgqcDvro2rD6-H8Jn1aLgSmmdjOLVR1z4Cnuzd41FrnGomC-ffWysfTo2sRN-gGdM8vVjlf8FMAleIjhBie1eRnT4RXCcQSWmVkswYTdpSlfUDooLhQoGxNqCKkAHmLXqa8AsL=w1920-h1080-k-no');
    background-size: cover;
    background-position: center;
    animation: parallax 20s ease infinite alternate;
}

@keyframes parallax {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.1) translateY(-20px); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.8), rgba(0, 0, 0, 0.7));
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    text-align: center;
    color: var(--text-white);
    animation: fadeInUp 1s ease;
}

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

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

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

.star {
    font-size: 1.5rem;
    color: #ccc;
}

.star.filled {
    color: var(--secondary-color);
}

.star.half {
    background: linear-gradient(90deg, var(--secondary-color) 50%, #ccc 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

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

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

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

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

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

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

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

.about__text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about__text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.highlight {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.highlight__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight__text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.highlight__text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.about__image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__image:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.feature-card__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

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

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

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

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

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

.gallery__item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

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

.lightbox.active {
    display: flex;
}

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

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

/* Reviews Section */
.reviews__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.reviews__overall {
    text-align: center;
}

.reviews__score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reviews__stars {
    margin-bottom: 10px;
}

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

.reviews__breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar__label {
    width: 40px;
    font-weight: 600;
}

.rating-bar__fill {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar__value {
    height: 100%;
    background-color: var(--secondary-color);
    transition: width 1s ease;
}

.rating-bar__count {
    width: 50px;
    text-align: right;
    color: var(--text-light);
}

.reviews__carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.review-card university {
    display: none;
}

.review-card.active {
    display: block;
}

.review-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.review-card__stars {
    display: flex;
    gap: 2px;
}

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

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

.review-card__text {
    margin-bottom: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

.review-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--bg-light);
    color: var(--text-medium);
    border-radius: 20px;
    font-size: 0.85rem;
}

.badge-highlight {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.badge-success {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.review-card__ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.reviews__nav-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.reviews__dots {
    display: flex;
    gap: 10px;
}

.reviews__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.reviews__dot.active {
    background-color: var(--primary-color);
}

/* Order Section */
.order {
    background-color: var(--bg-light);
}

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

.order__platform {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.order__platform-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.order__platform h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* Hours Section */
.hours__schedule {
    max-width: 600px;
    margin: 0 auto 60px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.hours__day {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid var(--bg-light);
}

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

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

.hours__time {
    color: var(--text-medium);
}

.hours__busytimes {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.hours__busytimes h3 {
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.hours__live-status {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-color);
}

.busytimes__chart {
    min-height: 200px;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item {
    display: flex;
    gap: 20px;
}

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

.contact__item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact__item p,
.contact__item a {
    color: var(--text-medium);
    margin-bottom: 5px;
}

.contact__item a:hover {
    color: var(--primary-color);
}

.contact__neighborhood {
    font-style: italic;
    color: var(--text-light);
}

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

.contact__features {
    list-style: none;
}

.contact__features li {
    padding: 5px 0;
    color: var(--text-medium);
}

.contact__map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: var(--border-radius);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" x="50" text-anchor="middle" font-size="16" fill="%23757575">📍 Map</text></svg>');
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

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

.footer__section h3,
.footer__section h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer__section p {
    color: #bbb;
    line-height: 1.8;
}

.footer__section ul li {
    margin-bottom: 10px;
}

.footer__section a {
    color: #bbb;
    transition: var(--transition);
}

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

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

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

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

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

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .navbar__menu.active {
        transform: translateY(0);
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

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

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

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

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

    .btn {
        width: 100%;
    }

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