/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors - Turkish/Mediterranean Theme */
    --primary-color: #c8102e;
    --primary-dark: #a00d25;
    --primary-light: #e61e3a;
    --secondary-color: #f4a460;
    --accent-color: #ff8c00;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a1a;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #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.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    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;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 20px;
}

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

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

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

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

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

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    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(200, 16, 46, 0.7), rgba(26, 26, 26, 0.6));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.stars {
    display: flex;
    gap: 3px;
}

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

.star.filled {
    color: #ffd700;
}

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

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.rating__text {
    font-size: 1.1rem;
}

.hero__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.price__range {
    background: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

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

.scroll__arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    background: var(--bg-secondary);
}

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

.feature__card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

.feature__icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature__text {
    color: var(--text-secondary);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.amenities {
    margin-top: 30px;
}

.amenities h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.amenities__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.amenity__icon {
    font-size: 1.5rem;
}

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

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

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

/* ===================================
   MENU SECTION
   =================================== */
.menu {
    background: var(--bg-secondary);
}

.menu__content {
    max-width: 900px;
    margin: 0 auto;
}

.menu__category {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

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

.category__description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.menu__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

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

.menu__item:hover {
    background: var(--bg-secondary);
    border-radius: 8px;
}

.item__name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.item__description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.item__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.meal__types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.meal__type {
    text-align: center;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 10px;
}

.meal__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.meal__type h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.meal__type p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

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

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 16, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

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

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

.gallery__category {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.rating__summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--bg-primary);
    border-radius: 15px;
}

.rating__score {
    text-align: center;
}

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

.score__stars {
    margin-bottom: 10px;
}

.score__text {
    color: var(--text-secondary);
}

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

.distribution__row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.distribution__label {
    min-width: 30px;
    font-weight: 600;
}

.distribution__bar {
    flex: 1;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.distribution__fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition-slow);
}

.distribution__count {
    min-width: 30px;
    text-align: right;
    color: var(--text-secondary);
}

.reviews__slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.reviews__container {
    position: relative;
    min-height: 300px;
}

.review__card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(100px);
    transition: var(--transition-base);
    pointer-events: none;
}

.review__card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

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

.review__stars {
    display: flex;
    gap: 3px;
}

.review__date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review__text {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.review__details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.review__tag {
    background: var(--bg-secondary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review__ratings {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review__response {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-top: 15px;
}

.review__response strong {
    color: var(--primary-color);
}

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

.slider__btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider__btn--prev {
    left: -25px;
}

.slider__btn--next {
    right: -25px;
}

.review__tags {
    margin-top: 40px;
    text-align: center;
}

.review__tags h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tags__container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    background: var(--bg-primary);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ===================================
   OPENING HOURS SECTION
   =================================== */
.hours__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.hours__list {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

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

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

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

.time {
    color: var(--primary-color);
    font-weight: 600;
}

.hours__chart {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.hours__chart h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.chart__subtitle {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.chart__info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info__label {
    font-weight: 600;
    color: var(--text-primary);
}

.info__value {
    color: var(--text-secondary);
}

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

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

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

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

.info__icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
}

.info__text h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.info__text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info__text a {
    color: var(--primary-color);
    font-weight: 600;
}

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

.link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer__about h3 {
    margin-bottom: 15px;
    color: var(--primary-light);
}

.footer__about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 15px;
    color: var(--primary-light);
}

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

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer__contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer__contact a {
    color: var(--primary-light);
}

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

.footer__bottom p {
    margin-bottom: 5px;
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    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 {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-base);
}

.lightbox__close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 20px;
    transition: var(--transition-base);
}

.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--primary-light);
}

.lightbox__prev {
    left: 30px;
}

.lightbox__next {
    right: 30px;
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

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

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .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__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

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

    .hero__buttons .btn {
        width: 100%;
    }

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

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

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

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

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

    .slider__btn--prev {
        left: 10px;
    }

    .slider__btn--next {
        right: 10px;
    }

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

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }
}

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

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__price {
        flex-direction: column;
        gap: 5px;
    }

    .separator {
        display: none;
    }

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

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

    .item__price {
        align-self: flex-start;
    }
}