/*
 * Azure Tide — Vanilla CSS Tasarım Sistemi
 * =========================================
 * Saf CSS (React / Next.js / Tailwind yok)
 * rest2/index.php ile uyumlu ID/Class setini içerir.
 *
 * Renk Paleti: ocean/pearl/sand + bronz gradient
 * Fontlar: Playfair Display (heading/serif) + Inter (body/sans-serif)
 */

/* ---- Google Fonts import ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Tasarım Token'ları ---- */
:root {
    /* Ocean palette */
    --ocean-50:  #EEF6FB;
    --ocean-100: #D7EAF6;
    --ocean-200: #A9D0E8;
    --ocean-300: #79B5DB;
    --ocean-400: #4C97C2;
    --ocean-500: #2A6F97;
    --ocean-600: #1E5473;
    --ocean-700: #13384D;
    --ocean-800: #0C2635;
    --ocean-900: #071824;

    /* Accents */
    --pearl: #F7FAFC;
    --sand:  #DAB88B;

    /* Bronze gradient tokens */
    --bronze-start: #D9B77A;
    --bronze-mid:   #B8874A;
    --bronze-end:   #7E5632;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, system-ui, Segoe UI, Arial, sans-serif;

    /* Layout */
    --container-max: 90rem;
}

/* ====================================================================
   BASE RESET & BODY
   ==================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
*::-webkit-scrollbar { display: none; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: radial-gradient(ellipse at top center, rgba(76,151,194,0.18) 0%, rgba(7,24,36,1) 50%, rgba(4,14,20,1) 100%);
    background-attachment: fixed;
    color: var(--ocean-50);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent; /* Optimized: Mobile tap feedback removal */
}

::selection {
    background: rgba(218, 184, 139, 0.35);
    color: var(--ocean-900);
}

.no-scrollbar::-webkit-scrollbar { display: none; }

/* ====================================================================
   TYPOGRAPHY
   ==================================================================== */
.text-luxury-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 0.92;
    color: var(--pearl);
}

.text-gradient-bronze {
    background: linear-gradient(135deg, var(--bronze-start), var(--bronze-mid), var(--bronze-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================================================================
   CANVAS — Zorunlu Görünürlük (X88)
   ==================================================================== */
canvas {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ====================================================================
   CONTAINER
   ==================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 768px) {
    .container { padding-left: 3rem; padding-right: 3rem; }
}

/* ====================================================================
   LOADER
   ==================================================================== */
#loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(7, 24, 36, 1);
    transition: opacity 1s ease-out;
}
#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}
#loader-brand {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2rem, 6vw, 3.75rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--bronze-start), var(--bronze-mid), var(--bronze-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}
#loader-sub {
    font-family: var(--font-body);
    color: rgba(238, 246, 251, 0.55);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 3rem;
}
#loader-bar-track {
    width: clamp(14rem, 40vw, 22rem);
    height: 2px;
    background: rgba(238, 246, 251, 0.12);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
#loader-bar-fill {
    height: 100%;
    background: rgba(121, 181, 219, 1);
    border-radius: 9999px;
    width: 0%;
    transition: width 0.1s ease;
}
#loader-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(238, 246, 251, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    animation: loader-pulse 2s infinite;
}
@keyframes loader-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

/* ====================================================================
   NAVBAR
   ==================================================================== */
#navbar {
    position: fixed;
    top: 2rem;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                z-index 0.3s ease; /* Optimized: Smooth transition for z-index context */
    pointer-events: none;
}

/* #AYM: Menü açıkken navbar katmanı en üste çıkar (X88) */
body.menu-open #navbar {
    z-index: 2000;
}

#navbar.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#navbar-inner {
    width: 100%;
    max-width: var(--container-max);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(7,24,36,0.25);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

@media (max-width: 768px) {
    #navbar { top: 1rem; }
    #navbar-inner { padding: 0.5rem 1rem; gap: 0.5rem; }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}
.navbar-logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(247,250,252,0.95);
    transition: color 0.3s;
}
.navbar-logo:hover .navbar-logo-text {
    color: rgba(218,184,139,0.95);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .navbar-right { 
        gap: 0.75rem; /* Biraz daha fazla boşluk */
    }
}


.navbar-links {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .navbar-links { display: flex; }
}

.navbar-links a {
    color: rgba(247,250,252,0.55);
    font-family: var(--font-body);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}
.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(218,184,139,0.8);
    transition: width 0.3s ease;
}
.navbar-links a:hover { color: rgba(247,250,252,0.95); }
.navbar-links a:hover::after { width: 100%; }

.navbar-btn {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: border-color 0.5s ease, background 0.5s ease;
}
.navbar-btn:hover {
    border-color: rgba(218,184,139,0.55);
    background: rgba(218,184,139,0.10);
}
.navbar-btn, .navbar-btn span {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(247,250,252,0.95);
}

/* ====================================================================
   HERO SEQUENCE
   ==================================================================== */
#hero {
    position: relative;
    width: 100%;
    background: rgba(7, 24, 36, 1);
    min-height: 240vh; /* #AYM: 9 Frame / Scroll hassasiyeti için optimize edildi */
    height: 240vh;
}
#hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}
#hero-overlay-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(7, 24, 36, 0.85) 0%,
        rgba(7, 24, 36, 0.10) 45%,
        rgba(7, 24, 36, 0.95) 100%);
    z-index: 20;
    pointer-events: none;
}
#hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.32);
    z-index: 10;
    pointer-events: none;
}

.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 30;
}
.hero-text.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: clamp(0.5rem, 1.2vw, 0.875rem);
    color: rgba(218,184,139,0.9);
    letter-spacing: 0.62em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-text h1,
.hero-text h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2.2rem, 12vw, 7.5vw); /* Optimized: Responsive clamp for mobile readability */
    text-transform: uppercase;
    line-height: 1;
    color: rgba(247,250,252,0.98);
    margin-bottom: 1.75rem;
    text-align: center;
}

/* H1 için ufak bir vurgu farkı korunabilir */
.hero-text h1 {
    font-size: clamp(2.8rem, 15vw, 9vw);
    line-height: 0.85;
    margin-bottom: 2.5rem;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.hero-line {
    width: 5rem;
    height: 1px;
    background: rgba(121, 181, 219, 0.35);
}
.hero-location-text {
    font-family: var(--font-body);
    font-size: clamp(0.65rem, 1.2vw, 0.875rem);
    color: rgba(238, 246, 251, 0.55);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-text p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(238, 246, 251, 0.55);
    max-width: 36rem;
    text-align: center;
    line-height: 1.8;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 56rem;
    width: 100%;
    padding: 0 3rem;
    text-align: center;
}

.feature-item .feat-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--bronze-start), var(--bronze-mid), var(--bronze-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.feature-item .feat-label {
    font-family: var(--font-body);
    font-size: 0.625rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0.6;
    color: rgba(247,250,252,0.95);
}
.feature-item.bordered {
    border-left: 1px solid rgba(255,255,255,0.10);
    border-right: 1px solid rgba(255,255,255,0.10);
    padding: 0 1rem;
}

.animated-line {
    margin-top: 3rem;
    width: 1px;
    height: 5rem;
    background: linear-gradient(to bottom, rgba(218,184,139,0.85), transparent);
    animation: line-pulse 4s ease-in-out infinite;
}
@keyframes line-pulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(1.08); opacity: 0.7; }
}

/* ====================================================================
   CONTENT + REVEAL
   ==================================================================== */
#content {
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(7,24,36,0.0), rgba(7,24,36,1) 10%);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal.revealed {
    opacity: 1;
    transform: translate(0,0);
}

/* ====================================================================
   VIEWING CENTER (index.php içinde story/philosophy/menu placeholder)
   ==================================================================== */
.viewing-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 9rem 0;
}
.viewing-eyebrow {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: rgba(121, 181, 219, 0.9);
    display: block;
    margin-bottom: 2.5rem;
}
.viewing-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    text-transform: uppercase;
    line-height: 0.9;
    color: rgba(247,250,252,0.98);
}

/* ====================================================================
   STORY CONTENT
   ==================================================================== */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.story-text p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(238, 246, 251, 0.8);
    margin-bottom: 1.5rem;
}

.story-signature {
    margin-top: 3rem;
    padding: 2rem;
    border-left: 2px solid rgba(218,184,139,0.3);
    background: rgba(218,184,139,0.05);
}

.signature-text {
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--pearl);
    margin-bottom: 0.5rem;
}

.signature-author {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(218,184,139,0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ====================================================================
   PHILOSOPHY CONTENT
   ==================================================================== */
.philosophy-content {
    margin-top: 4rem;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    background: rgba(218,184,139,0.08);
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.philosophy-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--pearl);
    margin-bottom: 1rem;
}

.philosophy-item p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(238, 246, 251, 0.7);
}

.philosophy-quote {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(218,184,139,0.1), rgba(218,184,139,0.05));
    border-radius: 12px;
    border: 1px solid rgba(218,184,139,0.2);
}

.philosophy-quote blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--pearl);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.philosophy-quote cite {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(218,184,139,0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ====================================================================
   MENU CONTENT
   ==================================================================== */
.menu-content {
    margin-top: 4rem;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

.menu-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-intro p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(238, 246, 251, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

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

.menu-category {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: rgba(218,184,139,0.9);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.menu-item h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--pearl);
    margin-bottom: 0.5rem;
}

.item-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(238, 246, 251, 0.6);
    max-width: 280px;
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: rgba(218,184,139,0.9);
    font-weight: 600;
    margin-left: 1rem;
    white-space: nowrap;
}

.menu-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: rgba(218,184,139,0.05);
    border-radius: 12px;
    border: 1px solid rgba(218,184,139,0.15);
}

.menu-note p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(238, 246, 251, 0.6);
    line-height: 1.5;
}

.menu-wine h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: rgba(218,184,139,0.9);
    margin-bottom: 0.5rem;
}

.menu-wine p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(238, 246, 251, 0.6);
    line-height: 1.5;
}

/* ====================================================================
   DOT NAVIGATION
   ==================================================================== */
.dot-navigation {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot-nav-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(218,184,139,0.4);
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot-nav-item:hover {
    border-color: rgba(218,184,139,0.8);
    background: rgba(218,184,139,0.2);
}

.dot-nav-item.active {
    background: rgba(218,184,139,0.8);
    border-color: rgba(218,184,139,0.8);
    transform: scale(1.2);
}

.dot-nav-tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7,24,36,0.9);
    color: var(--pearl);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(218,184,139,0.3);
}

.dot-nav-item:hover .dot-nav-tooltip {
    opacity: 1;
}

/* ====================================================================
   SECTION THEMES & TRANSITIONS
   ==================================================================== */
section {
    position: relative;
    /* #AYM: 'all' transition layout sıçramalarına sebep olduğu için kaldırıldı */
}

.section-transition-active {
    animation: sectionGlow 0.8s ease-out;
}

@keyframes sectionGlow {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.05); /* Sadece hafif bir aydınlanma, zoom yok */
    }
    100% {
        filter: brightness(1);
    }
}

/* Story Theme */
body.theme-story {
    background: linear-gradient(135deg, 
        rgba(76,151,194,0.25) 0%, 
        rgba(7,24,36,1) 50%, 
        rgba(4,14,20,1) 100%);
}

body.theme-story #story {
    background: radial-gradient(ellipse at center, 
        rgba(121,181,219,0.15) 0%, 
        transparent 70%);
}

/* Philosophy Theme */
body.theme-philosophy {
    background: linear-gradient(135deg, 
        rgba(218,184,139,0.20) 0%, 
        rgba(7,24,36,1) 50%, 
        rgba(4,14,20,1) 100%);
}

body.theme-philosophy #philosophy {
    background: radial-gradient(ellipse at center, 
        rgba(218,184,139,0.12) 0%, 
        transparent 70%);
}

body.theme-philosophy .philosophy-item:hover {
    background: rgba(218,184,139,0.12);
    border-color: rgba(218,184,139,0.3);
}

/* Menu Theme */
body.theme-menu {
    background: linear-gradient(135deg, 
        rgba(42,111,151,0.25) 0%, 
        rgba(7,24,36,1) 50%, 
        rgba(4,14,20,1) 100%);
}

body.theme-menu #menu {
    background: radial-gradient(ellipse at center, 
        rgba(42,111,151,0.15) 0%, 
        transparent 70%);
}

body.theme-menu .menu-category {
    background: rgba(42,111,151,0.05);
    border-color: rgba(42,111,151,0.15);
}

body.theme-menu .menu-category:hover {
    background: rgba(42,111,151,0.08);
    border-color: rgba(42,111,151,0.25);
}

/* Enhanced reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered reveal for multiple elements */
.story-content > div,
.philosophy-grid > .philosophy-item,
.menu-grid > .menu-category {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.revealed .story-content > div,
.revealed .philosophy-grid > .philosophy-item,
.revealed .menu-grid > .menu-category {
    opacity: 1;
    transform: translateY(0);
}

.revealed .story-content > div:nth-child(1) { transition-delay: 0.1s; }
.revealed .story-content > div:nth-child(2) { transition-delay: 0.2s; }

.revealed .philosophy-grid > .philosophy-item:nth-child(1) { transition-delay: 0.1s; }
.revealed .philosophy-grid > .philosophy-item:nth-child(2) { transition-delay: 0.2s; }
.revealed .philosophy-grid > .philosophy-item:nth-child(3) { transition-delay: 0.3s; }

.revealed .menu-grid > .menu-category:nth-child(1) { transition-delay: 0.1s; }
.revealed .menu-grid > .menu-category:nth-child(2) { transition-delay: 0.2s; }

/* Hero block text enhancements for longer content */
.hero-block-2 p,
.hero-block-new-1 p,
.hero-block-new-2 p,
.hero-block-4 p {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .feature-item.bordered {
        border-left: none;
        border-right: none;
        padding: 0;
        border-top: 1px solid rgba(255,255,255,0.10);
        border-bottom: 1px solid rgba(255,255,255,0.10);
        padding: 1.5rem 0;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dot-navigation {
        right: 1rem;
    }
}

@media (max-width: 600px) {
    .viewing-center {
        padding: 4rem 1rem; /* Optimized: Reduced mobile padding */
    }
    
    .story-content,
    .philosophy-content,
    .menu-content {
        margin-top: 1.5rem;
    }
    
    .menu-category {
        padding: 1.25rem;
    }
    
    .menu-item {
        flex-direction: row; /* Optimized: Keep layout balanced if title is short */
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .item-desc {
        width: 100%; /* Description takes full width when price is next to title */
        max-width: 100%;
        order: 3;
    }
    
    .item-price {
        margin-left: auto;
        margin-top: 0;
        font-size: 1rem;
    }
    
    /* Optimized: Dot navigasyon mobilde de şık bir şekilde gösteriliyor (AYM) */
    .dot-navigation {
        display: flex;
        right: 1.5rem;
        gap: 1.25rem;
    }
    .dot-nav-tooltip { display: none; } /* Mobilde tooltip gereksiz */


    .lang-switcher {
        margin-right: 0.5rem;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-btn {
        padding: 0.5rem 1rem;
    }
    
    .navbar-logo-text {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }
}

    /* ====================================================================
   MOBILE MENU & BURGER (AYM: #burgerStyles)
   ==================================================================== */
#burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* #AYM: Her şeyin üstünde (X88) */
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 1024px) {
    #burger-menu { display: flex; }
}

#burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--pearl);
    border-radius: 9px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: left center;
}

/* Burger Open State (Çarpı İkonu) */
#burger-menu.open span:nth-child(1) { transform: rotate(45deg); width: 26px; }
#burger-menu.open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
#burger-menu.open span:nth-child(3) { transform: rotate(-45deg); width: 26px; }

#mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 24, 36, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000; /* Burgerden bir tık altta (X90) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(-20px);
}

#mobile-overlay.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mobile-overlay a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--pearl);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

#mobile-overlay.open a {
    opacity: 1;
    transform: translateY(0);
}

#mobile-overlay.open a:nth-child(1) { transition-delay: 0.1s; }
#mobile-overlay.open a:nth-child(2) { transition-delay: 0.2s; }
#mobile-overlay.open a:nth-child(3) { transition-delay: 0.3s; }

#mobile-overlay a:hover {
    color: var(--sand);
    transform: scale(1.05);
}


/* ====================================================================
   SCROLL HINT (GÖREV 3)
   ==================================================================== */
#scroll-hint {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100; /* Daha yüksek öncelik */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    cursor: pointer;
}

#scroll-hint:hover .hint-text {
    color: var(--sand);
    transform: translateY(-2px);
}

#scroll-hint:hover .scroll-arrow {
    transform: scale(1.2);
}

#scroll-hint.hide {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

.hint-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.scroll-arrow {
    color: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hint-arrow-pulse 2s infinite;
    margin-top: -0.25rem;
}

@keyframes hint-arrow-pulse {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(4px); opacity: 1; }
}

.hint-line-container {
    height: 60px;
    width: 1px;
    position: relative;
    overflow: hidden;
}

.hint-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(218, 184, 139, 0.5), transparent);
}

.hint-dot {
    position: absolute;
    top: -5px;
    left: 0;
    width: 2px;
    height: 10px;
    background: var(--sand);
    border-radius: 99px;
    animation: hint-slide 2.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

@keyframes hint-slide {
    0% { transform: translateY(-10px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(70px); opacity: 0; }
}

/* =====================================================================
   RESERVATION SECTION (#reservationn)
   ===================================================================== */
#reservation {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.reservation-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .reservation-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.reservation-info {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.2rem;
    color: #DAB88B;
}

.contact-item strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
}

/* PREMIUM FORM (#formm) */
.premium-form {
    background: rgba(20, 20, 20, 0.5);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    backdrop-filter: blur(10px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #DAB88B;
    font-weight: 500;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    outline: none;
    border-bottom-color: #DAB88B;
}

.premium-form select option {
    background: #1a1a1a;
    color: #fff;
}

.form-footer {
    margin-top: 40px;
    text-align: right;
}

.submit-btn {
    background: transparent;
    border: 1px solid #DAB88B;
    color: #DAB88B;
    padding: 15px 40px;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: #DAB88B;
    color: #000;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: block;
}

.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 2px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-response.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
    display: block;
}

.form-response.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    display: block;
}

/* ANIMATIONS (#animationn) */
.slide-in-left { transform: translateX(-30px); opacity: 0; transition: all 0.8s ease; }
.slide-in-right { transform: translateX(30px); opacity: 0; transition: all 0.8s ease; }
.slide-in-bottom { transform: translateY(30px); opacity: 0; transition: all 0.8s ease; }

.revealed .slide-in-left,
.revealed .slide-in-right,
.revealed .slide-in-bottom {
    transform: translate(0);
    opacity: 1;
}

.reveal .slide-in-left { transition-delay: 0.2s; }
.reveal .slide-in-right { transition-delay: 0.2s; }
.reveal .slide-in-bottom { transition-delay: 0.4s; }

/* ====================================================================
   LANGUAGE SWITCHER (Google Translate Custom UI) (#langg)
   ==================================================================== */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}
#lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(247,250,252,0.9);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
}
#lang-btn:hover, #lang-btn:focus {
    background: rgba(218,184,139,0.15);
    border-color: rgba(218,184,139,0.5);
    color: rgba(218,184,139,1);
    outline: none;
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(7,24,36,0.95);
    border: 1px solid rgba(218,184,139,0.3);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.5rem;
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    z-index: 100;
}
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: rgba(247,250,252,0.7);
    padding: 0.6rem 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.lang-option:hover, .lang-option:focus {
    background: rgba(218,184,139,0.15);
    color: rgba(218,184,139,1);
    outline: none;
}

/* Gizli Google Translate Nesneleri */
body { top: 0 !important; }
.skiptranslate { display: none !important; }
#google_translate_element { display: none !important; }
.goog-te-banner-frame { display: none !important; }
