/* RST Blog — Rent A Scooter Tulum */
/* Matching Main Site: Teal, Coral, Sand */

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

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #134e4a;
  --teal-light: #5eead4;
  --coral: #f4845f;
  --coral-dark: #e8734e;
  --sand: #faf7f2;
  --sand-dark: #f0ebe3;
  --warm: #fefcf9;
  --white: #ffffff;
  --text: #1a2e35;
  --text-mid: #3d5a63;
  --text-light: #6b8a93;
  --text-muted: #8fa8b0;
  --border: rgba(13,148,136,0.15);
  --whatsapp: #25D366;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

body {
  font-family: var(--sans);
  line-height: 1.85;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV BAR ===== */
.nav {
  background: var(--white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-text {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.nav-logo-text span { color: var(--teal); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s;
  border: none !important;
}
.nav-cta:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244,132,95,0.3);
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: var(--teal); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.active { display: flex; }
}

/* ===== HERO (Index page) ===== */
.hero {
  background: linear-gradient(165deg, var(--teal-deep) 0%, #0f766e 50%, var(--teal) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 30px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(94,234,212,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 3.4rem;
  margin-bottom: 20px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.5px;
  position: relative;
}
.hero h1 span { color: var(--teal-light); font-style: italic; }
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 35px;
  font-weight: 300;
  letter-spacing: 0.3px;
  line-height: 1.8;
  position: relative;
}
.hero-cta {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 16px 45px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.4s;
  position: relative;
}
.hero-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244,132,95,0.3);
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 60px 20px 50px; }
  .hero-cta { padding: 14px 30px; font-size: 0.85rem; }
}

/* ===== BLOG INDEX ===== */
.section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 55px 0 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 35px;
}
.post-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.post-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  border-color: var(--border);
}
.post-card:hover::after { opacity: 1; }
.post-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.45;
  font-weight: 400;
}
.post-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.post-card h3 a:hover { color: var(--teal); }
.post-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.6;
  font-weight: 300;
}
.tag {
  display: inline-block;
  background: rgba(13,148,136,0.08);
  color: var(--teal);
  font-size: 0.7rem;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== BLOG POST ===== */
.post-header {
  background: linear-gradient(165deg, var(--teal-deep) 0%, #0f766e 50%, var(--teal) 100%);
  color: #fff;
  padding: 65px 30px 50px;
  text-align: center;
  position: relative;
}
.post-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(94,234,212,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.post-header h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  max-width: 800px;
  margin: 0 auto 18px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.3px;
  position: relative;
}
.post-meta {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  position: relative;
}
.post-meta a { color: var(--teal-light); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .post-header h1 { font-size: 1.8rem; }
  .post-header { padding: 40px 20px 30px; }
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 50px 25px 70px;
  background: #fff;
}
.post-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 50px 0 18px;
  color: var(--text);
  padding-top: 15px;
  font-weight: 400;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 30px 0 12px;
  color: var(--text);
  font-weight: 400;
}
.post-body p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.9;
}
.post-body a { color: var(--teal); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--border); transition: all 0.2s; }
.post-body a:hover { border-bottom-color: var(--teal); }
.post-body ul, .post-body ol {
  margin: 18px 0 22px 25px;
}
.post-body li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  position: relative;
}
.breadcrumb a { color: var(--teal-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Highlight box */
.highlight {
  background: rgba(13,148,136,0.04);
  border-left: 3px solid var(--teal);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
}

/* CTA Box */
.cta-box {
  background: var(--teal-deep);
  color: #fff;
  border-radius: 16px;
  padding: 50px 40px;
  margin: 55px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(94,234,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 400;
  position: relative;
}
.cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 25px;
  font-weight: 300;
  position: relative;
}
.cta-button {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 16px 45px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.4s;
  position: relative;
}
.cta-button:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244,132,95,0.3);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 30px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--teal-deep);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 50px 30px;
  margin-top: 0;
}
.footer a { color: var(--teal-light); text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--white); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 18px; }

/* ===== SUBTLE DIVIDER ===== */
.divider {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto 30px;
  opacity: 0.5;
  border-radius: 1px;
}

/* ===== SMOOTH SCROLL ===== */
html { scroll-behavior: smooth; }

/* ===== SELECTION ===== */
::selection {
  background: var(--teal);
  color: var(--white);
}
