/* ===============================
   Kawiarnia Tej — Theme Refresh
   =============================== */

:root{
  /* Palette */
  --bs-primary: #795548;           /* Główny kolor motywu – np. brąz kawowy */
  --bs-primary-rgb: 121,85,72;     /* (Opcjonalnie RGB dla efektów przezroczystości) */
  --bs-secondary: #6c757d;
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;
  --bottle-green: #0a3b2f;       /* dimmed dark green */
  --bottle-green-600: #124c3c;   /* hover/active */
  --smoked-brown: #2e1b12;       /* backdrop */
  --smoked-brown-900: #22140e;   /* deeper banding */
  --warm-bone: #f8f3e4 ;          /* warm bone white text */
  --accent-gold: #c4a25c;        /* subtle accent */

  /* Radii & shadows */
  --radius: 14px;
  --shadow-sm: 0 6px 18px rgba(0,0,0,.18);
  --shadow-md: 0 10px 28px rgba(0,0,0,.28);
  --shadow-lg: 0 18px 46px rgba(0,0,0,.35);
}

/* Base */
html, body{
  font-family: 'Lato', sans-serif;
  color: var(--warm-bone);
  background-color: #211911;
  /*background: linear-gradient(180deg, var(--smoked-brown-900), var(--smoked-brown));*/
  line-height: 1.6;
}

/* Global text override (beats Bootstrap defaults) */
body, p, li, span, a, .card, .form-control, .nav-link, .btn, .table, .alert {
  color: var(--warm-bone) !important;
}

/* Headings use Playfair and bottle green for luxe contrast */
h1,h2,h3,h4,h5{
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
h1.display-6{ letter-spacing: .4px; }

/* Utilities preserved for templates */
.bg-bottle{ background-color: var(--bottle-green) !important; }
.bg-chocolate{ background-color: var(--smoked-brown) !important; } /* repurposed */
.bg-bone{ background-color: var(--warm-bone) !important; color:#1a1a1a !important; }
.text-bone{ color: var(--warm-bone) !important; }

/* ===========================
   NAVBAR — depth + glow edge
   =========================== */
.navbar.bg-bottle,
.navbar.navbar-dark.bg-bottle,
.navbar{
  background-color: var(--bottle-green) !important;
  /* Drop shadow + soft green glow outline */
  box-shadow: 0 4px 14px rgba(0,0,0,0.55), 0 0 12px rgba(10,59,47,0.55) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 20;
}
.navbar .nav-link{
  color: var(--warm-bone) !important;
  font-weight: 500;
  opacity: .95;
}
.navbar .nav-link:hover{
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  text-underline-offset: 4px;
}

/* ======================
   HERO — inner shadow
   ====================== */
.hero-img{ height: 360px; object-fit: cover; }
@media (min-width: 992px){ .hero-img{ height: 520px; } }

/* Use this class on the text panel over hero image */
.hero-overlay{
  background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.35));
  border-radius: var(--radius);
  /* inner + drop shadow for "pressed" glass look */
  box-shadow:
    inset 0 1px 8px rgba(0,0,0,0.35),
    0 10px 28px rgba(0,0,0,0.28);
  backdrop-filter: saturate(120%) blur(1px);
}

/* =======================
   CAROUSEL & GALLERY
   ======================= */
.carousel-inner{
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

img.rounded-3{
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
img.rounded-3:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* ================
   CARDS / TILES
   ================ */
.card{
  background: linear-gradient(180deg, rgba(46,27,18,0.9), rgba(34,20,14,0.95));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card .card-footer{
  border-top: 1px solid rgba(255,255,255,0.06);



}

/* clickable choice tiles */
.choice-tile{
  display: block;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(46,27,18,0.88), rgba(34,20,14,0.95));
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: var(--shadow-sm);
}
.choice-tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,0.12);
}

/* =========
   BUTTONS
   ========= */
.btn,
.btn:focus{
  border-radius: calc(var(--radius) - 6px);
  font-weight: 600;
  color: var(--warm-bone) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-primary,
.btn-success,
.btn-outline-primary{
  background-color: var(--bottle-green) !important;
  border-color: var(--bottle-green) !important;
  color: var(--warm-bone) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.30), 0 0 14px rgba(10,59,47,0.65) !important;
  filter: brightness(1.03);
}

/* Optional neon pulse on hover — uncomment to enable */

@keyframes neon-pulse {
  0%,100% { box-shadow: 0 0 8px rgba(10,59,47,0.45); }
  50%     { box-shadow: 0 0 16px rgba(10,59,47,0.85); }
}
.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover{
  animation: neon-pulse 1.4s infinite alternate;
}


/* ======
   FORMS
   ====== */
.form-control{
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--warm-bone);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
  border-radius: 10px;
}
.form-control:focus{
  background-color: rgba(255,255,255,0.07);
  border-color: var(--bottle-green-600);
  box-shadow: 0 0 0 .2rem rgba(18,76,60,.25);
  color: var(--warm-bone);
}

/* ========
   FOOTER
   ======== */
footer{
  background: linear-gradient(180deg, var(--bottle-green), #08271f);
  color: var(--warm-bone);
  /* inner bevel + slight lift to stand out */
  box-shadow:
    inset 0 1px 8px rgba(0,0,0,0.35),
    0 -6px 18px rgba(0,0,0,0.25);
}
footer a{ color: var(--warm-bone); }
footer a:hover{ opacity: .85; }

/* ==================
   MISC REFINEMENTS
   ================== */

/* Section containers pop slightly from bg */
.section-elevated{
  background: linear-gradient(180deg, rgba(46,27,18,0.9), rgba(34,20,14,0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

/* Table look on dark bg */
.table{
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255,255,255,0.12);
  --bs-table-striped-bg: rgba(255,255,255,0.03);
  border-color: var(--bs-table-border-color);
}

/* Alerts contrast */
.alert{
  background-color: rgba(10,59,47,0.22);
  border-color: rgba(10,59,47,0.45);
}

/* Make anchor focus visible on dark bg */
a:focus{
  outline: 2px dashed var(--accent-gold);
  outline-offset: 2px;
}
/* ===== MENU PAGE: MODERN, ALIVE CARDS ===== */

/* Muted ink on dark bg for descriptions */
.text-muted-ink { color: rgba(249,244,232,0.75) !important; }

/* Card base */
.menu-card {
  background: radial-gradient(120% 140% at 20% 0%, rgba(12,66,52,.25), rgba(46,27,18,.85)),
              linear-gradient(180deg, rgba(34,20,14,.95), rgba(34,20,14,.98));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.38), 0 0 18px rgba(10,59,47,.35);
  border-color: rgba(255,255,255,.12);
}

/* Media (keeps image ratio consistent) */
.menu-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .5s ease, filter .5s ease;
  filter: saturate(105%) contrast(102%);
}
.menu-card:hover .menu-card-img {
  transform: scale(1.06);
  filter: saturate(112%) contrast(104%) brightness(1.02);
}

/* Badge */
.menu-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .6rem;
  font-size: .8rem;
  border-radius: 999px;
  background: rgba(200,169,107,.95);
  color: #1c1c1c;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* Price pill */
.price-pill {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(10,59,47,.18);
  border: 1px solid rgba(10,59,47,.35);
  color: var(--warm-bone);
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}

/* Button polish on menu cards */
.menu-card .btn {
  background-color: var(--bottle-green) !important;
  border-color: var(--bottle-green) !important;
  color: var(--warm-bone) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.menu-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.30), 0 0 14px rgba(10,59,47,.55);
}

/* Kill accidental white/light sections on the page */
.section, .container, .container-fluid, .row {
  background: transparent !important;
}
/* Floating cart pill */
.cart-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bottle-green);
  color: var(--warm-bone);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 12px rgba(10,59,47,.45);
  z-index: 2000;
}
.cart-fab a,
.cart-fab button{
  all: unset;
  cursor: pointer;
  color: inherit;
}
.cart-fab-main{
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.cart-fab-main .label{ display: inline; }
.cart-fab-main .count{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 700;
}
.cart-fab-clear{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cart-fab-clear:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* Small screens: make it compact */
@media (max-width: 420px){
  .cart-fab{ right: 12px; bottom: 12px; padding: 6px 8px; }
  .cart-fab-main .label{ display:none; } /* show only icon + count */
}

/* Tiny toast feedback */
.kt-toast{
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(0,0,0,.7);
  color: var(--warm-bone);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 2100;
}
.kt-toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Kontakt page: responsive map */
.map-embed{
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe{
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
@media (min-width: 992px){
  .map-embed iframe{ height: 460px; }
}
.macros {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.macro-pill{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 2px 8px;
  line-height: 1.4;
  backdrop-filter: blur(2px);
}
/* Dotted leaders + responsive widths */
.menu-line-dots{
  position: relative;
  height: 1em;
  overflow: hidden;
}
.menu-line-dots span{
  display: block;
  height: 1px;
  border-bottom: 1px dotted rgba(255,255,255,.25);
  transform: translateY(-0.2em);
}
.menu-line-name{ max-width: 65%; }
@media (max-width: 576px){ .menu-line-name{ max-width: 60%; } }
/* Make each grid cell stretch so all cards line up cleanly */
.col-12.col-lg-6.d-flex > section { width: 100%; }

/* Title inside the card gets gentle separation */
.menu-card-header h3{
  line-height: 1.2;
}

/* Dotted leaders + responsive widths (keep or add if missing) */
.menu-line-dots{
  position: relative;
  height: 1em;
  overflow: hidden;
}
.menu-line-dots span{
  display: block;
  height: 1px;
  border-bottom: 1px dotted rgba(255,255,255,.25);
  transform: translateY(-0.2em);
}
.menu-line-name{ max-width: 65%; }
@media (max-width: 576px){ .menu-line-name{ max-width: 60%; } }
/* Center and underline section titles */
.menu-card-header h3 {
  text-align: center;
  font-family: 'Playfair Display', serif; /* keeps it classy */
  font-weight: 600;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: #f8f5f0; /* warm bony white */
}

/* Decorative underline with shadow */
.menu-card-header h3::after {
  content: "";
  display: block;
  width: 60%;
  margin: 0.5rem auto 0 auto;
  border-bottom: 3px solid #4a5a4f; /* dimmed bottle green */
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
/* Sticky footer layout */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1; /* pushes footer to bottom when content is short */
}

footer {
  margin-top: auto;
}
/* Smooth hover transitions for interactive elements */
a, button, .btn {
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.navbar-nav .nav-link {
    padding: .5rem 1rem;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;      /* Podkreślenie kolorem firmowym */
    text-decoration: none;
    border-bottom: 2px solid var(--bs-primary); /* Dekoracyjna kreska pod linkiem */
}
.section-title {
    position: relative;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .3rem;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    max-width: 120px;
    height: 3px;
    background-color: var(--bs-primary);
}
.btn-primary {
    background-color: var(--bs-primary) !important;  /* główny kolor przycisku */
    border-color: var(--bs-primary) !important;
.btn-primary:hover, .btn-primary:focus {
    background-color: #6b4a3c !important; /* trochę ciemniejszy brąz przy hover */
    border-color: #6b4a3c !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}
.btn {
    border-radius: .3rem;  /* lekko bardziej zaokrąglone narożniki */
    /* (Transition już dodany globalnie wcześniej) */
}

}
.card-img-top {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    /* obrazki kart automatycznie zaokrąglone w rogach żeby pasowały do karty */
}
.gallery-img:hover {
    transform: scale(1.03);
    transition: transform .3s ease;
    cursor: pointer;
}
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal.show { opacity: 1; transform: none; }
/* Cart dropdown hidden state */
.cart-dropdown {
  display: none;  /* hide by default, will be shown via .open */
  position: absolute;
  bottom: 100%; right: 0;
  background-color: rgba(34, 49, 34, 0.95);  /* dimmed green/brown backdrop */
  color: #f8f9fa;  /* light text for contrast (bone white) */
  min-width: 200px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  /* Transition for fade/slide effect */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Visible state */
.cart-dropdown.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  /* (visibility could be used instead of display if preferred) */
}
/* Optional: adjust list item appearance */
.cart-dropdown li {
  font-size: 0.9rem;
}
.cart-dropdown li.border-bottom {
  border-color: rgba(255,255,255,0.2);
}

