/* ==========================================================================
   Mosobna Bar & Restaurant - Modern Luxury Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #0f0e0d;
  --bg-card: rgba(26, 24, 22, 0.85);
  --bg-card-hover: rgba(36, 33, 30, 0.95);
  --glass-border: rgba(217, 107, 39, 0.18);
  --glass-border-light: rgba(255, 255, 255, 0.08);
  
  --primary-spice: #e06020;
  --primary-glow: rgba(224, 96, 32, 0.4);
  --amber-gold: #f4b236;
  --amber-soft: rgba(244, 178, 54, 0.15);
  --text-main: #f5f2ed;
  --text-muted: #b3a99c;
  --text-dim: #7d7568;
  
  --status-open: #10b981;
  --status-closed: #ef4444;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(224, 96, 32, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
}

section[id], div[id] {
  scroll-margin-top: 90px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(224, 96, 32, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(244, 178, 54, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--amber-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 14, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border-light);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 2px solid var(--amber-gold);
  box-shadow: 0 4px 18px rgba(244, 178, 54, 0.3);
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 25px rgba(224, 96, 32, 0.5);
  border-color: var(--primary-spice);
}

.hero-logo-wrapper {
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.6);
  border: 3px solid var(--amber-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 30px rgba(244, 178, 54, 0.35);
  padding: 4px;
  transition: var(--transition);
}

.hero-logo-img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 40px rgba(224, 96, 32, 0.5);
}

.section-logo-emblem {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--amber-gold);
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.footer-logo-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber-gold);
  box-shadow: 0 4px 15px rgba(244, 178, 54, 0.25);
}

.brand-text h1 {
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--text-main);
}

.brand-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-gold);
  font-weight: 600;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber-gold);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-spice), #c24d15);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(224, 96, 32, 0.5);
  background: linear-gradient(135deg, #eb6c2c, var(--primary-spice));
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--amber-gold);
  color: var(--amber-gold);
  background: rgba(244, 178, 54, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  background: linear-gradient(to right, rgba(15, 14, 13, 0.92) 40%, rgba(15, 14, 13, 0.65)),
              url('images/hero.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 680px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--amber-soft);
  border: 1px solid rgba(244, 178, 54, 0.3);
  border-radius: var(--radius-full);
  color: var(--amber-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  color: var(--amber-gold);
  font-style: italic;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--status-open);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-indicator.closed {
  background: rgba(239, 68, 68, 0.12);
  color: var(--status-closed);
  border-color: rgba(239, 68, 68, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

.status-indicator.closed .pulse-dot {
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Highlights Grid */
.highlights-bar {
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(224, 96, 32, 0.12);
  color: var(--primary-spice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.highlight-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Menu Section */
.menu-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.category-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border-light);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-spice);
  color: #fff;
  border-color: var(--primary-spice);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--amber-gold);
  background: rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* Menu Item Card */
.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #1c1917;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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


.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 14, 13, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-gold);
  border: 1px solid rgba(244, 178, 54, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.35rem;
  color: var(--text-main);
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber-gold);
  white-space: nowrap;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Operating Days & Hours Section */
.hours-section {
  background: linear-gradient(180deg, transparent 0%, rgba(224, 96, 32, 0.03) 50%, transparent 100%);
}

.hours-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hours-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.hours-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border-light);
}

.hours-header h3 {
  font-size: 1.75rem;
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hours-item.today {
  background: rgba(244, 178, 54, 0.1);
  border-left: 4px solid var(--amber-gold);
  font-weight: 600;
}

.hours-day {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-time {
  color: var(--amber-gold);
  font-weight: 500;
}

.location-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(244, 178, 54, 0.12);
  color: var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.info-text p {
  color: var(--text-muted);
  font-size: 1rem;
}

.map-wrapper {
  margin-top: 1rem;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border-light);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(120%);
}

/* Reservation & Footer */
.footer {
  background: #080707;
  border-top: 1px solid var(--glass-border-light);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 360px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--amber-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: var(--transition);
  position: relative;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--amber-gold);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hours-container {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .navbar .container {
    height: 70px;
  }
  .hero {
    padding: 100px 0 40px;
    min-height: auto;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .highlights-bar {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
