/* BMW Motorcycles of Miami Reviews - Main Stylesheet */

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

:root {
  --primary: #111827;
  --primary-light: #1f2937;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --blue-dark: #1d4ed8;
  --gold: #f59e0b;
  --text: #111827;
  --text-secondary: #4b5563;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-warm: #fafaf9;
  --bg-cool: #f8fafc;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   DISCLAIMER BANNER
   ============================================ */
.disclaimer-banner {
  background: #fef9c3;
  border-bottom: 1px solid #fde047;
  padding: 8px 20px;
  font-size: 12px;
  text-align: center;
  color: #92400e;
}

.disclaimer-banner strong { font-weight: 700; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.site-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.site-title a { color: #fff; text-decoration: none; border: none; }
.site-title a:visited { color: #fff; }
.site-title a:hover { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

nav li { margin: 0; }

nav a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 20px 12px;
  display: block;
  border: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav a:visited { color: #d1d5db; }
nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav a.active { color: #fff; background: rgba(255,255,255,0.1); box-shadow: inset 0 -2px 0 var(--gold); }

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 60px;
  min-height: 60vh;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #111827 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
  padding: 48px 24px;
  margin: -48px -24px 48px;
  border-bottom: 3px solid #f59e0b;
  border-radius: 0;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.5px;
}

.page-hero .subtitle {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h2 {
  position: relative;
  padding-top: 32px;
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text);
  letter-spacing: -0.3px;
}

h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
}

h2:first-of-type { padding-top: 0; }
h2:first-of-type::before { display: none; }

h3 {
  background: #f8fafc;
  margin: 32px -24px 0;
  padding: 20px 24px 0;
  border-top: 1px solid #e5e7eb;
  border-left: 4px solid #dc2626;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

h3:first-of-type { border-top: none; margin-top: 0; }

main > h3 + img {
  margin-left: 0;
  margin-top: 12px;
}

main > h3 + img + p,
main > h3 + p {
  background: #f8fafc;
  margin: 0 -24px;
  padding: 0 24px 20px;
  border-left: 4px solid #dc2626;
}

p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}

a:hover { border-bottom-color: var(--blue); }
a:visited { color: #7c3aed; }

strong { color: var(--text); }

/* ============================================
   LISTS
   ============================================ */
ul, ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text-secondary);
}

li strong { color: var(--text); }
li a { font-weight: 500; }
li a strong, li strong a {
  color: #2563eb;
  transition: color 0.15s;
}
li a strong:hover, li strong a:hover {
  color: #1d4ed8;
}

/* ============================================
   REVIEW SCREENSHOTS
   ============================================ */
.review-screenshot {
  max-width: 100%;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 12px 0 20px;
  box-shadow: var(--shadow);
  display: block;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  margin-top: 32px;
  background: var(--bg-cool);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.faq-question {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 15px;
}

/* ============================================
   INFO & WARNING BOXES
   ============================================ */
.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.warning-box {
  background: #fef3c7;
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================
   FORM STYLES
   ============================================ */
form {
  background: var(--bg-cool);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-width: 640px;
}

.form-group { margin-bottom: 24px; }

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.5;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

textarea { resize: vertical; min-height: 120px; }

button {
  background: var(--blue);
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover { background: var(--blue-dark); }

/* ============================================
   BLOCKQUOTES
   ============================================ */
blockquote {
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  margin: 0 0 20px;
  background: var(--bg-cool);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--primary);
  color: #9ca3af;
  padding: 48px 24px 24px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-column h3 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column ul li { margin-bottom: 8px; }

.footer-column a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  border: none;
  transition: color 0.15s;
}

.footer-column a:visited { color: #9ca3af; }
.footer-column a:hover { color: #fff; }

.footer-divider {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

/* ============================================
   RESPONSIVE: TABLET (768px)
   ============================================ */
@media (max-width: 1024px) {
  nav a { padding: 16px 8px; font-size: 12px; }
  .site-title { font-size: 13px; }
}

@media (max-width: 768px) {
  /* Hamburger visible */
  .nav-toggle { display: block; }

  .header-container {
    padding: 0 16px;
    min-height: 56px;
  }

  .site-title { font-size: 13px; letter-spacing: 1px; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-top: 1px solid #374151;
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    padding: 8px 0;
  }

  nav a {
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid #1f2937;
  }

  nav a.active {
    box-shadow: inset 3px 0 0 var(--gold);
    background: rgba(255,255,255,0.05);
  }

  /* Content */
  main { padding: 32px 16px 48px; }

  .page-hero { margin: -32px -16px 32px; padding: 32px 16px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .subtitle { font-size: 16px; }

  h2 { font-size: 22px; margin-top: 36px; }
  h3 { font-size: 16px; }

  .faq-section { padding: 20px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  footer { padding: 36px 16px 20px; margin-top: 48px; }
}

/* ============================================
   RESPONSIVE: MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
  .page-hero { margin: -32px -16px 24px; padding: 24px 16px; }
  .page-hero h1 { font-size: 22px; line-height: 1.2; }
  .page-hero .subtitle { font-size: 15px; }

  h2 { font-size: 20px; }
  h3 { font-size: 15px; }
  p { font-size: 15px; }

  .disclaimer-banner { font-size: 12px; padding: 8px 12px; }

  .faq-section { padding: 16px; }
  .faq-question { font-size: 15px; }
  .faq-answer { font-size: 14px; }

  form { padding: 16px; }

  ul, ol { margin-left: 16px; }
  li { font-size: 15px; }
}
