* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #3a6ea5;
    --secondary-color: #1e2a3a;
    --dark-color: #eaf6ff;
    --light-color: #182237;
    --gradient: linear-gradient(135deg, #274472, #3a6ea5);
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    background: var(--light-color);
}

/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--gradient);
    padding: 1rem;
}

.auth-box {
    background: #22304a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(20,30,60,0.25);
    width: 100%;
    max-width: 400px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.auth-box:hover {
    transform: translateY(-5px);
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #7ec7ff;
    font-size: 2rem;
    font-weight: 600;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-box input {
    padding: 1rem;
    border: 2px solid #3a6ea5;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #22304a;
    color: #eaf6ff;
}

.auth-box input:focus {
    border-color: #7ec7ff;
    outline: none;
}

.auth-box button {
    background: var(--gradient);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.auth-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.auth-box p {
    text-align: center;
    margin-top: 1rem;
}

.auth-box a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Main Content Styles */
.main-content {
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: #1e2a3a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

#logoutBtn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

#logoutBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1551782450-a2132b4ba21d?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

/* Menu Section */
.menu-section {
    padding: 6rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.menu-item {
    background: #22304a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(20,30,60,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.menu-item:hover img {
    transform: scale(1.05);
}

.menu-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.8rem;
    color: #7ec7ff;
}

.menu-item p {
    padding: 0 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.menu-item .price {
    display: block;
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient);
    border: none;
}

/* Footer Styles */
footer {
    background-color: #1e2a3a;
    color: white;
    padding: 4rem 1rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #7ec7ff;
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Discount Section */
.discount-title {
    margin-top: 4rem;
    color: var(--primary-color);
}

.discount-grid {
    margin-top: 2rem;
}

.discount-item {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    z-index: 1;
}

.discount-item .price del {
    color: #999;
    margin-right: 0.5rem;
}

/* About Section */
.about-section {
    padding: 5rem 1rem;
    background-color: var(--light-color);
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: #22304a;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Customize Button */
.customize-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 1.5rem 1.5rem;
    width: calc(100% - 3rem);
    transition: transform 0.3s, box-shadow 0.3s;
}

.customize-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #22304a;
    margin: 2rem auto;
    padding: 3rem;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-color);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.checkbox-group, .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.checkbox-group label, .radio-group label {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-color);
    min-height: 2.2rem;
    margin-bottom: 0.5rem;
    background: none;
    transition: background 0.2s;
}

.checkbox-group input[type="checkbox"], .radio-group input[type="radio"] {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

/* Custom Checkbox */
.checkbox-group label::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
    z-index: 1;
}

.checkbox-group input[type="checkbox"]:checked + label::before {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    content: '\2714';
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-60%);
    color: #fff;
    font-size: 1.1rem;
    z-index: 3;
}

/* Custom Radio */
.radio-group label::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
    z-index: 1;
}

.radio-group input[type="radio"]:checked + label::before {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-group input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.7rem;
    height: 0.7rem;
    background: #fff;
    border-radius: 50%;
    z-index: 3;
}

/* Modal Title & Close Button */
.modal-content h2#modalTitle {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-align: left;
}

.close {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 6px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    right: 1.5rem;
    top: 1.5rem;
    transition: background 0.2s, color 0.2s;
}

.close:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Spacing improvements */
.form-section {
    margin-bottom: 2.8rem;
}

.checkbox-group, .radio-group {
    gap: 1.7rem;
    margin-bottom: 0.5rem;
}

.total-price {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--gradient);
    border-radius: 15px;
    color: white;
}

.total-price h3 {
    font-size: 2rem;
    font-weight: 700;
}

.order-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

/* Modern Sepet (Cart) Button */
#cartBtn {
    position: relative;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255,71,87,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: visible;
}
#cartBtn:hover {
    background: linear-gradient(135deg, #ff6b81, var(--primary-color));
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 18px rgba(255,71,87,0.15);
}
#cartBtn .cart-icon {
    font-size: 1.3rem;
    margin: 0;
    display: inline-block;
}
#cartBtn .cart-badge {
    position: absolute;
    top: 6px;
    right: 7px;
    background: #fff;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    padding: 0.08em 0.5em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 2px solid var(--primary-color);
    min-width: 1.2em;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}
#cartBtn span:not(.cart-icon):not(.cart-badge) {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .checkbox-group, .radio-group {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .modal-content h2#modalTitle {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .checkbox-group label, .radio-group label {
        font-size: 1rem;
        padding-left: 2rem;
    }
}

/* Modern Checkout Form */
#checkoutModal .modal-content {
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    max-width: 480px;
}
#checkoutModal h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.2rem;
    text-align: left;
}
#checkoutModal .close {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    right: 1.5rem;
    top: 1.5rem;
    transition: background 0.2s, color 0.2s;
}
#checkoutModal .close:hover {
    background: var(--secondary-color);
}
#checkoutForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
#checkoutForm .form-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
#checkoutForm label {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.2rem;
}
#checkoutForm input[type="text"],
#checkoutForm input[type="password"],
#checkoutForm textarea {
    padding: 0.9rem 1.1rem;
    border: 1.5px solid #3a6ea5;
    border-radius: 12px;
    font-size: 1.08rem;
    background: #22304a;
    color: #eaf6ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.2s;
}
#checkoutForm input[type="text"]:focus,
#checkoutForm input[type="password"]:focus,
#checkoutForm textarea:focus {
    border-color: #7ec7ff;
    outline: none;
    background: #1e2a3a;
}
#checkoutForm textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 160px;
}
/* Kart Bilgileri Satırı */
.checkout-row {
    display: flex;
    gap: 1rem;
}
.checkout-row .form-section {
    flex: 1;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    #checkoutModal .modal-content {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .checkout-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}
#checkoutForm .order-btn {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    padding: 1.1rem 0;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

#accountBtn {
    position: relative;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255,71,87,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: visible;
}
#accountBtn:hover {
    background: linear-gradient(135deg, #ff6b81, var(--primary-color));
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 18px rgba(255,71,87,0.15);
}
#accountBtn .account-icon {
    font-size: 1.3rem;
    margin: 0;
    display: inline-block;
}
#accountModal .modal-content {
    max-width: 500px;
    padding: 2.5rem 2rem 2rem 2rem;
}
#accountModal h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}
#orderHistory {
    min-height: 80px;
    font-size: 1.08rem;
    color: var(--dark-color);
}

/* Gece Mavisi Teması */
:root {
    --primary-color: #3a6ea5;
    --secondary-color: #1e2a3a;
    --dark-color: #eaf6ff;
    --light-color: #182237;
    --gradient: linear-gradient(135deg, #274472, #3a6ea5);
}
body {
    background-color: var(--light-color);
    color: var(--dark-color);
}
.container {
    background: var(--light-color);
}
header, .menu-item, .auth-box, .modal-content, .feature, .about-image img, .footer-section, .total-price {
    background: #22304a !important;
    color: var(--dark-color) !important;
}
nav, .footer-bottom {
    background: #1e2a3a !important;
}
.menu-item, .feature, .auth-box, .modal-content {
    box-shadow: 0 4px 24px rgba(20,30,60,0.25);
}
.menu-item h3, .feature h4, .about-text h3, .footer-section h3, .modal-content h2, .modal-content h3, .auth-box h2 {
    color: #7ec7ff !important;
}
.menu-item .price, .discount-badge, .total-price h3, .order-btn, .customize-btn, #cartBtn, #accountBtn {
    color: #fff !important;
    background: var(--gradient) !important;
    border: none !important;
}
.order-btn, .customize-btn, #cartBtn, #accountBtn {
    box-shadow: 0 2px 10px rgba(58,110,165,0.15);
}
.order-btn:hover, .customize-btn:hover, #cartBtn:hover, #accountBtn:hover {
    background: linear-gradient(135deg, #274472, #3a6ea5, #7ec7ff) !important;
    color: #fff !important;
}
input, textarea, select {
    background: #22304a !important;
    color: #eaf6ff !important;
    border: 1.5px solid #3a6ea5 !important;
}
input:focus, textarea:focus, select:focus {
    border-color: #7ec7ff !important;
    background: #1e2a3a !important;
    color: #fff !important;
}
::-webkit-input-placeholder { color: #b3c7e6; }
::-moz-placeholder { color: #b3c7e6; }
:-ms-input-placeholder { color: #b3c7e6; }
::placeholder { color: #b3c7e6; }
.checkbox-group label, .radio-group label {
    color: #eaf6ff !important;
}
.social-links a {
    color: #7ec7ff !important;
}
.social-links a:hover {
    color: #fff !important;
} 