:root {
    --primary: #FFC300;
    --primary-dark: #cca000;     
    --bg-color: #050505;
    --card-bg: #111111;          
    --text-main: #f4f4f4;        
    --text-muted: #aaaaaa;       
    --text-inverse: #000000;     
    --border-color: #222222;     
    
    --radius: 16px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.8);
    --shadow-strong: 0 15px 30px rgba(255, 195, 0, 0.15); 
    
    --anim-speed: 0.5s;
    --anim-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

@font-face {
  font-family: 'SamsungSharpSans';
  src: url('./fonts/samsungsharpsans.otf') format('opentype');
  font-style: normal;
}

@font-face {
  font-family: 'SamsungSharpSansBold';
  src: url('./fonts/samsungsharpsans-bold.otf') format('opentype');
  font-style: normal;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    padding-bottom: 90px;
}

.hero-header {
    background-image: url('https://res.cloudinary.com/f4ksoy/image/upload/v1775656012/1_ksvxjv.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-main);
    padding: 2rem 1rem 4.5rem;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 1;
}

.logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}

.brand-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--primary);
}

.brand-desc { 
    font-weight: 300; 
    opacity: 0.9; 
    font-size: 0.9rem; 
    padding: 0 10px;
}

.nav-container {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    z-index: 1000;
    margin: -35px 10px 30px;
    padding: 8px 5px;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 195, 0, 0.3);
    box-shadow: var(--shadow-soft);
}

.sticky-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-link {
    flex: 1 1 calc(25% - 5px); 
    min-width: 85px; 
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px; 
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem; 
    font-weight: 700;
    line-height: 1.1;
    white-space: normal; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-link.active {
    background-color: var(--primary);
    color: var(--text-inverse); 
    box-shadow: 0 4px 10px rgba(255, 195, 0, 0.3);
}

.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.menu-category { margin-bottom: 20px; }

details {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

details[open] { 
    box-shadow: var(--shadow-strong); 
    border-color: rgba(255, 195, 0, 0.4); 
}

summary {
    list-style: none;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}
summary::-webkit-details-marker { display: none; }

.summary-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--primary); 
}
.summary-content span { font-size: 0.8rem; color: var(--text-muted); }

.arrow-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform var(--anim-speed) var(--anim-curve), background 0.3s;
    flex-shrink: 0; 
}

details[open] .arrow-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--text-inverse);
}

.accordion-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--anim-speed) var(--anim-curve);
}

details[open] .accordion-wrapper {
    grid-template-rows: 1fr;
}

.accordion-inner { overflow: hidden; }

.product-item {
    display: flex;
    gap: 15px;
    padding: 1.2rem;
    border-top: 1px dashed var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInContent 0.5s ease forwards;
    animation-delay: 0.1s;
}

.product-item:hover .product-thumb img {
    transform: scale(1.1);
}

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

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    background: #1a1a1a;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; gap: 10px;}
.product-header h3 { font-size: 0.9rem; font-family: 'SamsungSharpSans', sans-serif; font-weight: 600; color: var(--text-main); line-height: 1.2;}
.price { 
    color: var(--primary); 
    font-family: 'SamsungSharpSansBold', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}
.desc { font-size: 0.75rem; font-family: 'SamsungSharpSans', sans-serif; color: var(--text-muted); line-height: 1.4; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111111; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.sticky-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: var(--card-bg);
  color: var(--text-main);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 20px;
  font-size: 11px;
  border-radius: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-color);
  z-index: 9999;
}

.sticky-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
  display: flex;
  gap: 5px;
  align-items: center;
}

.sticky-bar a:hover { color: var(--primary); }

footer { text-align: center; padding: 2rem 1rem 4rem; color: var(--text-muted); font-size: 0.8rem; }
footer a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--primary); }

.product-item {
    cursor: pointer;
}

.order-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal-content {
    background-color: var(--card-bg);
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 195, 0, 0.3);
    box-shadow: var(--shadow-strong);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s var(--anim-curve);
    overflow: hidden;
}

.order-modal-overlay.active .order-modal-content {
    transform: translateY(0) scale(1);
}

.order-modal-header {
    background-color: #000;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.order-modal-header h3 {
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin: 0;
}

.close-order-modal {
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-order-modal:hover { color: #fff; }

.order-modal-body {
    padding: 25px;
    text-align: center;
}

.order-modal-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.order-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'SamsungSharpSansBold', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.whatsapp-btn { background-color: #25D366; color: #fff; }
.trendyol-btn { background-color: #F27A1A; color: #fff; }
.yemeksepeti-btn { background-color: #EA004B; color: #fff; }

.order-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {

    .hero-header { padding: 4rem 2rem 5rem; }
    .logo { width: 170px; height: 170px; margin-bottom: 30px; }
    .brand-title { font-size: 2.5rem; }

    .main-content { max-width: 90%; padding: 0 20px; }

    .nav-container { 
        padding: 15px 20px; 
        margin: -45px 20px 35px;
        border-radius: 50px;
        top: 10px;
    }
    .sticky-nav { gap: 10px; }
    .nav-link {
        font-size: 0.85rem;
        padding: 10px 15px;
        flex: 0 1 auto; 
        border-radius: 40px; 
        min-width: unset;
    }

    summary { padding: 1.5rem 2rem; }
    .summary-content h2 { font-size: 1.4rem; }

    .accordion-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .product-item {
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background-color: var(--bg-color);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        animation-delay: 0s; 
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    }
    
	.product-thumb { width: 100px; height: 100px;}
    .product-header h3 { font-size: 1rem; }
    .price { font-size: 1.15rem; }

    .sticky-bar {
        width: auto;
        min-width: 400px;
        max-width: 600px;
        bottom: 30px;
        padding: 15px 35px;
        font-size: 13px;
        gap: 30px;
    }
}

@media (min-width: 1024px) {

    .hero-header {
        height: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 2rem;
        padding-bottom: 6rem;
    }

    .logo { width: 200px; height: 200px; margin-bottom: 20px; }
    
    .main-content {
        max-width: 1000px; 
        margin-top: 40px;
    }

    .nav-container { 
        padding: 20px 40px; 
        margin: -60px 40px 40px;
        top: 15px;
    }
    .sticky-nav { gap: 15px; }
    .nav-link { font-size: 0.95rem; padding: 12px 25px; }

    .product-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-strong);
        border-color: rgba(255, 195, 0, 0.4);
        cursor: pointer;
        background-color: var(--card-bg);
    }

    .nav-link:hover {
        background-color: rgba(255, 195, 0, 0.1);
        color: var(--primary);
    }
    
    .nav-link.active:hover {
        background-color: var(--primary);
        color: var(--text-inverse);
    }

    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-thumb { border-radius: 8px; }
    
    .sticky-bar {
        bottom: 40px;
        padding: 18px 50px;
        font-size: 14px;
        gap: 40px;
    }
}