/* ============================================================
   GoSeeCharleston – Main Stylesheet
   ============================================================ */

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

:root {
  --navy:    #1a2e4a;
  --gold:    #c8922a;
  --teal:    #2a7f7f;
  --light:   #f5f0e8;
  --white:   #ffffff;
  --gray:    #6b7280;
  --dark:    #111827;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', Arial, sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
}

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--light); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary   { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #a87520; color: var(--white); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: #0f1e33; color: var(--white); }
.btn-outline   { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 46, 74, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(200,146,42,0.25);
}
.nav-links .nav-cta a {
  background: var(--gold);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
}
.nav-links .nav-cta a:hover { background: #a87520; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,40,0.55) 0%, rgba(10,20,40,0.3) 50%, rgba(10,20,40,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,146,42,0.9);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '↓';
  font-size: 1.2rem;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--gold);
}
.stat-item span { font-size: 0.85rem; opacity: 0.8; }

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.16); }
.feature-card img   { width: 100%; height: 220px; object-fit: cover; }
.feature-card-body  { padding: 24px; }
.feature-card-body h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.feature-card-body p  { font-size: 0.92rem; color: var(--gray); margin-bottom: 16px; }
.feature-card-body a  { color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.feature-card-body a:hover { color: var(--navy); }

/* ---------- Why Charleston ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.why-item {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.why-item:hover { transform: translateY(-4px); }
.why-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.why-item h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.why-item p  { font-size: 0.9rem; color: var(--gray); }

/* ---------- Explore Grid ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.explore-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
}
.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.explore-card:hover img { transform: scale(1.07); }
.explore-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}
.explore-card-overlay h3 { font-size: 1.2rem; margin-bottom: 6px; }
.explore-card-overlay p  { font-size: 0.85rem; opacity: 0.85; margin-bottom: 12px; }
.explore-card-overlay a  {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Contest Section ---------- */
.contest-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a7a 100%);
  color: var(--white);
  padding: 80px 0;
}
.contest-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contest-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.2);
}
.contest-form h3 { font-size: 1.6rem; margin-bottom: 8px; }
.contest-form p  { opacity: 0.8; margin-bottom: 28px; font-size: 0.9rem; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; opacity: 0.9; }
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus { border-color: var(--gold); }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: #a87520; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gold);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-banner p  { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }
.cta-banner .btn-outline { border-color: var(--white); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a7a 100%);
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 16px; }
.page-hero p  { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* ---------- Content Sections ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-block-text h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 16px; }
.content-block-text p  { color: var(--gray); margin-bottom: 16px; }
.content-block-text ul {
  list-style: none;
  margin-bottom: 24px;
}
.content-block-text ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--gray);
  font-size: 0.95rem;
}
.content-block-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Info Cards ---------- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.info-card:hover { transform: translateY(-4px); }
.info-card img   { width: 100%; height: 200px; object-fit: cover; }
.info-card-body  { padding: 20px; }
.info-card-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.info-card-body p  { font-size: 0.88rem; color: var(--gray); margin-bottom: 14px; }
.info-card-tag {
  display: inline-block;
  background: var(--light);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px;
    gap: 4px;
  }
  .content-block { grid-template-columns: 1fr; }
  .content-block.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
