/* ============================================================
   SNACK BAR DOS PESCADORES — MAIN STYLESHEET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ocean-deep: #030d1a;
  --ocean-dark: #0a1628;
  --ocean-mid: #0c2340;
  --ocean-blue: #0ea5e9;
  --ocean-light: #38bdf8;
  --ocean-foam: #e0f2fe;
  --ocean-teal: #0d9488;
  --sand: #f5e6c8;
  --sand-dark: #e8d5a3;
  --gold: #f59e0b;
  --coral: #e11d48;
  --white: #ffffff;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(14,165,233,0.2);
  --transition: 0.3s ease;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--ocean-deep);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3 {
  font-family: 'Dancing Script', cursive;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.97);
  border-top: 1px solid var(--card-border);
  z-index: 9999;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(110%);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-light);
  min-width: 200px;
}

.cookie-content button {
  background: var(--ocean-blue);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
}

.cookie-content button:hover {
  background: var(--ocean-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 0.7rem 1rem;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  overflow: visible;
}

#navbar.scrolled {
  background: rgba(3, 13, 26, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  overflow: visible;
}

.nav-logo {
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 auto;
}

.nav-links li a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--ocean-blue);
  background: rgba(14,165,233,0.1);
}

.nav-menu-btn {
  background: var(--ocean-blue) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 0.4rem 1rem !important;
}

.nav-menu-btn:hover {
  background: var(--ocean-light) !important;
}

.nav-menu-btn.active {
  background: var(--ocean-teal) !important;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-light);
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.lang-btn img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--ocean-blue);
  border-color: var(--ocean-blue);
  color: white;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: auto;
}

/* Hamburger CSS puro — escondido no desktop */
.hb-label { display: none; }
.hb-panel { display: none; }
.hb-overlay { display: none; }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Botão X para fechar o menu mobile */
.nav-close-item {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(14,165,233,0.15);
  margin-bottom: 0.5rem;
}

.nav-close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: none;
}

.nav-close-btn:hover {
  background: rgba(14,165,233,0.15);
  color: var(--ocean-blue);
}

@media (max-width: 768px) {
  .nav-close-btn {
    display: block;
  }
}

/* Overlay escuro ao abrir o menu mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
}

.nav-overlay.active {
  display: block;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3,13,26,0.75) 0%,
    rgba(10,22,40,0.6) 50%,
    rgba(3,13,26,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-style: italic;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--ocean-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-phrase {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--ocean-blue);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(14,165,233,0.4);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--ocean-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-waves svg {
  width: 100%;
  height: 80px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 6rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.section-title {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.section-title.light {
  color: var(--ocean-foam);
}

.wave-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--ocean-teal));
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.wave-divider::before,
.wave-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--ocean-blue);
  border-radius: 50%;
}

.wave-divider::before { left: -12px; }
.wave-divider::after { right: -12px; }

.wave-divider.light {
  background: linear-gradient(90deg, var(--ocean-light), var(--ocean-foam));
}

.wave-divider.light::before,
.wave-divider.light::after {
  background: var(--ocean-light);
}

/* ============================================================
   SOBRE NÓS
   ============================================================ */

.sobre-section {
  background: linear-gradient(180deg, var(--ocean-dark) 0%, var(--ocean-mid) 100%);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
}

.sobre-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.sobre-img-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--ocean-blue);
  border-radius: calc(var(--radius) + 8px);
  opacity: 0.3;
  pointer-events: none;
}

.sobre-text h3 {
  color: var(--ocean-light);
  margin-bottom: 1.2rem;
}

.sobre-text p {
  margin-bottom: 1rem;
}

.sobre-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ocean-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   ESPLANADA
   ============================================================ */

.esplanada-section {
  background: var(--ocean-deep);
}

.esplanada-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.esplanada-text h3 {
  color: var(--ocean-light);
  margin-bottom: 1.2rem;
}

.esplanada-text p {
  margin-bottom: 1rem;
}

.esplanada-badge {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(13,148,136,0.15));
  border: 1px solid rgba(14,165,233,0.3);
  border-radius: var(--radius-sm);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--ocean-light);
  font-size: 1rem;
  line-height: 1.6;
}

.esplanada-img-wrap {
  position: relative;
}

.esplanada-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.esplanada-img-caption {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   GALERIA
   ============================================================ */

.galeria-section {
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
}

.galeria-tagline {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
}

/* ============================================================
   SLIDESHOW DE PRATOS
   ============================================================ */

.slideshow {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ocean-mid);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

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

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050f1e;
  display: block;
}

/* Botões prev/next */
.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3,13,26,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.slide-prev { left: 1rem; }
.slide-next { right: 1rem; }

.slide-prev:hover,
.slide-next:hover {
  background: rgba(14,165,233,0.5);
  border-color: var(--ocean-blue);
}

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}

.dot.active {
  background: var(--ocean-blue);
  transform: scale(1.25);
}

.dot:hover {
  background: rgba(255,255,255,0.7);
}

/* Link para abrir no Google Maps */
.maps-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--ocean-blue);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(14,165,233,0.4);
  transition: color 0.2s, border-color 0.2s;
}

.maps-link:hover {
  color: var(--ocean-light);
  border-color: var(--ocean-light);
}

/* ============================================================
   PHOTO LIGHTBOX (slideshow)
   ============================================================ */

.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.photo-lightbox.active {
  display: flex;
}

.photo-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
  cursor: default;
  animation: lbFadeIn 0.25s ease;
}

@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.photo-lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.photo-lb-close:hover {
  background: rgba(14,165,233,0.45);
}

/* Cursor pointer nas imagens do slideshow */
.slide img {
  cursor: zoom-in;
}

/* ============================================================
   PAÚL DO MAR
   ============================================================ */

.paulomar-section {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.paulomar-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ocean-mid) 0%, var(--ocean-dark) 100%);
}

.paulomar-inner {
  position: relative;
  z-index: 1;
}

.paulomar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.paulomar-img-wrap {
  position: relative;
}

.paulomar-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.paulomar-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ============================================================
   CONTACTO
   ============================================================ */

.contacto-section {
  background: var(--ocean-deep);
}

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

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
}

.info-card:hover {
  border-color: var(--ocean-blue);
  background: rgba(14,165,233,0.06);
}

.info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--ocean-blue);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean-blue);
  margin-bottom: 0.3rem;
}

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

.info-card a {
  color: var(--ocean-light);
  font-weight: 600;
}

.btn-menu-cta {
  text-align: center;
  margin-top: 0.5rem;
}

.mapa-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ocean-dark);
  border-top: 1px solid rgba(14,165,233,0.15);
  position: relative;
  overflow: hidden;
}

.footer-waves {
  line-height: 0;
}

.footer-waves svg {
  width: 100%;
  height: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  grid-column: 1;
}

.footer-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

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

.footer-links a:hover {
  color: var(--ocean-blue);
}

.footer-contact {
  grid-column: 3;
  text-align: right;
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rogisystem-link {
  color: var(--ocean-blue);
  font-weight: 600;
  transition: color var(--transition);
}

.rogisystem-link:hover {
  color: var(--ocean-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .sobre-grid,
  .esplanada-grid,
  .paulomar-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .esplanada-grid {
    direction: initial;
  }

  .esplanada-text { order: 1; }
  .esplanada-img-wrap { order: 2; }

  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
  }

  .footer-contact {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  /* Sem menu hamburger — navbar com scroll horizontal */
  .nav-toggle { display: none !important; }
  .nav-overlay { display: none !important; }
  .nav-close-item { display: none !important; }

  .nav-inner {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 0.3rem !important;
  }

  .nav-links {
    position: static !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    background: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    pointer-events: all !important;
    list-style: none !important;
    margin: 0 !important;
    border: none !important;
    z-index: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex: 1 1 auto !important;
  }

  .nav-links::-webkit-scrollbar { display: none !important; }

  .nav-links li {
    flex-shrink: 0 !important;
    width: auto !important;
  }

  .nav-links li a {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.45rem !important;
    white-space: nowrap !important;
    display: inline-block !important;
    width: auto !important;
    border-radius: 6px !important;
  }

  .nav-menu-btn {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.72rem !important;
  }

  .lang-switcher {
    margin-left: 0 !important;
    gap: 0.15rem !important;
    flex-shrink: 0 !important;
  }

  .lang-btn {
    padding: 0.2rem 0.3rem !important;
    font-size: 0.6rem !important;
  }

  .lang-btn img {
    width: 12px !important;
    height: 8px !important;
  }

  .logo-text {
    font-size: 0.85rem !important;
    max-width: 85px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-contact {
    grid-column: 1;
    text-align: center;
  }

  .section {
    padding: 4rem 1rem;
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 0.95rem;
    max-width: 110px;
  }

  .lang-btn {
    padding: 0.22rem 0.35rem;
    font-size: 0.65rem;
    gap: 0.15rem;
  }

  .lang-btn img {
    width: 13px;
    height: 9px;
  }

  #navbar {
    padding: 0.6rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
