/* ==========================================================================
   RIO CAFÉ BAR EMMENBRÜCKE - STYLESHEET
   Clean, Calm, High-End & 100% Robust Responsive Design
   Brand Colors: Deep Black (#000000), Rio Red (#f81117), Rio Green (#00c03f)
   ========================================================================== */

:root {
  --bg-main: #000000;
  --bg-surface: #0a0a0c;
  --bg-surface-elevated: #111316;
  
  --brand-red: #f81117;
  --brand-red-hover: #dc2626;

  --brand-green: #00c03f;
  --brand-green-hover: #16a34a;

  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #8e9cae;
  
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.25);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: #000000;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

body.nav-locked {
  overflow: hidden !important;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* ==========================================================================
   CLEAN MINIMAL NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: block;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-red);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Mobile Toggle Icon */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   FULLSCREEN ROBUST MOBILE NAVIGATION OVERLAY
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 36px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav-logo {
  height: 52px;
  width: auto;
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.mobile-link {
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  display: block;
  padding: 8px 0;
}

.mobile-link:hover, .mobile-link:active {
  color: var(--brand-red);
}

.mobile-nav-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.mobile-call-link {
  display: inline-block;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 6px;
}

/* ==========================================================================
   BUTTONS (Only 2 Authentic Brand Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-red {
  background-color: var(--brand-red);
  color: #ffffff;
}

.btn-red:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-1px);
}

.btn-green {
  background-color: var(--brand-green);
  color: #ffffff;
}

.btn-green:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION (Spacious, Clean & Iconic Diagonal Cut)
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(500px, 75vh, 720px);
  display: flex;
  align-items: center;
  background-color: #000000;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 12vw, 140px);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) contrast(1.05);
}

/* Diagonal angular cut from old website */
.hero-diagonal-svg {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(60px, 9vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.hero-subtitle-intro {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTIONS (Spacious, Minimal & High Contrast)
   ========================================================================== */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  background-color: #000000;
}

.section-h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.image-rounded-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.image-rounded-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-body-text {
  font-size: 1.08rem;
  color: #ffffff;
  line-height: 1.7;
}

.section-body-text p {
  margin-bottom: 14px;
}

.section-body-text p:last-child {
  margin-bottom: 0;
}

/* Feature list (clean text, no neon pills) */
.feature-list-simple {
  margin-top: 24px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.feature-list-simple li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list-simple svg {
  color: var(--brand-green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   ÖFFNUNGSZEITEN TABLE (Authentic, Clean, Calm)
   ========================================================================== */
.hours-table-styled {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.hours-table-styled tr {
  border-top: 2px solid #ffffff;
}

.hours-table-styled tr:last-child {
  border-bottom: 2px solid #ffffff;
}

.hours-table-styled td {
  padding: 16px 12px;
  color: #ffffff;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hours-table-styled tr.is-today td {
  color: var(--brand-green);
  font-weight: 700;
}

.today-tag {
  display: inline-block;
  background: var(--brand-green);
  color: #000000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  text-transform: uppercase;
}

.hours-status-text {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hours-status-text .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--brand-red);
}

.hours-status-text .status-dot.open {
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

.hours-status-text .status-dot.closed {
  background: var(--brand-red);
  box-shadow: 0 0 8px var(--brand-red);
}


/* ==========================================================================
   GALLERY (Clean 2-column Grid for 4 Real Photos)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION
   ========================================================================== */
.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.reviews-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.reviews-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.reviews-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-author {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.review-source {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MAP & CONTACT
   ========================================================================== */
.map-embed-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-top: 20px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: clamp(280px, 40vh, 400px);
  display: block;
}

.contact-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-simple strong {
  display: block;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-simple p {
  color: var(--text-muted);
}

.contact-simple a {
  color: var(--brand-red);
  font-weight: 700;
}

.contact-simple a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-styled {
  background-color: #000000;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  text-align: center;
  color: #ffffff;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social-row a {
  color: #ffffff;
  display: inline-flex;
  padding: 8px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.footer-social-row a:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.footer-address-block {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   LIGHTBOX & LEGAL MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-box {
  background: #0d0f15;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #000000;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
}

.lightbox-box {
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  border: none;
  padding: 0;
}

.lightbox-box img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .order-mobile-first {
    order: -1;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
}
