/*
Theme Name: Tandoori Flavor Complete
Theme URI: https://tandooriflavor.at
Description: Premium Astra Child Theme für Tandoori Flavor mit 4-Stufen-Startseite, WooCommerce-Speisekarte, Reservierungen, Optionen, Allergenen, Abholrabatt und SumUp Hosted Checkout.
Author: Tandoori Flavor
Template: astra
Version: 2.1.0
Text Domain: tandoori-flavor
Requires at least: 6.4
Requires PHP: 8.0
*/

:root {
  --tf-black:#070605;
  --tf-black-2:#120d09;
  --tf-gold:#d5a13f;
  --tf-gold-2:#f2cf78;
  --tf-red:#a51f18;
  --tf-red-2:#d6402c;
  --tf-cream:#fff8e8;
  --tf-muted:#d8d0c4;
  --tf-border:rgba(213,161,63,.28);
  --tf-shadow:0 18px 55px rgba(0,0,0,.38);
}

html { scroll-behavior:smooth; }
body { background:var(--tf-black); color:var(--tf-cream); }
body, button, input, select, textarea { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color:var(--tf-gold-2); }


/* Full-width landing page: remove Astra content container gutters. */
body.home #page,
body.home .site,
body.home .site-content,
body.home .site-content > .ast-container,
body.home .ast-container,
body.home #primary,
body.home .content-area,
body.home article.page,
body.home .entry-content {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
body.home .site-content > .ast-container,
body.home .ast-container { display:block !important; }
body.home .entry-content > * { max-width:none !important; }

/* Hide Astra chrome on the bespoke landing page. */
body.home #masthead,
body.home .site-header,
body.home .site-footer,
body.home footer,
body.home .ast-primary-header-bar,
body.home .ast-above-header-wrap,
body.home .ast-below-header-wrap { display:none !important; }

.tf-home-shell { height:100vh; height:100svh; overflow:hidden; background:var(--tf-black); }
.tf-home { height:100%; overflow-y:auto; overflow-x:hidden; scroll-snap-type:y mandatory; scroll-behavior:smooth; }
.tf-stage { min-height:100vh; min-height:100svh; scroll-snap-align:start; scroll-snap-stop:always; position:relative; isolation:isolate; display:grid; place-items:center; padding:112px clamp(18px,5vw,78px) 50px; }
.tf-stage::before { content:""; position:absolute; inset:0; z-index:-3; background:radial-gradient(circle at 15% 15%,rgba(165,31,24,.26),transparent 34%),radial-gradient(circle at 78% 82%,rgba(213,161,63,.16),transparent 36%),linear-gradient(135deg,#060504,#160d09 52%,#050505); }
.tf-stage::after { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.58)); }
.tf-stage-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-4; }

.tf-site-header { position:fixed; z-index:99990; inset:0 0 auto 0; min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:8px clamp(16px,4vw,66px); background:linear-gradient(180deg,rgba(4,4,4,.98),rgba(4,4,4,.82)); border-bottom:1px solid var(--tf-border); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.tf-site-logo { width:clamp(180px,24vw,330px); max-height:66px; object-fit:contain; object-position:left center; display:block; }
.tf-main-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(10px,1.5vw,22px); }
.tf-main-nav a { color:var(--tf-gold-2); text-decoration:none; font-size:14px; font-weight:700; letter-spacing:.03em; white-space:nowrap; }
.tf-main-nav a:hover { color:#fff; }
.tf-nav-order { border:1px solid var(--tf-gold); border-radius:999px; padding:11px 17px; background:linear-gradient(135deg,var(--tf-gold-2),var(--tf-gold)); color:#1b0b02 !important; box-shadow:0 8px 24px rgba(213,161,63,.2); }
.tf-lang { background:#0f0d0b; color:var(--tf-gold-2); border:1px solid var(--tf-border); border-radius:999px; padding:8px 10px; font-weight:700; }

.tf-stage-inner { width:min(1140px,100%); margin:0 auto; }
.tf-hero { text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px; }
.tf-hero-logo { width:min(780px,90vw); max-height:280px; object-fit:contain; filter:drop-shadow(0 18px 40px rgba(0,0,0,.48)); }
.tf-kicker { color:var(--tf-gold-2); text-transform:uppercase; letter-spacing:.18em; font-weight:800; font-size:clamp(11px,1.3vw,14px); }
.tf-h1,.tf-h2 { font-family:Georgia,"Times New Roman",serif; color:#fff; margin:0; text-shadow:0 5px 22px rgba(0,0,0,.38); }
.tf-h1 { font-size:clamp(42px,6.6vw,90px); line-height:.96; }
.tf-h2 { font-size:clamp(34px,5vw,66px); line-height:1.05; color:var(--tf-gold-2); margin-bottom:18px; }
.tf-slogan { margin:0; color:var(--tf-gold-2); font-size:clamp(18px,2.2vw,30px); font-weight:700; letter-spacing:.08em; }
.tf-lead { max-width:820px; margin:2px auto 0; color:rgba(255,255,255,.89); font-size:clamp(16px,1.8vw,20px); line-height:1.65; }
.tf-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:10px; }
.tf-btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 20px; border-radius:999px; border:1px solid var(--tf-gold); color:#fff !important; text-decoration:none !important; font-weight:800; background:rgba(0,0,0,.38); transition:.2s ease; cursor:pointer; }
.tf-btn:hover { transform:translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.28); }
.tf-btn-primary { color:#180900 !important; background:linear-gradient(135deg,var(--tf-gold-2),var(--tf-gold)); }
.tf-btn-red { border-color:#cf4b3b; background:linear-gradient(135deg,#c12820,#7f100c); }
.tf-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,3vw,34px); }
.tf-card { border:1px solid var(--tf-border); border-radius:22px; padding:clamp(20px,3vw,34px); background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035)); box-shadow:var(--tf-shadow); }
.tf-card h3 { color:var(--tf-gold-2); margin:0 0 12px; font-size:clamp(22px,2.4vw,31px); }
.tf-card p,.tf-card li { color:rgba(255,255,255,.88); line-height:1.65; }
.tf-contact-list { list-style:none; padding:0; margin:0; }
.tf-contact-list li { padding:6px 0; }
.tf-social { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.tf-social a { border:1px solid var(--tf-border); border-radius:999px; padding:9px 13px; text-decoration:none; color:var(--tf-gold-2); }
.tf-map { width:100%; min-height:260px; border:0; border-radius:16px; }

.tf-dots { position:fixed; right:16px; top:50%; transform:translateY(-50%); z-index:99991; display:grid; gap:10px; }
.tf-dot { width:12px; height:12px; border-radius:50%; border:1px solid var(--tf-gold); background:rgba(0,0,0,.45); display:block; }
.tf-dot.is-active { background:var(--tf-gold-2); box-shadow:0 0 0 5px rgba(213,161,63,.12); }
.tf-wa { position:fixed; right:20px; bottom:20px; z-index:99992; width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:#25D366; color:#fff !important; text-decoration:none !important; font-size:26px; box-shadow:0 12px 30px rgba(0,0,0,.34); }
.tf-music { position:fixed; left:18px; bottom:18px; z-index:99992; display:flex; align-items:center; gap:7px; padding:8px 10px; border-radius:999px; border:1px solid var(--tf-border); background:rgba(5,5,5,.88); backdrop-filter:blur(10px); }
.tf-music button { border:0; background:transparent; color:var(--tf-gold-2); cursor:pointer; font-weight:800; padding:4px 6px; }
.tf-music span { color:#fff; min-width:42px; text-align:center; font-size:12px; }

/* Generic interior pages */
.tf-page-wrap { max-width:1180px; margin:0 auto; padding:48px 18px 70px; }
.tf-page-head { padding:28px 0 22px; text-align:center; }
.tf-page-head h1 { margin:0; font-family:Georgia,"Times New Roman",serif; color:var(--tf-gold-2); font-size:clamp(36px,5vw,64px); }
.tf-page-head p { color:var(--tf-muted); }

/* Restaurant menu */
.tf-menu-tabs { position:sticky; top:0; z-index:20; display:flex; gap:8px; overflow:auto; padding:12px 0; background:linear-gradient(180deg,var(--tf-black),rgba(7,6,5,.92)); }
.tf-menu-tabs a { flex:0 0 auto; padding:9px 14px; border:1px solid var(--tf-border); border-radius:999px; text-decoration:none; color:var(--tf-gold-2); }
.tf-menu-section { scroll-margin-top:76px; margin:34px 0 48px; }
.tf-menu-section h2 { color:var(--tf-gold-2); font-family:Georgia,"Times New Roman",serif; font-size:clamp(28px,4vw,46px); }
.tf-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.tf-product { border:1px solid var(--tf-border); border-radius:18px; overflow:hidden; background:#120e0a; box-shadow:0 12px 32px rgba(0,0,0,.25); display:flex; flex-direction:column; }
.tf-product-image { aspect-ratio:4/3; background:#090807; overflow:hidden; }
.tf-product-image img { width:100%; height:100%; object-fit:cover; display:block; }
.tf-product-body { padding:16px; display:flex; flex-direction:column; gap:10px; flex:1; }
.tf-product-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.tf-product h3 { color:#fff; margin:0; font-size:20px; }
.tf-price { color:var(--tf-gold-2); font-weight:900; white-space:nowrap; }
.tf-product-desc { color:#cfc6ba; font-size:14px; line-height:1.55; margin:0; }
.tf-badges { display:flex; flex-wrap:wrap; gap:6px; }
.tf-badge { font-size:11px; padding:4px 8px; border-radius:999px; border:1px solid var(--tf-border); color:var(--tf-gold-2); }
.tf-badge-green { color:#b8f2c2; border-color:rgba(90,190,108,.4); }
.tf-badge-red { color:#ffb4aa; border-color:rgba(220,70,50,.4); }
.tf-allergens { color:#a9a096; font-size:12px; }
.tf-product-actions { margin-top:auto; display:flex; gap:8px; }
.tf-add { width:100%; }
.tf-sold { opacity:.56; filter:grayscale(.25); }

.tf-modal { position:fixed; inset:0; z-index:100000; background:rgba(0,0,0,.72); display:none; align-items:center; justify-content:center; padding:18px; }
.tf-modal.is-open { display:flex; }
.tf-modal-card { width:min(620px,100%); max-height:90vh; overflow:auto; border:1px solid var(--tf-border); border-radius:20px; padding:22px; background:#100c09; box-shadow:var(--tf-shadow); }
.tf-modal-head { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.tf-modal-head h3 { margin:0; color:var(--tf-gold-2); }
.tf-close { border:0; background:transparent; color:#fff; font-size:28px; cursor:pointer; }
.tf-option-group { margin:18px 0; }
.tf-option-group h4 { color:#fff; margin:0 0 8px; }
.tf-option-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.07); }
.tf-option-row label { color:#e9e0d4; flex:1; cursor:pointer; }
.tf-note { width:100%; min-height:90px; border-radius:12px; border:1px solid var(--tf-border); background:#080706; color:#fff; padding:10px; }

/* Reservation */
.tf-form { max-width:820px; margin:0 auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tf-field { display:flex; flex-direction:column; gap:6px; }
.tf-field-full { grid-column:1/-1; }
.tf-field label { color:var(--tf-gold-2); font-weight:700; }
.tf-field input,.tf-field select,.tf-field textarea { width:100%; border:1px solid var(--tf-border); border-radius:12px; background:#100c09; color:#fff; padding:12px 13px; }
.tf-notice { padding:12px 14px; border-radius:12px; margin:0 0 18px; border:1px solid var(--tf-border); }
.tf-notice-success { background:rgba(45,125,61,.16); color:#d7ffdf; }
.tf-notice-error { background:rgba(160,45,35,.15); color:#ffd9d3; }

/* WooCommerce classic cart/checkout styling */
.woocommerce .woocommerce-breadcrumb { color:#b9ad9f; }
.woocommerce h1,.woocommerce h2,.woocommerce h3 { color:var(--tf-gold-2); }
.woocommerce table.shop_table { border-color:var(--tf-border); background:#100c09; color:#fff; }
.woocommerce table.shop_table th,.woocommerce table.shop_table td { border-color:rgba(255,255,255,.08); }
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select { background:#100c09 !important; color:#fff !important; border:1px solid var(--tf-border) !important; border-radius:10px !important; padding:10px !important; }
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .checkout-button { border-radius:999px !important; background:linear-gradient(135deg,var(--tf-gold-2),var(--tf-gold)) !important; color:#1b0b02 !important; font-weight:800 !important; }
.woocommerce .cart_totals,.woocommerce-checkout-review-order { background:#100c09; border:1px solid var(--tf-border); border-radius:16px; padding:18px; }
.woocommerce form .form-row label { color:#eee3d5; }

@media (max-width:1020px) {
  .tf-main-nav a:not(.tf-nav-order),.tf-lang { display:none; }
  .tf-site-header { min-height:72px; padding:8px 14px; }
  .tf-site-logo { width:210px; max-height:58px; }
  .tf-stage { padding-top:92px; }
  .tf-grid-2 { grid-template-columns:1fr; }
  .tf-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .tf-site-logo { width:158px; }
  .tf-nav-order { max-width:150px; text-align:center; font-size:12px !important; padding:9px 12px; }
  .tf-stage { padding-left:15px; padding-right:15px; }
  .tf-hero-logo { width:94vw; }
  .tf-actions { flex-direction:column; width:100%; }
  .tf-btn { width:100%; }
  .tf-products { grid-template-columns:1fr; }
  .tf-form { grid-template-columns:1fr; }
  .tf-field-full { grid-column:auto; }
  .tf-dots { right:8px; }
  .tf-music { left:8px; bottom:10px; }
  .tf-wa { right:10px; bottom:10px; }
}
/* Astra interior header */
body:not(.home) .ast-primary-header-bar { background:#070605 !important; border-bottom:1px solid var(--tf-border) !important; }
body:not(.home) .site-title a,body:not(.home) .main-header-menu .menu-link { color:var(--tf-gold-2) !important; }
body:not(.home) .site-footer { background:#070605 !important; color:#cfc6ba; border-top:1px solid var(--tf-border); }
body:not(.home) .site-content { background:linear-gradient(135deg,#090807,#120d09); min-height:70vh; color:#fff; }
.tf-lang-float { position:fixed; top:12px; right:12px; z-index:99999; display:flex; gap:5px; padding:5px; border:1px solid var(--tf-border); border-radius:999px; background:rgba(7,6,5,.9); }
.tf-lang-float a { color:var(--tf-gold-2); text-decoration:none; font-size:12px; font-weight:800; padding:5px 7px; }
