* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-footer: #0d0d0d;
    --bg-footer-bottom: #080808;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent: #ff6b00;
    --accent-hover: #e05f00;
    --accent-light: rgba(255, 107, 0, 0.15);
    --border-color: #2a2a2a;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, 'Noto Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text .slogan {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a,
.nav-menu > li > span {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu > li > span:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-menu > li.has-submenu > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 10px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
}

.submenu li a:hover {
    color: var(--accent);
    background: var(--accent-light);
    padding-left: 26px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-primary);
    font-size: 28px;
}

/* SLIDER */
.slider {
    margin-top: 80px;
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.slide-content h2 {
    font-size: 52px;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    padding: 0 20px;
}

.slider-arrow {
    pointer-events: all;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
}

/* KATEGORI CARDS */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

.kategori-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.kategori-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.1);
}

.kategori-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.kategori-card h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.kategori-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.kategori-card .count {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

/* YEMEK LIST */
.yemek-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.yemek-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.yemek-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.08);
}

.yemek-img {
    width: 130px;
    min-height: 130px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 40px;
    color: var(--text-muted);
}

.yemek-info {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yemek-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.yemek-info .aciklama {
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 10px;
}

.yemek-info .fiyat {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.yemek-info .fiyat::after {
    content: ' ₺';
}

/* ABOUT PAGE */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--text-muted);
}

.about-image.anasayfa-bg-image {
    background-image: url('https://tanlokanta.tantasarim.com/images/anasayfalokantaresmimiz1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-text h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--accent);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-item .check {
    color: var(--accent);
    font-weight: 700;
}

/* FORMS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* PAGES */
.page-content {
    padding: 120px 0 60px;
}

.page-header {
    text-align: center;
    padding: 100px 0 60px;
    background: var(--bg-secondary);
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 42px;
    color: var(--text-primary);
    font-weight: 700;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
}

.page-header p {
    color: var(--text-muted);
    margin-top: 10px;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--text-primary);
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail .icon {
    width: 45px;
    height: 45px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail h4 {
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--text-muted);
    font-size: 14px;
}

/* RESERVATION SUCCESS */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #00c853;
}

.alert-error {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
}

/* ALO PAKET */
.alo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.alo-info h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.alo-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

.alo-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    transition: var(--transition);
}

.alo-phone:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* FOOTER */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-col p,
.footer-col li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li::before {
    content: '›';
    color: var(--accent);
    margin-right: 8px;
    font-weight: 700;
}

.footer-bottom {
    background: var(--bg-footer-bottom);
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    top: auto;
    width: 42px;
    height: 42px;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

/* ADMIN PANEL */
.admin-body {
    background: var(--bg-primary);
    padding-top: 0;
}

.admin-panel {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .logo {
    padding: 0 20px 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-align: center;
}

.admin-sidebar .logo h2 {
    color: var(--accent);
    font-size: 24px;
}

.admin-sidebar nav a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    color: var(--accent);
    background: var(--accent-light);
    border-left-color: var(--accent);
}

.admin-sidebar nav a.logout {
    margin-top: 40px;
    color: #ff4444;
}

.admin-content {
    margin-left: 250px;
    padding: 30px;
    flex: 1;
}

.admin-content h1 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table .actions {
    display: flex;
    gap: 8px;
}

.btn-danger {
    background: #dc3545;
    border: none;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-warning {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover { background: #c82333; }
.btn-warning:hover { background: var(--accent-hover); }

.login-form {
    max-width: 400px;
    margin: 100px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.login-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-content,
    .contact-grid,
    .alo-content {
        grid-template-columns: 1fr;
    }
    .yemek-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li > a {
        padding: 12px 20px;
    }

    .submenu {
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-left: 2px solid var(--accent);
        margin: 0 20px;
        border-radius: 0;
        display: none;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .slider {
        height: 60vh;
        min-height: 350px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 15px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .kategori-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 200px;
    }

    .admin-content {
        margin-left: 200px;
    }

    .page-header h1 {
        font-size: 32px;
    }


}

@media (max-width: 480px) {
    .kategori-grid {
        grid-template-columns: 1fr;
    }

    .yemek-card {
        flex-direction: column;
    }

    .yemek-img {
        width: 100%;
        height: 140px;
    }

    .slider {
        height: 50vh;
    }

    .slide-content h2 {
        font-size: 26px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .admin-content {
        margin-left: 0;
    }

    .admin-panel {
        flex-direction: column;
    }
}