/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Turkish Kebab Theme */
    --primary-color: #c41e3a;
    --primary-dark: #a01829;
    --primary-light: #e63950;
    --secondary-color: #f8b400;
    --secondary-dark: #d99d00;

    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #fff;

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

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

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

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

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== RESET & BASE ===== */
* {
    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);
}

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

ul {
    list-style: none;
}

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

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    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(--secondary-color));
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

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

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

.nav__list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

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

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

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

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

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

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

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

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

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

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

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

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

.hero__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

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

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

.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);
}

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

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

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

.about__text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.about__text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

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

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

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

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

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

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

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

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

.feature-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

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

.feature-card__description {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.gallery__tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.gallery__tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

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

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

.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: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    opacity: 0;
    transition: var(--transition);
}

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

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

.lightbox.active {
    display: flex;
}

.lightbox__content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--text-white);
    cursor: pointer;
}

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

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

.rating-summary {
    text-align: center;
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.rating-summary__stars {
    margin: var(--spacing-sm) 0;
}

.rating-summary__count {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: var(--spacing-sm);
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.rating-label {
    font-weight: 500;
    color: var(--text-dark);
}

.bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 1s ease;
}

.rating-count {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews__slider {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-sm);
}

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

.review-card {
    min-width: 100%;
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

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

.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__details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.review-detail {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.reviews__controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.reviews__nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.reviews__nav:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

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

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

.hours__table {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 12px;
}

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

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

.hours__day {
    font-weight: 500;
    color: var(--text-dark);
}

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

.hours__row--closed .hours__time {
    color: var(--primary-color);
    font-weight: 500;
}

.hours__info {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-md);
    border-radius: 12px;
}

.hours__info h3 {
    margin-bottom: var(--spacing-sm);
}

.hours__info ul {
    list-style: none;
}

.hours__info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hours__info li:last-child {
    border-bottom: none;
}

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

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

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

.contact__card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

.contact__card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact__card a {
    color: var(--primary-color);
    font-weight: 500;
}

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

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

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    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-lg);
}

.footer__section h3,
.footer__section h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.footer__section p,
.footer__section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.footer__section a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer__rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

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

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav__toggle {
        display: flex;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .hero__title {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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