/* Şık Premium tema — style.css üzerine eklenir */

.theme-elegant,
.theme-elegant.elegant-home,
.theme-elegant.elegant-menu {
  --elegant-brown: #5c3d2e;
  --elegant-brown-dark: #3d281c;
  --elegant-cream: #f3efe8;
  --elegant-glass: rgba(20, 14, 10, 0.55);
  --elegant-glass-border: rgba(255, 255, 255, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Noto Sans', sans-serif;
  font-family: var(--font-body);
  background: var(--elegant-cream);
  color: #2a211c;
}

.theme-elegant .top-bar {
  display: none;
}

/* ── Home ── */
.elegant-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow-x: hidden;
}

.elegant-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55) 100%);
}

.elegant-hero-header,
.elegant-hero-content,
.elegant-home-footer {
  position: relative;
}

.elegant-hero-header {
  z-index: 30;
}

.elegant-hero-content,
.elegant-home-footer {
  z-index: 2;
}

.elegant-hero-header {
  padding: 28px 20px 10px;
}

.elegant-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.elegant-brand-line {
  flex: 1;
  max-width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.75);
  position: relative;
}

.elegant-brand-line::before,
.elegant-brand-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
}

.elegant-brand-line::before { left: 0; }
.elegant-brand-line::after { right: 0; }

.elegant-brand-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  white-space: nowrap;
}

.elegant-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  padding: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.elegant-brand-logo-wrap:has(.elegant-brand-img) {
  padding: 0;
}

.elegant-brand-logo-wrap-compact {
  width: 64px;
  height: 64px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e8e0d6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.elegant-brand-logo-wrap-compact:has(.elegant-brand-img) {
  padding: 0;
}

.elegant-brand-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--elegant-brown-dark);
}

.elegant-brand-logo-wrap-compact.elegant-brand-logo-text {
  font-size: 0.95rem;
}

.elegant-brand-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.elegant-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 18px 120px;
}

.elegant-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.elegant-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 74px;
  padding: 14px 12px;
  text-decoration: none;
  color: #fff;
  background: var(--elegant-glass);
  border: 1px solid var(--elegant-glass-border);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.elegant-cat-btn:hover {
  background: rgba(20, 14, 10, 0.72);
  transform: translateY(-1px);
}

.elegant-cat-btn.is-wide {
  grid-column: 1 / -1;
}

.elegant-cat-icon {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

.elegant-cat-icon i {
  font-size: 22px;
  line-height: 1;
}

.elegant-cat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.25;
}

.elegant-intro {
  text-align: center;
  padding: 0 8px;
}

.elegant-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
}

.elegant-subtitle {
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0.88;
  max-width: 320px;
  margin: 0 auto;
}

.elegant-home-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
}

.elegant-footer-inner {
  position: relative;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 6px;
}

.elegant-social-bar {
  grid-column: 1;
  justify-self: start;
  display: flex;
  gap: 10px;
  align-items: center;
}

.elegant-social-bar .social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0ebe4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elegant-social-bar .social-link i {
  font-size: 16px;
  color: var(--elegant-brown);
  line-height: 1;
}

.elegant-menu-fab {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--elegant-brown-dark);
  justify-self: center;
}

.elegant-menu-fab-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--elegant-brown);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(60, 40, 28, 0.28);
}

.elegant-menu-fab-icon i {
  font-size: 22px;
  line-height: 1;
}

.elegant-menu-fab-text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Menu page ── */
.elegant-menu-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  padding: 18px 16px 12px;
  border-bottom: 1px solid #e8e0d6;
  overflow: visible;
}

.elegant-brand-compact {
  margin-bottom: 14px;
}

.elegant-brand-compact .elegant-brand-text {
  color: var(--elegant-brown-dark);
  font-size: 1.45rem;
}

.elegant-brand-compact .elegant-brand-line {
  background: #c9b9a8;
}

.elegant-brand-compact .elegant-brand-line::before,
.elegant-brand-compact .elegant-brand-line::after {
  border-color: #c9b9a8;
}

.elegant-search-wrap {
  position: relative;
}

.elegant-search {
  width: 100%;
  border: 1px solid #ddd3c8;
  border-radius: 999px;
  padding: 12px 44px 12px 18px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  background: #faf8f5;
  color: #2a211c;
}

.elegant-search:focus {
  outline: none;
  border-color: var(--elegant-brown);
  box-shadow: 0 0 0 3px rgba(92, 61, 46, 0.12);
}

.elegant-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #9a8b7d;
  pointer-events: none;
}

.elegant-menu-main {
  padding-bottom: 108px;
}

.elegant-menu-section {
  scroll-margin-top: 120px;
}

.elegant-menu-section.is-hidden {
  display: none;
}

.elegant-section-banner {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.elegant-section-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}

.elegant-section-banner-overlay h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.elegant-items-card {
  margin: -18px 14px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.elegant-item-row {
  padding: 16px 18px;
  border-bottom: 1px solid #efe8df;
  cursor: pointer;
}

.elegant-item-row:last-child {
  border-bottom: none;
}

.elegant-item-row.is-hidden {
  display: none;
}

.elegant-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.elegant-item-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  flex: 1;
}

.elegant-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--elegant-brown);
  white-space: nowrap;
}

.elegant-item-desc {
  margin-top: 6px;
  font-size: 0.74rem;
  color: #7a6d62;
  line-height: 1.45;
}

.elegant-item-row .item-meta-badges {
  margin: 6px 0 2px;
}

.elegant-empty {
  padding: 24px 18px;
  text-align: center;
  color: #9a8b7d;
  font-size: 0.85rem;
}

.elegant-sticky-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  z-index: 60;
  background: #fff;
  border-top: 1px solid #e8e0d6;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.elegant-sticky-footer .elegant-footer-inner {
  padding-bottom: 6px;
}

.elegant-home-footer .theme-credit,
.elegant-sticky-footer .theme-credit {
  background: #fff;
  padding: 0 16px max(10px, env(safe-area-inset-bottom));
  margin: 0;
  color: #9a8b7d;
  font-size: 0.62rem;
  line-height: 1.3;
}

.elegant-home-footer .theme-credit a:hover,
.elegant-sticky-footer .theme-credit a:hover {
  color: var(--elegant-brown);
}

.theme-elegant .modal-price {
  color: var(--elegant-brown);
}

.theme-elegant.elegant-menu .elegant-home-footer {
  display: none;
}

@media (min-width: 481px) {
  .theme-elegant body,
  .theme-elegant.elegant-home,
  .theme-elegant.elegant-menu {
    box-shadow: 0 0 40px rgba(0,0,0,0.12);
  }
}
