@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;700&display=swap');

/**
 * Lunara Mare — Tasarım Sistemi (AYM)
 * =================================
 * Kasıtlı Minimalizm ve Ege Ruhu.
 * Tailwind bağımlılığı yoktur, saf Vanilla CSS.
 *
 * Renk Paleti: --aegean-* (Deniz ve Tuz tonları)
 * Fontlar: Cormorant Garamond (Heading) + Inter (Body)
 */

:root {
    /* Renkler */
    --aegean-50:  #f4f7f6;
    --aegean-100: #e3ecea;
    --aegean-200: #c8dad6;
    --aegean-300: #9fc3bd;
    --aegean-400: #6ea79e;
    --aegean-500: #3f857b;
    --aegean-600: #2e6b63;
    --aegean-700: #1f4e48;
    --aegean-800: #143532;
    --aegean-900: #0a1c1a;
    
    /* Tipografi */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Mixins/Utility Temsilleri */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(200, 218, 214, 0.1);
    --glass-blur: blur(40px);
}

/* Base Reset */
*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none;    /* Firefox */
}
*::-webkit-scrollbar { display: none; } /* Chrome/Safari */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--aegean-900);
    background-image: radial-gradient(ellipse at top center, var(--aegean-700) 0%, var(--aegean-800) 40%, var(--aegean-900) 100%);
    background-attachment: fixed;
    color: var(--aegean-50);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(159, 195, 189, 0.8);
    color: var(--aegean-900);
}

/* typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
}

.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.3em; }
.tracking-wider { letter-spacing: 0.15em; }

/* Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

/* ================================================================
   LOADER
   ================================================================ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--aegean-900);
}
#loader-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.3em;
    font-weight: 300;
    margin-bottom: 2rem;
}
#loader-bar-container {
    width: 16rem;
    height: 1px;
    background: rgba(244, 247, 246, 0.1);
    position: relative;
    overflow: hidden;
}
#loader-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: var(--aegean-50);
    width: 0%;
    transition: width 0.3s ease;
}
#loader-progress {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(244, 247, 246, 0.6);
}

/* ================================================================
   NAVBAR
   ================================================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    background: rgba(10, 28, 26, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(244, 247, 246, 0.05); /* İnce Border (AYM) */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    padding: 1rem 3rem;
    background: rgba(10, 28, 26, 0.85);
    border-bottom-color: rgba(244, 247, 246, 0.1);
}
header .navbar-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--aegean-50);
    font-weight: 300;
}
header nav {
    display: none;
    align-items: center;
}
@media (min-width: 768px) {
    #nav-desktop { display: flex; gap: 2.5rem; }
    header { padding: 1.5rem 5rem; }
}

#mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 10px;
}
@media (min-width: 768px) { #mobile-menu-toggle { display: none; } }

#mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--aegean-50);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.menu-open #mobile-menu-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open #mobile-menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobil Overlay */
#mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--aegean-900);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
body.menu-open #mobile-overlay { opacity: 1; visibility: visible; }

#mobile-overlay nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
#mobile-overlay a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.2em;
    color: var(--aegean-50);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
body.menu-open #mobile-overlay a { opacity: 1; transform: translateY(0); }
body.menu-open #mobile-overlay a:nth-child(2) { transition-delay: 0.1s; }
body.menu-open #mobile-overlay a:nth-child(3) { transition-delay: 0.2s; }
body.menu-open #mobile-overlay a:nth-child(4) { transition-delay: 0.3s; }

.mobile-lang-tray {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 247, 246, 0.1);
}
.mobile-lang-tray a { font-size: 0.75rem !important; transform: none !important; opacity: 0.5 !important; }
.mobile-lang-tray a.active { opacity: 1 !important; color: var(--aegean-300) !important; }

header nav a {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: rgba(244, 247, 246, 0.6);
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.5rem 0;
}
header nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--aegean-300);
    transition: width 0.4s ease;
}
header nav a:hover { color: var(--aegean-50); }
header nav a:hover::after { width: 100%; }

/* Dil Seçici Stilleri (#langSwitcherr) */
.lang-switcher {
    position: relative;
    margin-left: 1rem;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(244, 247, 246, 0.2);
    color: var(--aegean-50);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.lang-btn:hover {
    background: rgba(244, 247, 246, 0.05);
    border-color: var(--aegean-300);
}
.lang-dropdown {
    position: absolute;
    top: 100%; right: 0;
    background: rgba(10, 28, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(244, 247, 246, 0.1);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}
.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown a {
    display: block;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.2em;
    color: rgba(244, 247, 246, 0.5) !important;
    transition: all 0.3s ease;
}
.lang-dropdown a:hover, .lang-dropdown a.active {
    color: var(--aegean-50) !important;
    background: rgba(244, 247, 246, 0.05);
}
.lang-dropdown a::after { display: none !important; }

/* ================================================================
   HERO CANVAS
   ================================================================ */
#hero {
    position: relative;
    height: 800vh;
    background: var(--aegean-900);
}
#hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#hero-overlay-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--aegean-900) 0%, transparent 60%);
    pointer-events: none;
}
#hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}
.hero-seg {
    position: absolute;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 50rem;
    width: 100%; /* AYM: Mobile Safe */
    padding: 1.5rem;
    border-radius: 4px;
}
@media (min-width: 768px) {
    .hero-seg { padding: 3rem; }
}
.hero-seg.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.hero-seg h1 { 
    font-size: clamp(3.5rem, 12vw, 7rem); 
    letter-spacing: 0.2em; 
    margin-bottom: 2rem; 
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-seg h2 { 
    font-size: clamp(2.5rem, 7vw, 4.5rem); 
    margin-bottom: 2.5rem; 
    line-height: 1.1;
    text-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.hero-seg p { 
    font-size: 1.25rem; 
    font-weight: 300; 
    letter-spacing: 0.08em; 
    color: rgba(244, 247, 246, 0.95); 
    line-height: 1.8;
    max-width: 40rem;
    margin: 0 auto;
}
.mt-4 { margin-top: 1.5rem; }

.gradient-text {
    background: linear-gradient(to right, var(--aegean-300), var(--aegean-100), var(--aegean-400));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

#hero-hint {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 20;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1; /* AYM: Başlangıçta görünür */
}
#hero-skip {
    background: transparent;
    border: 1px solid rgba(244, 247, 246, 0.2);
    color: var(--aegean-50);
    padding: 0.6rem 1.2rem;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#hero-skip:hover {
    background: rgba(244, 247, 246, 0.1);
    border-color: var(--aegean-300);
    transform: translateY(-2px);
}
#hero-skip svg {
    transition: transform 0.4s ease;
}
#hero-skip:hover svg {
    transform: translateY(3px);
}
.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 1px solid rgba(244, 247, 246, 0.3);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}
.scroll-mouse .wheel {
    width: 2px;
    height: 6px;
    background: var(--aegean-300);
    border-radius: 2px;
    margin-top: 8px;
    animation: wheel-down 2s infinite cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hint-text {
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--aegean-100);
    white-space: nowrap;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: hint-float 3s infinite ease-in-out;
}

@keyframes wheel-down {
    0% { opacity: 0; transform: translateY(-3px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 0; transform: translateY(15px); }
}
@keyframes hint-float {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-5px); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ================================================================
   DOT NAVIGATION
   ================================================================ */
#dotnav {
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.dot-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}
.dot-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--aegean-100); /* Denizle çakışmaması için parlak renk */
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-right: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.dot-row:hover .dot-label { opacity: 1; transform: translateX(0); }
.dot-circle {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dot-inner {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(244, 247, 246, 0.3); /* Açık Beyaz/Tuz tonu */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}
.dot-row:hover .dot-inner { background: #fff; transform: scale(1.5); box-shadow: 0 0 15px rgba(255,255,255,0.5); }
.dot-row.active .dot-inner { 
    background: #e3d5b0; /* Gold/Kum Tonu - Deniz renginden ayrıştırıcı (AYM) */
    transform: scale(1.3); 
    box-shadow: 0 0 20px rgba(227, 213, 176, 0.4); 
}
.dot-row.active .dot-label { 
    opacity: 1; 
    transform: translateX(0); 
    color: #e3d5b0; /* Gold/Lüks Vurgusu */
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
#content { position: relative; z-index: 10; }
.about-grid {
    padding: 8rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 6rem; padding: 10rem 4rem; }
}
.about-image {
    position: relative;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    opacity: 0.8;
}
.about-text { display: flex; flex-direction: column; gap: 2rem; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; color: var(--aegean-300); text-transform: uppercase; }
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
.section-body { font-size: 1.125rem; font-weight: 300; color: rgba(244, 247, 246, 0.7); line-height: 1.8; }

.about-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.about-list li { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aegean-200); }
.about-list li::before { content: ''; width: 6px; height: 6px; background: var(--aegean-400); border-radius: 50%; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid rgba(244, 247, 246, 0.1); padding-top: 2rem; margin-top: 2rem; }
.stat-item h3 { font-size: 2rem; color: var(--aegean-50); margin-bottom: 0.25rem; }
.stat-item p { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(244, 247, 246, 0.5); }

/* ================================================================
   ETHOS / PHILOSOPHY
   ================================================================ */
#ethos {
    background: rgba(10, 28, 26, 0.5);
    padding: 10rem 2rem;
}
.ethos-header { max-width: 50rem; margin: 0 auto 6rem; text-align: center; }
.ethos-grid { max-width: 80rem; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .ethos-grid { grid-template-columns: repeat(3, 1fr); } }
.ethos-card { padding: 4rem 3rem; text-align: center; }
.ethos-card h3 { font-size: 1.5rem; letter-spacing: 0.1em; color: var(--aegean-50); margin-bottom: 1.5rem; }
.ethos-card p { font-size: 0.875rem; font-weight: 300; color: rgba(244, 247, 246, 0.6); line-height: 1.7; }

/* ================================================================
   MENU
   ================================================================ */
#menu { padding: 10rem 2rem; max-width: 80rem; margin: 0 auto; }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 5rem; }
@media (min-width: 768px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.dish-card { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.dish-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s ease; opacity: 0.7; }
.dish-card:hover .dish-image { transform: scale(1.05); }
.dish-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--aegean-900) 10%, transparent 60%); }
.dish-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
.dish-title-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 0.75rem; }
.dish-title-row h3 { font-size: 1.5rem; letter-spacing: 0.05em; color: var(--aegean-50); }
.dish-price { font-size: 1.125rem; color: var(--aegean-300); }
.dish-desc { font-size: 0.875rem; font-weight: 300; color: rgba(244, 247, 246, 0.8); line-height: 1.6; }

/* AYM: Responsive Forms & Containers */
@media (max-width: 767px) {
    .reservation-card { padding: 2rem 1.5rem; }
    .footer-grid { text-align: center; }
    header { padding: 1rem 1.5rem; }
    .about-text { text-align: center; align-items: center; }
}

/* ================================================================
   RESERVATIONS
   ================================================================ */
#reservations { padding: 10rem 2rem; }
.reservation-card { max-width: 56rem; margin: 0 auto; padding: 4rem; position: relative; overflow: hidden; }
/* Form Styles */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.75rem; }
.form-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244, 247, 246, 0.5); }
.form-control {
    background: rgba(10, 28, 26, 0.5);
    border: 1px solid rgba(244, 247, 246, 0.1);
    padding: 1.25rem;
    color: var(--aegean-50);
    font-family: var(--font-body);
    font-weight: 300;
    transition: all 0.3s;
    outline: none;
}
.form-control:focus { border-color: var(--aegean-300); background: rgba(10, 28, 26, 0.8); }
.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(to right, var(--aegean-800), var(--aegean-700));
    border: 1px solid rgba(63, 133, 123, 0.3);
    color: var(--aegean-50);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 2rem;
}
.submit-btn:hover { background: var(--aegean-700); border-color: var(--aegean-400); }

/* ================================================================
   FOOTER
   ================================================================ */
footer { background: var(--aegean-900); padding: 6rem 2rem; border-top: 1px solid rgba(244, 247, 246, 0.1); position: relative; z-index: 20; }
.footer-grid { max-width: 80rem; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
footer h3, footer h4 { font-size: 1.25rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 2rem; color: var(--aegean-50); }
footer p, footer li, footer a { font-size: 0.875rem; color: rgba(244, 247, 246, 0.6); list-style: none; text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--aegean-50); }
.footer-bottom { max-width: 80rem; margin: 6rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(244, 247, 246, 0.1); display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Responsive adjustments */
@media (max-width: 767px) {
    header { padding: 1.5rem 2rem; }
    #dotnav { display: none !important; }
}