* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dc2626;
    --secondary-color: #991b1b;
    --dark-bg: #0a0a0a;
    --light-text: #ffffff;
    --dark-text: #1a1a1a;
    --overlay-dark: rgba(0, 0, 0, 0.85);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background with logo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Penta House İnstagram Logo_page-0001.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-side-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero-side-image:hover {
    opacity: 1;
}

.hero-left {
    left: 0;
    transform: translateY(-50%) translateX(-20%);
}

.hero-right {
    right: 0;
    transform: translateY(-50%) translateX(20%);
}

.hero-right {
    right: 0;
}

.side-character {
    max-width: 700px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.animated-logo {
    width: 400px;
    height: auto;
    max-width: 90vw;
    object-fit: contain;
    transition: transform 0.3s ease-out;
    filter: drop-shadow(0 10px 30px rgba(220, 38, 38, 0.5));
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    margin-top: 300px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    color: var(--light-text);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
}

/* Sections */
section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Services */
.services {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    opacity: 0.8;
    line-height: 1.8;
}

/* Pricing */
.pricing {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--light-text);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.price span {
    font-size: 1.2rem;
    opacity: 0.7;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.price-features li:before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.price-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.price-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Contact */
.contact {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.8;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Rezervasyon Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
    transition: all 0.3s;
}

.modal-info {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.table-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.table-item.available {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.table-item.available::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 15px #22c55e;
    animation: pulse 2s infinite;
}

.table-item.occupied {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    cursor: not-allowed;
    opacity: 0.7;
}

.table-item.occupied::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    animation: pulse 2s infinite;
}

.table-item.available:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(34, 197, 94, 0.7);
    background: rgba(34, 197, 94, 0.1);
}

.table-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.table-status {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-item.available .table-status {
    color: #22c55e;
}

.table-item.occupied .table-status {
    color: var(--primary-color);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.2);
    }
}

.legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 10px;
}

.legend-box.available {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.legend-box.occupied {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Rezervasyon Seçenekleri Modal */
.rezervasyon-secenek-modal {
    max-width: 500px;
}

.secenek-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.secenek-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 3px solid transparent;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.secenek-button:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.whatsapp-button {
    border-color: #25D366;
}

.whatsapp-button:hover {
    border-color: #25D366;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.1);
}

.phone-button {
    border-color: var(--primary-color);
}

.phone-button:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 30px rgba(220, 38, 38, 0.4);
    background: rgba(220, 38, 38, 0.1);
}

.secenek-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.secenek-content {
    flex: 1;
}

.secenek-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.secenek-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

.whatsapp-button .secenek-content h3 {
    color: #25D366;
}

.phone-button .secenek-content h3 {
    color: var(--primary-color);
}

/* Admin Login Form */
.admin-login-modal {
    max-width: 400px;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-login-form input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 1rem;
    font-family: inherit;
}

.admin-login-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Admin Panel Styles */
.admin-modal {
    max-width: 700px;
}

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

.admin-table-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.admin-table-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.admin-table-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-table-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--light-text);
}

.admin-table-status-display {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.admin-table-status-display.available {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.admin-table-status-display.occupied {
    background: rgba(220, 38, 38, 0.2);
    color: var(--primary-color);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transition: 0.4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #22c55e;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #22c55e;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 2px solid var(--primary-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        right: 1rem;
    }

    .admin-btn {
        right: 4rem;
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }

    .nav {
        padding: 1rem;
    }

    .animated-logo {
        width: 250px;
    }

    .hero-side-image {
        display: none;
    }

    .hero-content {
        margin-top: 200px;
    }

    .tables-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .table-item {
        min-height: 100px;
        padding: 1rem 0.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .admin-tables-grid {
        grid-template-columns: 1fr;
    }

    .secenek-buttons {
        gap: 1rem;
    }

    .secenek-button {
        padding: 1.2rem;
    }

    .secenek-icon {
        font-size: 2.5rem;
    }

    .secenek-content h3 {
        font-size: 1.3rem;
    }

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

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

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

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1.03) translateY(-10px);
    }
}

