/* ============================================================
   Minnesota Travel – Main Stylesheet
   Domain: minnesota.in
   ============================================================ */

/* ---------- CSS Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-white:       #ffffff;
  --clr-off-white:   #f8f7f4;
  --clr-cream:       #f2efe8;
  --clr-sand:        #e8e2d5;
  --clr-taupe:       #c9bfae;
  --clr-dark:        #1e2a38;
  --clr-mid:         #4a5568;
  --clr-muted:       #718096;
  --clr-accent:      #2b6cb0;
  --clr-accent-dk:   #1a4a82;
  --clr-accent-lt:   #ebf4ff;
  --clr-gold:        #d69e2e;
  --clr-green:       #276749;
  --clr-border:      #e2ddd5;

  --font-heading:    'Georgia', 'Times New Roman', serif;
  --font-body:       'Segoe UI', Arial, sans-serif;

  --shadow-sm:  0 1px 4px rgba(30,42,56,.08);
  --shadow-md:  0 4px 16px rgba(30,42,56,.12);
  --shadow-lg:  0 8px 32px rgba(30,42,56,.16);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --max-w:      1200px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--clr-dark);
  background-color: var(--clr-off-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-dk); }

ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--clr-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1.25rem; color: var(--clr-mid); }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Utilities ---------- */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.section   { padding: 80px 0; }
.section-alt { background-color: var(--clr-cream); }
.section-sand { background-color: var(--clr-sand); }
.section-white { background-color: var(--clr-white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { max-width: 620px; margin-inline: auto; font-size: 1.1rem; }

.divider {
  width: 64px; height: 4px;
  background: var(--clr-gold);
  border-radius: 2px;
  margin: 1rem auto 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.btn-primary:hover { background: var(--clr-accent-dk); border-color: var(--clr-accent-dk); color: #fff; }
.btn-outline { background: transparent; color: var(--clr-accent); border-color: var(--clr-accent); }
.btn-outline:hover { background: var(--clr-accent); color: #fff; }
.btn-white { background: #fff; color: var(--clr-accent); border-color: #fff; }
.btn-white:hover { background: var(--clr-accent-lt); color: var(--clr-accent-dk); }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 700;
  color: var(--clr-dark);
  text-decoration: none;
}
.nav-logo:hover { color: var(--clr-accent); }
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav-links a {
  font-size: .92rem; font-weight: 600;
  color: var(--clr-mid);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--clr-accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--clr-border);
  padding: 1rem 1.5rem 1.5rem;
  gap: .75rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; font-weight: 600; color: var(--clr-mid); padding: .5rem 0; border-bottom: 1px solid var(--clr-border); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active, .nav-mobile a:hover { color: var(--clr-accent); }

/* Page offset for fixed nav */
main { padding-top: 70px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,35,55,.72) 0%, rgba(30,42,56,.40) 60%, rgba(0,0,0,.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: 5rem 0;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 2rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero-content h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hero-content p  { color: rgba(255,255,255,.88); font-size: 1.15rem; margin-bottom: 2rem; max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
}
.hero-scroll span {
  display: block; color: rgba(255,255,255,.7); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem;
}
.scroll-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 230px; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.card-body p  { font-size: .92rem; margin-bottom: 1rem; }
.card-tag {
  display: inline-block;
  background: var(--clr-accent-lt);
  color: var(--clr-accent);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 2rem;
  margin-bottom: .75rem;
}

/* ---------- Info Boxes ---------- */
.info-box {
  background: var(--clr-white);
  border-left: 4px solid var(--clr-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}
.info-box.gold  { border-left-color: var(--clr-gold); }
.info-box.green { border-left-color: var(--clr-green); }
.info-box h4    { margin-bottom: .4rem; color: var(--clr-dark); }
.info-box p     { margin: 0; font-size: .95rem; }

/* ---------- Stats Strip ---------- */
.stats-strip { background: var(--clr-accent); padding: 3rem 0; }
.stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat-item .stat-num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: #fff; }
.stat-item .stat-label { color: rgba(255,255,255,.8); font-size: .88rem; margin-top: .25rem; }

/* ---------- Image-Text Splits ---------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.split-section.reverse .split-img { order: 2; }
.split-section.reverse .split-text { order: 1; }
.split-img img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; max-height: 420px; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p  { margin-bottom: 1.25rem; }
.split-text ul { list-style: disc; padding-left: 1.25rem; }
.split-text ul li { margin-bottom: .5rem; color: var(--clr-mid); font-size: .95rem; }

/* ---------- Feature Icons ---------- */
.feature-icon {
  width: 56px; height: 56px;
  background: var(--clr-accent-lt);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  flex-shrink: 0;
}
.feature-card { background: var(--clr-white); padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--clr-cream);
  border-bottom: 1px solid var(--clr-border);
  padding: .75rem 0;
}
.breadcrumb-list { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.breadcrumb-list li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--clr-muted); }
.breadcrumb-list li::after { content: '›'; }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list a { color: var(--clr-accent); }
.breadcrumb-list span { color: var(--clr-dark); font-weight: 600; }

/* ---------- Inner Page Hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  height: 480px;
  display: flex; align-items: flex-end;
  padding-bottom: 3rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,35,55,.85) 0%, rgba(20,35,55,.3) 60%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 { color: #fff; margin-bottom: .75rem; }
.page-hero-content p  { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; }

/* ---------- Long-form text ---------- */
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose p  { line-height: 1.85; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul li { margin-bottom: .5rem; color: var(--clr-mid); }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol li { margin-bottom: .5rem; color: var(--clr-mid); }
.prose blockquote {
  border-left: 4px solid var(--clr-gold);
  background: var(--clr-cream);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p { font-style: italic; font-size: 1.05rem; margin: 0; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
thead { background: var(--clr-accent); color: #fff; }
thead th { padding: .85rem 1rem; text-align: left; font-weight: 600; }
tbody tr:nth-child(even) { background: var(--clr-cream); }
tbody tr { border-bottom: 1px solid var(--clr-border); }
tbody td { padding: .85rem 1rem; color: var(--clr-mid); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.75);
}
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-name { font-family: var(--font-heading); font-size: 1.4rem; color: #fff; margin-bottom: .75rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom { padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }
.footer-email-reveal { cursor: pointer; color: rgba(255,255,255,.7); border-bottom: 1px dotted rgba(255,255,255,.4); transition: color var(--transition); background: none; border-top: none; border-left: none; border-right: none; font-size: .85rem; font-family: inherit; }
.footer-email-reveal:hover { color: #fff; }

/* Cookie banner */
.cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(30,42,56,.97);
  color: rgba(255,255,255,.88);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .88rem;
  border-top: 3px solid var(--clr-accent);
  backdrop-filter: blur(4px);
  transform: translateY(0);
  transition: transform .4s ease;
}
.cookie-notice.hidden { transform: translateY(110%); }
.cookie-notice p { margin: 0; max-width: 700px; }
.cookie-notice p a { color: var(--clr-gold); }
.cookie-notice .cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-accept, .cookie-decline {
  padding: .45rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.cookie-accept { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.cookie-accept:hover { background: var(--clr-accent-dk); }
.cookie-decline { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.3); }
.cookie-decline:hover { border-color: rgba(255,255,255,.7); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse .split-img,
  .split-section.reverse .split-text { order: unset; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: 80vh; }
  .page-hero { height: 360px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .grid-4 { grid-template-columns: 1fr; }
}
