/* =========================================================
   GLOBAL STYLES — Dominican To Do
   Diseñado para ser el CSS base del proyecto.
   Solo contiene estructura general, header, footer,
   tipografía, resets y responsive global.
========================================================= */


/* =========================================================
   RESET + TIPOGRAFÍA BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* CONTENEDORES GLOBALES */
.section-container,
.dt-header-inner,
.dt-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}


/* =========================================================
   HEADER GLOBAL
========================================================= */

.dt-header {
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: 0.3s ease;
}

.dt-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.dt-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
}

.dt-logo-mark {
  background: #0055ff;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.dt-logo-text {
  font-size: 1.06rem;
}

/* NAV DESKTOP */
.dt-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.dt-nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: 0.2s ease;
}

.dt-nav a:hover {
  color: #0055ff;
}

/* BOTÓN MI VIAJE */
.dt-nav-fav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff3ce;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid #ffe398;
}

.dt-nav-fav i {
  color: #e2a500;
}


/* =========================================================
   SELECTOR DE IDIOMA (DESKTOP)
========================================================= */

.dt-lang-selector {
  position: relative;
}

.dt-lang-btn {
  background: #e9efff;
  color: #0055ff;
  border: 1px solid #c5d6ff;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dt-lang-btn:hover {
  background: #dce7ff;
}

.dt-lang-menu {
  position: absolute;
  top: 42px;
  right: 0;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  display: none;
  flex-direction: column;
  width: 150px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  z-index: 99999;
}

.dt-lang-selector.open .dt-lang-menu {
  display: flex;
}

.dt-lang-menu button {
  background: none;
  border: none;
  padding: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 0.85rem;
  color: #1a1a1a;
  border-radius: 6px;
}

.dt-lang-menu button:hover {
  background: #eef3ff;
}


/* =========================================================
   NAV MOBILE
========================================================= */

.dt-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.dt-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  background: #ffffff;
  border-top: 1px solid #eee;
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.dt-nav-mobile a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 1rem;
}

/* IDIOMA EN MOBILE */
.dt-lang-mobile {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.dt-lang-mobile button {
  padding: 8px 14px;
  background: #eef3ff;
  border: 1px solid #ccd9ff;
  border-radius: 8px;
  cursor: pointer;
}

.dt-nav-mobile.active {
  display: flex;
}


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

.dt-footer {
  background: #f3f6fc;
  padding: 50px 0 25px;
  margin-top: 80px;
}

.dt-footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.dt-footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-title {
  font-weight: 700;
}

.dt-footer-cols {
  display: flex;
  gap: 60px;
}

.dt-footer-cols a {
  display: block;
  margin-top: 6px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.dt-footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #777;
}


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

@media(max-width: 880px){
  .dt-nav { display: none; }
  .dt-nav-toggle { display: block; }
  .dt-nav-mobile.active { display: flex; }
}
