@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Kalam:wght@300;400;700&family=Patrick+Hand&family=Quicksand:wght@500;600;700&display=swap');

:root {
  --bg-parchment: #f5ebd8;
  --bg-parchment-light: #faf3e6;
  --bg-parchment-dark: #ead8be;
  --ink-dark: #2a211d;
  --ink-soft: #4a3c36;
  --ink-muted: #6e5d54;
  --rose-btn: #c46868;
  --rose-btn-hover: #b05252;
  --rose-light: #e7c2c2;
  --footer-mauve: #d3b2b3;
  --watercolor-blue: #c8dfea;
  --watercolor-teal: #cfe5e0;
  --watercolor-pink: #edd0d0;
  --watercolor-yellow: #f7e4b5;
  --tape-color: rgba(232, 213, 181, 0.78);
  --tape-border: rgba(196, 172, 136, 0.55);
  --gold: #d4af37;
  --silver: #9aa2a8;
  --bronze: #b87333;
  --shadow-paper: 0 6px 20px rgba(68, 48, 32, 0.10), 0 2px 5px rgba(68, 48, 32, 0.08);
  --shadow-hover: 0 12px 28px rgba(68, 48, 32, 0.16), 0 4px 10px rgba(68, 48, 32, 0.10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-parchment);
  background-image:
    radial-gradient(at 18% 12%, rgba(196, 222, 236, 0.42) 0px, transparent 48%),
    radial-gradient(at 85% 22%, rgba(246, 222, 192, 0.5) 0px, transparent 50%),
    radial-gradient(at 50% 60%, rgba(235, 204, 204, 0.25) 0px, transparent 55%),
    repeating-linear-gradient(0deg, rgba(160, 130, 95, 0.025) 0px, rgba(160, 130, 95, 0.025) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(160, 130, 95, 0.02) 0px, rgba(160, 130, 95, 0.02) 1px, transparent 1px, transparent 4px);
  color: var(--ink-dark);
  font-family: 'Kalam', 'Patrick Hand', cursive, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Watercolor Brush Cursor */
body.custom-cursor-enabled,
body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled .clickable-heart {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M4 28 C6 22, 9 19, 12 20 C13 23, 10 26, 4 28 Z' fill='%23c46868' stroke='%232a211d' stroke-width='1.5'/><path d='M11 19 L14 21 L27 7 C28 5.5, 26.5 4, 25 5 Z' fill='%23d9a166' stroke='%232a211d' stroke-width='1.5'/><path d='M11 19 L14 21 L16 18.5 L13 16.5 Z' fill='%23c9d1d6' stroke='%232a211d' stroke-width='1.2'/><circle cx='5' cy='27' r='2' fill='%23e88d8d'/></svg>") 3 28, auto;
}

/* Watercolor trail canvas */
#watercolor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9997;
}

/* Paper grain overlay */
.paper-texture-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.35'/%3E%3C/svg%3E");
}

/* Botanical Side Borders */
.botanical-decor {
  position: fixed;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
  transition: transform 0.6s ease;
}
.botanical-left-top {
  left: 8px;
  top: 220px;
  width: 48px;
  animation: gentleSway 6s ease-in-out infinite;
}
.botanical-left-bottom {
  left: 6px;
  bottom: 140px;
  width: 46px;
  animation: gentleSway 7s ease-in-out infinite reverse;
}
.botanical-right-mid {
  right: 8px;
  top: 460px;
  width: 48px;
  animation: gentleSway 6.5s ease-in-out infinite;
}

@keyframes gentleSway {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-4px); }
}

/* Interactive Clickable Hearts & Flower Burst */
.clickable-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  position: relative;
}
.clickable-heart:hover {
  transform: scale(1.25) rotate(-6deg);
  filter: drop-shadow(0 3px 8px rgba(196, 104, 104, 0.45));
}
.clickable-heart:active {
  transform: scale(0.92);
}

.flower-particle {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  will-change: transform, opacity;
  font-size: 20px;
  animation: flowerFloat 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flowerFloat {
  0% {
    transform: translate(0, 0) scale(0.3) rotate(0deg);
    opacity: 1;
  }
  70% {
    opacity: 0.95;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(var(--sc)) rotate(var(--rot));
    opacity: 0;
  }
}

/* EKG Heartbeat SVG Animation */
.ekg-line-anim {
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
  animation: ekgPulse 3.2s ease-in-out infinite;
}
@keyframes ekgPulse {
  0% { stroke-dashoffset: 120; }
  45%, 100% { stroke-dashoffset: 0; }
}

/* Main Page Container matching reference sketchbook layout */
.page-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* ==================== TOP NAVBAR ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 235, 216, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(74, 60, 54, 0.18);
  box-shadow: 0 4px 16px rgba(68, 48, 32, 0.05);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-dark);
}

.brand-heart-svg {
  width: 54px;
  height: 50px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.brand-logo:hover .brand-heart-svg {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-family: 'Patrick Hand', 'Kalam', cursive;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-dark);
}

.brand-subtitle {
  font-family: 'Kalam', cursive;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Kalam', cursive;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-dark);
  text-decoration: none;
  padding: 6px 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
  background: none;
  border: none;
}

.nav-link:hover,
.nav-link.active {
  color: #9e3e3e;
  transform: translateY(-1px);
}

/* Red watercolor brush underline matching reference image "Ana Sayfa" */
.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -2px;
  height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 Q 40 2, 118 6 Q 80 11, 4 9 Z' fill='%23c46868' opacity='0.85'/></svg>") no-repeat center/100% 100%;
}

/* Dropdown Menu for Alt Dallarımız */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--bg-parchment-light);
  border: 2px solid var(--ink-dark);
  border-radius: 8px 14px 10px 12px;
  box-shadow: var(--shadow-hover);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) rotate(-1deg);
  transition: all 0.22s ease;
  z-index: 200;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(0deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  text-decoration: none;
  color: var(--ink-dark);
  font-family: 'Kalam', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
  background: none;
  border: none;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(196, 104, 104, 0.15);
  transform: translateX(4px);
}

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

.btn-obs {
  background: var(--rose-btn);
  color: #fffdf9;
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 15px;
  border-radius: 22px 10px 20px 10px;
  border: 1.8px solid var(--ink-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 3px 0 var(--ink-dark);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.btn-obs:hover {
  background: var(--rose-btn-hover);
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px 0 var(--ink-dark);
}

.icon-btn {
  background: rgba(255, 250, 240, 0.8);
  border: 1.8px solid var(--ink-dark);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dark);
  font-size: 1.05rem;
  transition: all 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  background: var(--watercolor-yellow);
  transform: scale(1.08) rotate(5deg);
}

.icon-btn.admin-active {
  background: #d9f2d9;
  border-color: #266326;
  color: #1b4d1b;
}

.mobile-menu-btn {
  display: none;
}

/* ==================== HERO SECTION (EXACT REFERENCE MATCH) ==================== */
.hero-section {
  position: relative;
  padding: 26px 10px 18px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(190, 218, 236, 0.65) 0%, transparent 65%),
    radial-gradient(ellipse at 70% 35%, rgba(250, 230, 200, 0.65) 0%, transparent 65%);
  border-radius: 18px;
}

.hero-left {
  position: relative;
  padding: 14px 12px 14px 24px;
  z-index: 2;
}

.hero-quote {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: clamp(2.5rem, 4.3vw, 3.65rem);
  font-weight: 700;
  line-height: 1.12;
  color: #1f242d;
  transform: rotate(-5.5deg);
  text-align: center;
  margin-bottom: 14px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}

.hero-heart-wrap {
  text-align: center;
  margin: 8px 0 16px;
  transform: rotate(-4deg);
}

.brush-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--rose-btn);
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16), transparent 60%);
  color: #fffaf3;
  font-family: 'Kalam', cursive;
  font-size: 1.32rem;
  font-weight: 700;
  padding: 11px 30px;
  border: none;
  border-radius: 35px 14px 38px 16px / 18px 34px 16px 32px;
  box-shadow: 0 5px 14px rgba(176, 82, 82, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transform: rotate(-3.5deg);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.brush-btn:hover {
  background-color: var(--rose-btn-hover);
  transform: rotate(-1.5deg) scale(1.05);
  box-shadow: 0 8px 20px rgba(176, 82, 82, 0.48);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.brush-btn-secondary {
  background-color: #fbf3e4;
  color: var(--ink-dark);
  border: 2px dashed var(--ink-dark);
  font-family: 'Kalam', cursive;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 22px 12px 24px 10px;
  text-decoration: none;
  transform: rotate(2deg);
  transition: all 0.22s ease;
}

.brush-btn-secondary:hover {
  background-color: var(--watercolor-yellow);
  transform: rotate(0deg) scale(1.05);
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mascot-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 8px 20px rgba(66, 46, 28, 0.12));
  transition: transform 0.4s ease;
}

.hero-mascot-img:hover {
  transform: scale(1.015);
}

.sanat-iyilestirir-float {
  position: absolute;
  top: 8%;
  right: 4%;
  font-family: 'Caveat', cursive;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink-dark);
  transform: rotate(-16deg);
  text-align: center;
  line-height: 1.05;
  background: rgba(245, 235, 216, 0.72);
  padding: 4px 10px;
  border-radius: 12px;
}

/* ==================== TAPED QUICK NAVIGATION STRIP ==================== */
.quick-strip-wrapper {
  position: relative;
  margin: 18px 0 34px;
  background: var(--bg-parchment-light);
  border: 1.8px solid rgba(74, 60, 54, 0.28);
  border-radius: 6px 10px 8px 12px;
  box-shadow: var(--shadow-paper);
  padding: 20px 16px;
}

/* Masking tape corners */
.masking-tape {
  position: absolute;
  width: 68px;
  height: 22px;
  background: var(--tape-color);
  border: 1px solid var(--tape-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  z-index: 5;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.quick-strip-wrapper:hover .masking-tape,
.paper-note-card:hover .masking-tape,
.polaroid-card:hover .masking-tape {
  filter: brightness(1.03);
}

.tape-tl { top: -9px; left: -14px; transform: rotate(-32deg); }
.tape-tr { top: -9px; right: -14px; transform: rotate(30deg); }
.tape-bl { bottom: -9px; left: -14px; transform: rotate(28deg); }
.tape-br { bottom: -9px; right: -14px; transform: rotate(-30deg); }
.tape-top-center { top: -11px; left: calc(50% - 34px); transform: rotate(-2deg); }

.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.quick-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink-dark);
  padding: 8px 12px;
  position: relative;
  transition: transform 0.25s ease;
  background: none;
  border: none;
  font-family: inherit;
}

.quick-strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1.5px;
  background: rgba(74, 60, 54, 0.35);
}

.quick-strip-item:hover {
  transform: translateY(-5px);
}

.quick-icon-blob {
  width: 74px;
  height: 66px;
  border-radius: 54% 46% 48% 52% / 46% 54% 46% 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.quick-strip-item:hover .quick-icon-blob {
  transform: scale(1.1) rotate(-5deg);
}

.blob-blue { background: var(--watercolor-blue); }
.blob-teal { background: var(--watercolor-teal); }
.blob-pink { background: var(--watercolor-pink); }
.blob-yellow { background: var(--watercolor-yellow); }

.quick-item-title {
  font-family: 'Kalam', cursive;
  font-size: 1.2rem;
  font-weight: 700;
}

.quick-item-arrow {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-top: -2px;
  transition: transform 0.2s ease;
}

.quick-strip-item:hover .quick-item-arrow {
  transform: translateX(5px);
  color: var(--rose-btn);
}

/* ==================== MIDDLE 3-COLUMN SECTION (BİZ KİMİZ / MASKOT / YAKLAŞAN ETKİNLİK) ==================== */
.middle-trio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 42px;
}

.paper-note-card {
  position: relative;
  background: var(--bg-parchment-light);
  border: 1.8px solid rgba(74, 60, 54, 0.3);
  border-radius: 4px 12px 6px 10px;
  padding: 26px 24px;
  box-shadow: var(--shadow-paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper-note-card.tilt-left {
  transform: rotate(-1.5deg);
}
.paper-note-card.tilt-right {
  transform: rotate(1.2deg);
}
.paper-note-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.hand-heading {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--ink-dark);
  text-align: center;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.hand-heading::after {
  content: '';
  display: block;
  width: 75%;
  height: 3px;
  margin: 2px auto 0;
  background: var(--ink-dark);
  border-radius: 50%;
  opacity: 0.7;
}

.biz-kimiz-text {
  font-family: 'Kalam', cursive;
  font-size: 1.08rem;
  color: var(--ink-dark);
  text-align: left;
  line-height: 1.58;
}

.center-mascot-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.center-mascot-img {
  width: 100%;
  max-width: 310px;
  height: auto;
  border-radius: 14px;
  transition: transform 0.35s ease;
}
.center-mascot-img:hover {
  transform: scale(1.04) rotate(1deg);
}

.event-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 20px;
}

.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Kalam', cursive;
  font-size: 1.12rem;
  color: var(--ink-dark);
}

.event-info-icon {
  font-size: 1.35rem;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ==================== BRANCHES (ALT DALLARIMIZ: RESİM & FOTOĞRAFÇILIK) ==================== */
.section-block {
  margin: 46px 0;
  position: relative;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-hand {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink-dark);
  position: relative;
}

.section-title-hand::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'><path d='M2 7 Q 65 1, 138 6' stroke='%23c46868' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
}

.see-all-link {
  font-family: 'Kalam', cursive;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.see-all-link:hover {
  color: var(--rose-btn);
  transform: translateX(4px);
}

.branches-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.branch-card {
  position: relative;
  background: var(--bg-parchment-light);
  border: 2px solid rgba(74, 60, 54, 0.32);
  border-radius: 12px 6px 14px 8px;
  padding: 24px;
  box-shadow: var(--shadow-paper);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--shadow-hover);
}

.branch-card-thumb {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--ink-dark);
  background: var(--bg-parchment);
}

.branch-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--watercolor-blue);
  color: var(--ink-dark);
  margin-bottom: 6px;
}

/* ==================== POLAROID GALLERY SECTION ==================== */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.polaroid-card {
  position: relative;
  background: #fbf6ec;
  border: 1.5px solid rgba(74, 60, 54, 0.32);
  border-radius: 4px;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow-paper);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.polaroid-card:nth-child(odd) {
  transform: rotate(-1.2deg);
}
.polaroid-card:nth-child(even) {
  transform: rotate(1.2deg);
}
.polaroid-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
  z-index: 3;
}

.polaroid-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border: 1px solid rgba(74, 60, 54, 0.25);
  background: #e8dcc8;
  position: relative;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.06);
}

.polaroid-caption {
  font-family: 'Kalam', cursive;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink-dark);
  margin-top: 10px;
}

.polaroid-meta {
  font-size: 0.88rem;
  text-align: center;
  color: var(--ink-muted);
}

/* ==================== TOURNAMENT TOP 3 WINNERS PODIUM ==================== */
.winners-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(250, 242, 225, 0.96), rgba(244, 225, 198, 0.92));
  border: 2px solid rgba(74, 60, 54, 0.35);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow-paper);
  margin: 38px 0;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
}

.winner-card {
  position: relative;
  background: #fffcf5;
  border: 2px solid var(--ink-dark);
  border-radius: 10px;
  padding: 14px;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.winner-card:hover {
  transform: translateY(-6px);
}

.winner-card.rank-1 {
  border-color: #b8860b;
  background: linear-gradient(to bottom, #fffdf6, #fdf5df);
  transform: scale(1.03);
}

.medal-badge {
  position: absolute;
  top: -14px;
  right: 14px;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid var(--ink-dark);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.medal-1 { background: #ffd700; color: #2a211d; }
.medal-2 { background: #e3e6e8; color: #2a211d; }
.medal-3 { background: #e6a87c; color: #2a211d; }

.winner-story {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 8px;
  background: rgba(234, 216, 190, 0.35);
  padding: 8px 10px;
  border-radius: 6px;
  border-left: 3px solid var(--rose-btn);
  font-style: italic;
}

/* ==================== CORKBOARD ANNOUNCEMENTS (MANTAR PANO) ==================== */
.corkboard-frame {
  background-color: #c89d6c;
  background-image:
    radial-gradient(rgba(92, 58, 28, 0.18) 1px, transparent 0),
    radial-gradient(rgba(255, 230, 195, 0.2) 1px, transparent 0);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  border: 10px solid #8c6239;
  border-radius: 12px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.28), var(--shadow-paper);
  padding: 28px 22px;
}

.pinned-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.pinned-note {
  background: #fff9db;
  padding: 22px 18px 18px;
  border-radius: 3px 3px 14px 3px;
  box-shadow: 3px 6px 14px rgba(0, 0, 0, 0.22);
  position: relative;
  transition: transform 0.25s ease;
}

.pinned-note:nth-child(2n) {
  background: #fde8e8;
  transform: rotate(1.8deg);
}
.pinned-note:nth-child(3n) {
  background: #e4f4f9;
  transform: rotate(-1.5deg);
}
.pinned-note:hover {
  transform: scale(1.03) rotate(0deg);
  z-index: 2;
}

/* Red pushpin */
.pushpin {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #ff7b7b, #b32424);
  border-radius: 50%;
  border: 1.5px solid #4a1212;
  box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.35);
}

/* ==================== FILTER PILLS & FORMS ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-pill {
  background: var(--bg-parchment-light);
  border: 1.8px solid var(--ink-dark);
  border-radius: 20px 8px 18px 10px;
  padding: 7px 16px;
  font-family: 'Kalam', cursive;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-dark);
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--rose-btn);
  color: #fff;
  transform: translateY(-2px);
}

.sketch-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-dark);
}

.sketch-input,
.sketch-textarea,
.sketch-select {
  width: 100%;
  padding: 11px 14px;
  background: #fffdf8;
  border: 2px solid rgba(74, 60, 54, 0.45);
  border-radius: 8px 12px 8px 10px;
  font-family: 'Kalam', cursive;
  font-size: 1.05rem;
  color: var(--ink-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sketch-input:focus,
.sketch-textarea:focus,
.sketch-select:focus {
  outline: none;
  border-color: var(--rose-btn);
  box-shadow: 0 0 0 3px rgba(196, 104, 104, 0.2);
}

.upload-dropzone {
  border: 2.5px dashed var(--rose-btn);
  border-radius: 14px;
  background: rgba(255, 251, 242, 0.8);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-dropzone:hover {
  background: rgba(231, 194, 194, 0.25);
  transform: scale(1.01);
}

/* ==================== FOOTER (EXACT REFERENCE MATCH) ==================== */
.site-footer {
  margin-top: 64px;
  background: linear-gradient(180deg, rgba(211, 178, 179, 0.82) 0%, rgba(198, 160, 162, 0.95) 100%);
  border-top: 2px solid rgba(74, 60, 54, 0.25);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 20px;
}

.footer-quote-box {
  text-align: center;
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1.25;
}

.footer-right-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--ink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dark);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 250, 242, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-icon-link:hover {
  transform: translateY(-3px) rotate(-5deg);
  background: #fffdf8;
}

/* ==================== MODALS & LIGHTBOX & ADMIN PANEL ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 24, 18, 0.68);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-parchment-light);
  border: 2.5px solid var(--ink-dark);
  border-radius: 14px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink-dark);
  background: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

/* Admin Panel Layout */
.admin-dashboard {
  background: #fdf9f0;
  border: 2.5px solid var(--ink-dark);
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  overflow: visible;
  margin: 20px 0 48px;
}

.admin-header-bar {
  background: var(--ink-dark);
  color: #fdf9f0;
  padding: 14px 20px;
  border-radius: 13px 13px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-sticky-switcher {
  display: none;
  position: sticky;
  top: 58px;
  z-index: 95;
  background: #f6e7cf;
  border-bottom: 2px solid var(--ink-dark);
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.admin-count-pill {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-dark);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 620px;
}

.admin-sidebar {
  background: #f2e5ce;
  border-right: 2px solid rgba(74, 60, 54, 0.25);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-tab-btn {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: 'Kalam', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: rgba(196, 104, 104, 0.15);
}

.admin-tab-btn.active {
  background: var(--rose-btn);
  color: #fff;
  border-color: var(--ink-dark);
}

.admin-content-area {
  padding: 26px;
  overflow-y: auto;
}

.admin-card {
  background: #fffdf9;
  border: 1.8px solid rgba(74, 60, 54, 0.28);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}

.submission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.submission-item {
  background: #fff;
  border: 2px solid rgba(74, 60, 54, 0.35);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-selector-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.rank-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1.5px solid var(--ink-dark);
  background: #f5ebd8;
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.rank-btn.selected-1 { background: #ffd700; color: #000; }
.rank-btn.selected-2 { background: #d8dde0; color: #000; }
.rank-btn.selected-3 { background: #e3a172; color: #000; }

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  background: var(--ink-dark);
  color: #fffdf8;
  border: 2px solid var(--rose-btn);
  border-radius: 12px;
  padding: 12px 20px;
  font-family: 'Kalam', cursive;
  font-size: 1.05rem;
  box-shadow: var(--shadow-hover);
  animation: slideInUp 0.3s ease;
}

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

/* Responsive Design (Tablet & Mobile Sketchbook Layout) */
@media (max-width: 960px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .botanical-decor,
  #watercolor-canvas {
    display: none !important;
  }

  .page-shell {
    padding: 0 14px;
  }

  .navbar-inner {
    padding: 10px 14px;
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-heart-svg {
    width: 40px;
    height: 37px;
  }

  .brand-title {
    font-size: 1.55rem;
    letter-spacing: 1px;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .btn-obs {
    font-size: 0.82rem;
    padding: 5px 10px;
    box-shadow: 1.5px 2px 0 var(--ink-dark);
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-parchment-light);
    border-bottom: 2.5px solid var(--ink-dark);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px;
    gap: 6px;
    z-index: 300;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 8px 10px;
    font-size: 1.1rem;
    justify-content: space-between;
  }

  /* Make Alt Dallarımız dropdown visible inside mobile menu */
  .nav-item.has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--rose-btn);
    background: rgba(234, 216, 190, 0.3);
    margin: 4px 0 4px 12px;
    padding: 6px 8px;
    border-radius: 0 8px 8px 0;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px 8px 12px;
    gap: 14px;
  }

  .hero-left {
    padding: 4px 6px;
  }

  .hero-quote {
    font-size: 2.15rem;
    transform: rotate(-2deg);
    margin-bottom: 8px;
  }

  .middle-trio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .paper-note-card,
  .paper-note-card.tilt-left,
  .paper-note-card.tilt-right {
    transform: none;
    padding: 20px 16px;
  }

  .branches-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .podium-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .winner-card.rank-1 {
    transform: none;
  }

  .admin-sticky-switcher {
    display: flex;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-right: none;
    border-bottom: 2px solid rgba(74, 60, 54, 0.25);
    padding: 12px;
    gap: 8px;
  }

  .admin-tab-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.96rem;
    background: #fffdf8;
    border: 1.5px solid rgba(74, 60, 54, 0.35);
    gap: 6px;
  }

  .admin-content-area {
    padding: 16px 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 16px;
  }

  .footer-right-box {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  /* Keep masking tapes neatly inside mobile viewport */
  .masking-tape {
    width: 48px;
    height: 16px;
  }
  .tape-tl { top: -7px; left: 4px; transform: rotate(-22deg); }
  .tape-tr { top: -7px; right: 4px; transform: rotate(22deg); }
  .tape-bl { bottom: -7px; left: 4px; transform: rotate(20deg); }
  .tape-br { bottom: -7px; right: 4px; transform: rotate(-20deg); }

  /* Hide text on OBS button on very small screens or keep it compact */
  .btn-obs {
    font-size: 0.78rem;
    padding: 4px 8px;
  }

  .hero-quote {
    font-size: 1.95rem;
    line-height: 1.18;
  }

  .hero-actions-row {
    flex-direction: column;
    gap: 10px;
  }

  .brush-btn,
  .brush-btn-secondary {
    width: 100%;
    max-width: 280px;
    font-size: 1.08rem;
    padding: 9px 18px;
    transform: none;
    justify-content: center;
  }

  .sanat-iyilestirir-float {
    font-size: 1.25rem;
    top: 4%;
    right: 3%;
    padding: 3px 8px;
  }

  /* Compact 3+2 Quick Navigation Strip on Mobile */
  .quick-strip-wrapper {
    padding: 14px 8px;
    margin: 12px 0 24px;
  }

  .quick-strip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 4px;
  }

  .quick-strip-item {
    width: 32%;
    padding: 6px 4px;
  }

  .quick-strip-item::after {
    display: none;
  }

  .quick-icon-blob {
    width: 52px;
    height: 48px;
    margin-bottom: 4px;
  }

  .quick-icon-blob svg {
    width: 30px;
    height: 30px;
  }

  .quick-item-title {
    font-size: 0.92rem;
    line-height: 1.15;
    text-align: center;
  }

  .quick-item-arrow {
    font-size: 0.95rem;
  }

  .hand-heading {
    font-size: 1.85rem;
  }

  .section-title-hand {
    font-size: 1.85rem;
  }

  .center-mascot-img {
    max-width: 210px;
  }

  /* Sleek side-by-side compact branch cards on mobile */
  .branch-card {
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 14px;
    text-align: left;
    justify-items: start;
  }

  .branch-card-thumb {
    width: 88px;
    height: 88px;
  }

  /* 2x2 Scrapbook Polaroid Grid on Mobile */
  .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .polaroid-card,
  .polaroid-card:nth-child(odd),
  .polaroid-card:nth-child(even) {
    transform: none;
    padding: 7px 7px 10px;
  }

  .polaroid-caption {
    font-size: 0.92rem;
    margin-top: 6px;
  }

  .polaroid-meta {
    font-size: 0.75rem;
  }

  .corkboard-frame {
    border-width: 6px;
    padding: 18px 12px;
  }

  .modal-card {
    padding: 18px 14px;
  }

  .site-footer {
    padding: 22px 12px;
    margin-top: 40px;
  }

  .footer-quote-box {
    font-size: 1.35rem;
  }

  .social-icons-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}
