/* =============================================
   VARIABLES
   ============================================= */
:root {
    --bg:          #f5efe6;
    --dark:        #1a1a1a;
    --accent:      #c9a99a;
    --accent-dark: #8b6f66;
    --white:       #ffffff;
    --light:       #faf7f4;
    --mid:         #e8d5cc;
    --text-muted:  #666;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

    --nav-h:    64px;
    --max-w:    1100px;
    --pad:      clamp(16px, 4vw, 32px);
    --section:  clamp(48px, 7vw, 80px);
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--dark);
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.15;
}
h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-wrap: balance; }
h2 em { font-style: italic; font-weight: 400; }

.label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.section-pad { padding: var(--section) 0; }

.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 56px);
}
.section-header p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: var(--white); color: var(--dark); }

.btn-block { width: 100%; text-align: center; }

/* =============================================
   PHOTO PLACEHOLDERS
   ============================================= */
.photo-placeholder {
    width: 100%;
    height: 100%;
}
.ph-1 { background: linear-gradient(135deg, #d4b8ad 0%, #c9a99a 55%, #8b6f66 100%); }
.ph-2 { background: linear-gradient(160deg, #2d2d2d 0%, #1a1a1a 100%); }
.ph-3 { background: linear-gradient(135deg, #e8d5cc 0%, #c9a99a 100%); }
.ph-4 { background: linear-gradient(160deg, #1a1a1a 0%, #3d3d3d 100%); }
.ph-5 { background: linear-gradient(135deg, #c9a99a 0%, #d4b8ad 40%, #8b6f66 100%); }
.ph-6 { background: linear-gradient(160deg, #3d3d3d 0%, #c9a99a 100%); }
.ph-7 { background: linear-gradient(135deg, #e8d5cc 0%, #1a1a1a 100%); }
.ph-8 { background: linear-gradient(135deg, #8b6f66 0%, #c9a99a 100%); }
.photo-dark { background: linear-gradient(160deg, #2d2d2d 0%, #1a1a1a 100%); }
.ph-gift { background: linear-gradient(135deg, #6b4f47 0%, #8b6f66 45%, #c9a99a 100%); }
.ph-siparis { background: linear-gradient(135deg, #3d2d2a 0%, #8b6f66 55%, #c9a99a 100%); }
.ph-orgu      { background: linear-gradient(135deg, #d4b896 0%, #c8a07a 100%); }
.ph-ahsap     { background: linear-gradient(135deg, #8b6840 0%, #5a3e28 100%); }
.ph-seramik   { background: linear-gradient(135deg, #d4907a 0%, #b86b5a 100%); }
.ph-terrarium { background: linear-gradient(135deg, #7a9e7e 0%, #4a7c59 100%); }
.ph-ig1 { background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%); }
.ph-ig2 { background: linear-gradient(135deg, #c9a99a 0%, #d4b8ad 100%); }
.ph-ig3 { background: linear-gradient(135deg, #e8d5cc 0%, #8b6f66 100%); }
.ph-ig4 { background: linear-gradient(160deg, #2d2d2d 0%, #1a1a1a 100%); }
.ph-ig5 { background: linear-gradient(135deg, #d4b8ad 0%, #c9a99a 100%); }
.ph-ig6 { background: linear-gradient(135deg, #8b6f66 0%, #2d2d2d 100%); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay { transition-delay: 0.18s; }

.fade-up-delay {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUpIn 0.9s ease 0.4s forwards;
}
.fade-up-delay-2 {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUpIn 0.9s ease 0.75s forwards;
}

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

/* =============================================
   NAV
   ============================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(245,239,230,0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mid);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad);
    z-index: 200;
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
}
.nav-links a {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark);
    position: relative;
    transition: color 0.2s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; right: 0;
    height: 1px;
    background: var(--accent-dark);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--accent-dark); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-toggle {
    padding: 5px 11px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border: 1.5px solid var(--dark);
    color: var(--dark);
    background: transparent;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.lang-toggle:hover {
    background: var(--dark);
    color: var(--white);
}
.lang-toggle--inline { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px;
    width: 36px;
    height: 36px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    background: var(--bg);
    position: relative;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}
.hero-inner, .hero-scroll { position: relative; z-index: 1; }
.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 4vw, 32px);
    padding: 0 var(--pad);
}
.hero-logo {
    width: min(260px, 52vw);
    height: min(260px, 52vw);
    object-fit: cover;
    border-radius: 50%;
    animation: fadeUpIn 1s ease 0.1s both;
    box-shadow: 0 24px 56px rgba(26,26,26,0.18);
}
.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    font-weight: 300;
    line-height: 1.55;
    color: var(--dark);
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* Float animation for hero logo */
.float-anim { animation: floatLogo 5s ease-in-out infinite; }
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    font-size: 1.3rem;
    color: var(--accent);
    animation: bob 2.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(10px); opacity: 0.5; }
}

/* =============================================
   STUDENT BANNER
   ============================================= */
.student-banner {
    background: var(--accent-dark);
    padding: 13px var(--pad);
    text-align: center;
}
.student-banner-text {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.9);
}

/* =============================================
   WORKSHOPLAR
   ============================================= */
.workshoplar { background: var(--bg); }

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.workshop-card {
    border: 1px solid var(--mid);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.workshop-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.workshop-card-photo {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.workshop-card-photo .photo-placeholder {
    height: 100%;
    transition: transform 0.5s ease;
}
.workshop-card:hover .workshop-card-photo .photo-placeholder { transform: scale(1.05); }
.workshop-card-body { padding: 20px; }
.workshop-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--dark);
}
.workshop-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--mid);
}
.ws-duration {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.ws-price {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--accent-dark);
    letter-spacing: 0.02em;
}
.workshop-card-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.workshop-card-items li {
    font-size: 0.82rem;
    color: #555;
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}
.workshop-card-items li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
    top: 2px;
}

/* =============================================
   TOGGLES ROW (rezervasyon)
   ============================================= */
.toggles-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* =============================================
   SSS / FAQ
   ============================================= */
.sss { background: var(--bg); }

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.faq-item {
    border: 1px solid var(--mid);
    border-radius: 3px;
    overflow: hidden;
    background: var(--white);
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}
.faq-q:hover { background: var(--light); }
.faq-q::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--accent-dark);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.75;
    padding: 0 20px;
}
.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 20px 18px;
}

/* =============================================
   HAKKIMIZDA
   ============================================= */
.hakkimizda { background: var(--bg); }

.hakkimizda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}
.hakkimizda-text h2 { margin-bottom: 24px; }
.hakkimizda-text p {
    color: #444;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.85;
    margin-bottom: 16px;
}
.about-callout {
    font-family: var(--font-serif) !important;
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    color: var(--accent-dark) !important;
    line-height: 1.5 !important;
    padding: 14px 0 0;
    border-top: 1px solid var(--mid);
    margin-top: 8px !important;
}

.aspect-box {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
}

/* =============================================
   GALERİ
   ============================================= */
.galeri { background: var(--bg); }

.galeri-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 4vw, 44px);
}
.tab {
    padding: 9px 22px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    border: 1px solid var(--mid);
    color: #777;
    background: transparent;
    transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.tab:hover, .tab.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.galeri-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.3s;
}
.galeri-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: unset;
}
.galeri-item .photo-placeholder,
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.galeri-item:hover .photo-placeholder,
.galeri-item:hover img { transform: scale(1.06); }

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,0.45);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}
.galeri-overlay span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    color: var(--white);
    font-style: italic;
}
.galeri-item:hover .galeri-overlay { opacity: 1; }

.galeri-item.hidden {
    display: none;
}

/* =============================================
   REZERVASYON
   ============================================= */
.rezervasyon {
    background: var(--dark);
    color: var(--white);
}
.rezervasyon .section-header { color: var(--white); }
.rezervasyon .label { color: var(--accent); }
.rezervasyon .section-header p { color: #999; }

.booking-card {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: clamp(20px, 5vw, 44px);
    overflow: hidden;
}

/* Gift toggle */
.gift-toggle {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.toggle-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}
.toggle-label input[type="checkbox"] { display: none; }
.toggle-track {
    width: 46px;
    height: 26px;
    background: rgba(255,255,255,0.12);
    border-radius: 13px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.25s;
}
.toggle-track::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: transform 0.25s;
}
.toggle-label input:checked + .toggle-track { background: var(--accent); }
.toggle-label input:checked + .toggle-track::after { transform: translateX(20px); }
.toggle-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}

/* Calendar */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cal-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.04em;
}
.cal-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background 0.2s;
}
.cal-nav:hover { background: rgba(255,255,255,0.08); }

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}
.calendar-weekdays span {
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    padding: 4px 0;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    border-radius: 50%;
    color: rgba(255,255,255,0.2);
    transition: background 0.2s, color 0.2s;
}
.cal-day.available { color: var(--white); cursor: pointer; }
.cal-day.available:hover { background: rgba(201,169,154,0.25); color: var(--accent); }
.cal-day.selected { background: var(--accent) !important; color: var(--white) !important; }
.cal-day.today { border: 1px solid rgba(255,255,255,0.2); }
.cal-day.past { color: rgba(255,255,255,0.1); }

/* Slots */
.slots-section {
    display: none;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeUpIn 0.4s ease;
}
.slots-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.slots-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-btn {
    padding: 9px 18px;
    font-size: 0.82rem;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.65);
    background: transparent;
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.slot-btn:hover { border-color: var(--accent); color: var(--accent); }
.slot-btn.selected { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Booking form */
.booking-form {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeUpIn 0.4s ease;
}
.input-field {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 3px;
    outline: none;
    margin-bottom: 12px;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
.input-field::placeholder { color: rgba(255,255,255,0.3); }
.input-field:focus { border-color: var(--accent); }
.booking-note {
    text-align: center;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.25);
    margin-top: 12px;
    letter-spacing: 0.04em;
}

/* =============================================
   HEDİYE
   ============================================= */
.hediye-tanitim { background: var(--bg); }
.hediye-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}
.hediye-text .label { color: var(--accent-dark); }
.hediye-text h2 { color: var(--dark); margin-bottom: 20px; }
.hediye-text p { color: #555; font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.85; margin-bottom: 32px; }
.hediye-visual { overflow: hidden; border-radius: 4px; }
.hediye-visual .ph-gift { aspect-ratio: 4/5; min-height: unset; }
.hediye-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* =============================================
   SİPARİŞ
   ============================================= */
.siparis { background: var(--bg); }
.siparis-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}
.siparis-text .label { color: var(--accent-dark); }
.siparis-text h2 { margin-bottom: 20px; }
.siparis-text p { color: #555; font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.85; margin-bottom: 32px; }
.siparis-deco { overflow: hidden; border-radius: 4px; }
.siparis-deco .ph-siparis { aspect-ratio: 4/3; min-height: unset; }
.siparis-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* =============================================
   INSTAGRAM
   ============================================= */
.instagram-section { background: var(--bg); }

/* Behold widget konteyneri */
.ig-behold-wrap {
    margin-bottom: 40px;
    position: relative;
}

/* Behold custom element — sitenin renklerine/boyutuna uyarlama */
behold-widget {
    display: block;
    width: 100%;
    --behold-gap: 6px;
    --behold-border-radius: 2px;
    --behold-columns: 6;
    --behold-background: transparent;
    --behold-font-family: var(--font-sans);
}

/*
   Behold widget yüklenince (feed-id geçerliyse) fallback gizlenir.
   Behold kendi grid'ini render ettiğinde <behold-widget> içi dolduğu için
   :not(:empty) selektörüyle fallback'i gizliyoruz.
*/
behold-widget:not(:empty) ~ .ig-fallback {
    display: none;
}

/* feed-id placeholder "BEHOLD_FEED_ID_BURAYA" kalırsa widget boş kalır,
   fallback görünür — bu kasıtlı davranıştır. */

/* Fallback statik grid (mevcut tasarım korundu) */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}
.ig-item {
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
    border-radius: 2px;
}
.ig-item .photo-placeholder,
.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s;
}
.ig-item:hover .photo-placeholder,
.ig-item:hover img { transform: scale(1.08); opacity: 0.85; }
.ig-cta { text-align: center; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark);
    padding: 44px 0;
    color: rgba(255,255,255,0.45);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--white);
}
.footer-logo {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.9;
}
.footer-nav { display: flex; gap: clamp(14px, 3vw, 28px); flex-wrap: wrap; }
.footer-nav a {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.74rem; }
.footer-contact { font-size: 0.78rem; line-height: 1.8; }
.footer-contact p { margin: 0; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent); }

/* =============================================
   MENU MODAL
   ============================================= */
.menu-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.menu-modal.open {
    pointer-events: all;
    opacity: 1;
}

.menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,16,14,0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.menu-panel {
    position: relative;
    background: var(--bg);
    width: min(680px, 94vw);
    max-height: 88svh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    overflow: hidden;
}
.menu-modal.open .menu-panel {
    transform: translateY(0) scale(1);
}

.menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--mid);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
.menu-close:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.menu-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--mid);
    flex-shrink: 0;
}
.menu-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}
.menu-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
}

.menu-body {
    overflow-y: auto;
    padding: 8px 32px 24px;
    flex: 1;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.menu-cat {
    padding: 20px 0 4px;
    border-bottom: 1px solid var(--mid);
}
.menu-cat:last-child { border-bottom: none; }

.menu-cat-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.menu-list { display: flex; flex-direction: column; gap: 2px; }

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.menu-row:last-child { border-bottom: none; }
.menu-row span:first-child { color: var(--dark); flex: 1; }
.menu-row span:last-child { color: var(--accent-dark); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.menu-row small { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }

.menu-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--mid);
    text-align: center;
    flex-shrink: 0;
    background: var(--bg);
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}
.btn:focus-visible,
.tab:focus-visible,
.cal-nav:focus-visible,
.slot-btn:focus-visible,
.faq-q:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* =============================================
   PRINT (menü modal ve sayfa)
   ============================================= */
@media print {
    .nav, .hero, .student-banner, .hakkimizda-visual,
    .galeri, .rezervasyon, .hediye-tanitim, .siparis,
    .instagram-section, .footer, .menu-close,
    .menu-overlay, .menu-footer, .hero-scroll { display: none !important; }

    .menu-modal {
        position: static !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .menu-panel {
        max-height: none !important;
        box-shadow: none !important;
        transform: none !important;
        width: 100% !important;
        border: none !important;
    }
    .menu-body { overflow: visible !important; }
    .menu-cat { break-inside: avoid; }
    body { background: #fff; }
    body::after { display: none; }
    .menu-header { border-bottom: 1px solid #ccc; }
}

/* =============================================
   RESPONSIVE — NARROW (≤380px)
   ============================================= */
@media (max-width: 380px) {
    .booking-card { padding: 14px 8px; }
    .calendar-weekdays span { font-size: 0.58rem; letter-spacing: 0.04em; }
    .cal-day { font-size: 0.72rem; }
}

/* =============================================
   MÜŞTERİ GALERİSİ — MARQUEE
   ============================================= */
.musteri-galeri { background: var(--light); overflow: hidden; }
.musteri-galeri .section-header { padding: 0 var(--pad); }

.marquee-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    user-select: none;
    -webkit-user-select: none;
}
.marquee-track {
    display: flex;
    gap: 10px;
    width: max-content;
    will-change: transform;
}
.marquee-ltr { animation: marqueeScrollLtr 32s linear infinite; }
.marquee-rtl { animation: marqueeScrollRtl 40s linear infinite; }
@keyframes marqueeScrollLtr {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marqueeScrollRtl {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
    width: 240px;
    height: 240px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.marquee-item:hover img { transform: scale(1.06); }

/* =============================================
   SİPARİŞ BAR (kompakt)
   ============================================= */
.siparis-bar {
    background: var(--light);
    border-top: 1px solid var(--mid);
    border-bottom: 1px solid var(--mid);
}
.siparis-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.siparis-bar-text { flex: 1; min-width: 0; }
.siparis-bar-text .label { margin-bottom: 6px; }
.siparis-bar-text p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.siparis-bar-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* Workshop select */
select.input-field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M0 0l6 6 6-6' fill='none' stroke='white' stroke-opacity='.4' stroke-width='1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
select.input-field option { background: #1a1a1a; color: #ffffff; }

/* =============================================
   PREMIUM — GRAIN TEXTURE OVERLAY
   ============================================= */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* =============================================
   PREMIUM — WORKSHOP CARDS
   ============================================= */
.workshop-card {
    border: none;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.055), 0 1px 3px rgba(0,0,0,0.04);
}
.workshop-card:hover {
    box-shadow: 0 14px 44px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

/* =============================================
   PREMIUM — LABEL DECORATION
   ============================================= */
.label { margin-bottom: 18px; }
.label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
    margin-top: 10px;
}
.section-header .label::after {
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   PREMIUM — HAKKIMIZDA FOTOĞRAF DERİNLİĞİ
   ============================================= */
.hakkimizda-visual {
    box-shadow: 0 28px 72px rgba(0,0,0,0.14);
}

/* =============================================
   PREMIUM — REZERVASYON TEXTURE
   ============================================= */
.rezervasyon { position: relative; }
.rezervasyon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.055;
    pointer-events: none;
    z-index: 0;
}
.rezervasyon .container { position: relative; z-index: 1; }

/* =============================================
   RESPONSIVE — TABLET (≤900px)
   ============================================= */
@media (max-width: 900px) {
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-item.large { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
    .ig-grid { grid-template-columns: repeat(3, 1fr); }
    behold-widget { --behold-columns: 3; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================= */
@media (max-width: 640px) {
    /* Nav */
    .lang-toggle:not(.lang-toggle--inline) { display: none; }
    .lang-toggle--inline { display: block; }
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--mid);
        flex-direction: column;
        padding: 20px var(--pad) 28px;
        gap: 22px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 199;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    /* Hero */
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 280px; text-align: center; }

    /* Grid sections — stack */
    .hakkimizda-grid,
    .hediye-card,
    .siparis-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    /* Image comes after text on mobile */
    .hakkimizda-visual { order: -1; }

    /* Workshops */
    .workshops-grid { grid-template-columns: 1fr; }

    /* Gallery */
    .galeri-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

    /* Instagram */
    .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    behold-widget { --behold-columns: 2; --behold-gap: 4px; }

    /* FAQ */
    .faq-q { padding: 14px 16px; font-size: 0.86rem; }

    /* Menu modal */
    .menu-header { padding: 20px 20px 16px; }
    .menu-body   { padding: 4px 20px 20px; }
    .menu-footer { padding: 16px 20px; }

    /* Booking */
    .booking-card { padding: 20px 14px; }

    /* Footer */
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-nav { gap: 14px; }

    /* Sipariş bar */
    .siparis-bar-inner { flex-direction: column; align-items: flex-start; }
}
