:root {
  /* Light Theme (Default) */
  --bg-page: #fff5f5; /* Soft pinkish instead of white */
  --bg-header: rgba(255, 245, 245, 0.9);
  --bg-glass: rgba(255, 245, 245, 0.7);
  --bg-card: #fff;
  --text-main: #1e293b;
  --text-dim: #64748b;
  --border: #f1f5f9;
  --border-card: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  
  /* Brand Colors */
  --accent-red: #e57373; 
  --accent-red-glow: rgba(229, 115, 115, 0.3);
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme='dark'] {
  --bg-page: #050816;
  --bg-header: rgba(5, 8, 22, 0.9);
  --bg-glass: rgba(5, 8, 22, 0.7);
  --bg-card: #0f172a;
  --text-main: #f8fafc;
  --text-dim: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.05);
  --border-card: #1e293b;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  --accent-red-glow: rgba(229, 115, 115, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Header */
.main-header {
  padding: 1.2rem 4rem;
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition);
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.garca-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-red);
}

.logo-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-blue);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--accent-red);
  background: var(--bg-page);
  box-shadow: var(--shadow);
}

.search-bar input {
  background: none;
  border: none;
  color: var(--text-main);
  outline: none;
  padding-right: 0.5rem;
  font-size: 0.85rem;
  width: 280px;
}

.search-bar i { color: var(--text-dim); }

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--border);
  transform: rotate(15deg);
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.welcome-text {
  color: var(--accent-red);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.2rem;
  color: var(--text-main);
  transition: color 0.4s ease;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-red);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 420px;
  margin-bottom: 2.5rem;
  transition: color 0.4s ease;
}

.cta-btn {
  background: var(--accent-red);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

/* Map Styling */
.hero-map { position: relative; }
.map-wrapper {
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.map-container { border-radius: 16px; overflow: hidden; position: relative; }
#mapa-img { width: 100%; animation: slow-pan 60s infinite linear alternate; }
@keyframes slow-pan { from { transform: scale(1.4); } to { transform: scale(1.5) translate(-2%, -2%); } }

/* Pins */
.ponto {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 4s infinite ease-in-out;
}

@keyframes float { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -108%); } }

.pin {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.theater .pin { background: var(--accent-blue); }
.museum .pin { background: var(--accent-red); }
.library .pin { background: var(--accent-green); }

.pin-icon { 
  transform: rotate(45deg); 
  color: white !important; 
  width: 22px; 
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pin-icon i { width: 100%; height: 100%; }

.label-container {
  background: var(--bg-page);
  color: var(--text-main);
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  margin-top: 10px;
  border: 1px solid var(--border-card);
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.ponto:hover .pin { 
  transform: rotate(-45deg) scale(1.15); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.ponto:hover .label-container {
  transform: translateY(2px);
  background: var(--accent-red);
  color: white;
  border-color: var(--accent-red);
}

/* Features Bar */
.features-bar {
  background: #ff9f66;
  background: linear-gradient(115deg, #ff9f66 68%, #e65c00 68.1%);
  color: #ffffff !important;
  font-family: 'Rubik', sans-serif !important;
  padding: 2.5rem 0;
  border-top: none;
  margin-top: 2rem;
  transition: var(--transition);
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.features-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; }
.feature-item { display: flex; align-items: center; gap: 1.2rem; cursor: pointer; transition: all 0.4s ease; padding: 15px; border-radius: 16px; }
.feature-icon i { color: #ffffff !important; width: 28px; height: 28px; transition: all 0.4s ease; }
.feature-text strong { display: block; font-size: 0.85rem; color: #ffffff !important; transition: color 0.4s ease; }
.feature-text span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.9) !important; transition: color 0.4s ease; }
.feature-divider { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.25); }

.feature-item:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.feature-item:hover .feature-icon i { transform: scale(1.2) rotate(10deg); }
.feature-item:hover strong { color: #ffffff !important; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
}

.modal-box {
  background: var(--bg-page);
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-size: 1.8rem;
  color: var(--text-main);
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--accent-red);
  transform: scale(1.1);
}

.modal-body {
  margin-bottom: 2rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  gap: 1rem;
}

.action-btn {
  background: var(--accent-red);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-red-glow);
}

.action-btn.outline {
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-main);
}

.action-btn.outline:hover {
  border-color: var(--text-dim);
  background: var(--bg-card);
  box-shadow: none;
}

/* Personalização e Efeitos Premium */
.reveal-up { animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.reveal-down { animation: fade-in-down 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.reveal-left { animation: fade-in-left 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.reveal-right { animation: fade-in-right 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }

@keyframes fade-in-up { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fade-in-down { from { transform: translateY(-40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fade-in-left { from { transform: translateX(-60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fade-in-right { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Scroll Progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(to right, var(--accent-red), var(--accent-blue)); z-index: 1001; width: 0%; transition: width 0.1s ease; }

/* Animated Title */
.hero-title {
  background: linear-gradient(135deg, #ff9f66 30%, #e65c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-shift 5s ease infinite;
}
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.cta-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--accent-red-glow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-btn::after {
  content: ''; position: absolute; top: -50%; left: -100%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg); transition: 0.8s;
}
.cta-btn:hover::after { left: 100%; }
.cta-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 30px var(--accent-red-glow); }

/* Responsive Design */
@media (max-width: 1024px) {
  .main-header {
    padding: 1rem 2rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-map {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .map-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .hero-title {
    font-size: 5rem;
  }
  .hero-description {
    margin: 0 0 2rem;
  }
  .features-container {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .feature-item {
    width: calc(50% - 1.5rem);
    justify-content: flex-start;
  }
  .feature-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 1rem;
  }
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-container {
    padding: 0 1.5rem;
  }
  .hero-section {
    padding-top: 110px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .welcome-text {
    font-size: 1rem;
  }
  .feature-item {
    width: 100%;
    justify-content: flex-start;
  }
  .modal-box {
    padding: 1.5rem;
  }
  .modal-header h2 {
    font-size: 1.5rem;
  }
  .ponto .pin {
    width: 30px;
    height: 30px;
  }
  .ponto .pin-icon {
    width: 16px;
    height: 16px;
  }
  .ponto .label-container {
    font-size: 0.7rem;
    padding: 4px 8px;
    margin-top: 6px;
  }
}

/* Dropdown Menu CSS */
.nav-item-dropdown { position: relative; display: inline-block; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px); background: #ffffff; min-width: 220px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-radius: 12px; padding: 10px 0; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1001; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 340px; padding: 10px; }
.dropdown-menu::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: #ffffff; }
.nav-item-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(10px); }
.dropdown-item { padding: 10px 15px; color: #475569; white-space: nowrap; text-decoration: none; font-weight: 500; font-family: 'Rubik', sans-serif; transition: background 0.2s, color 0.2s; font-size: 0.95rem; display: flex; align-items: center; gap: 12px; }
.dropdown-item:hover { background: #f8fafc; color: #ff716e; }
.dropdown-item i { transition: transform 0.2s; }
.dropdown-item:hover i { transform: scale(1.1); color: #ff716e; }

/* ForÃ§ando a fonte Rubik em todos os textos do site */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li {
  font-family: 'Rubik', sans-serif;
}



/* =========================================
   Gallery Lightbox (Carrossel de Imagens)
========================================= */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    user-select: none;
    transition: opacity 0.2s;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    transition: background 0.3s;
    z-index: 2;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    transition: all 0.3s;
    z-index: 2;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 2px;
}
@media (max-width: 1024px) {
    .lightbox-close { top: -40px; right: 0; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* Menu Mobile Sidebar Premium */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 100px 2.5rem 2rem 2.5rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 1003;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: #ff716e;
  transform: translateX(10px);
  border-bottom-color: rgba(255, 113, 110, 0.5);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-btn-mapa { background-color: #f8fafc; border: 1px solid #e2e8f0; color: #1e293b; }
.mobile-btn-login { border: 1px solid #e2e8f0; color: #475569; }
.mobile-btn-cadastro { background: linear-gradient(135deg, #ff9f66 0%, #ff716e 100%); color: white; box-shadow: 0 4px 15px rgba(255, 113, 110, 0.3); }

.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1002;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.menu-overlay.active { display: block; opacity: 1; }


.hamburger {
  display: none;
  background: none;
  border: none;
  color: #1e293b;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease;
}

.hamburger:active {
  transform: scale(0.9);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

@media (max-width: 992px) {
  .hamburger { display: block; }
  .nav-menu { display: none !important; }
  .desktop-nav-actions { display: none !important; }
  .map-text { display: none !important; }
}

/* General Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
    gap: 1.75rem;
    text-align: left;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }
  .hero-divider {
    margin: 0 0 1.25rem 0;
  }
  .hero-description {
    margin: 0 0 1.75rem 0;
    max-width: 100%;
    text-align: left;
  }
  .cta-btn {
    margin: 0;
    align-self: flex-start;
  }
  .hero-map {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .map-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .main-header {
    padding: 1rem 1.5rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .btn-login, .btn-cadastro {
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
  }
  .search-bar {
    display: none; /* Hide search bar on small mobile, use icon instead if needed */
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 100px;
    min-height: auto;
  }
  .hero-container {
    padding: 0 1rem;
    gap: 1.5rem;
  }
  .welcome-text {
    font-size: 0.95rem;
  }
  .cta-btn {
    padding: 0.9rem 1.4rem;
    font-size: 0.9rem;
  }
  .map-wrapper {
    max-width: 100%;
    border-radius: 18px;
  }
}

@media (max-width: 992px) {
  .desktop-nav-actions {
    display: none !important;
  }
}
