/* ============================================
   Second Chance Channel — MVP Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  --primary: #1F3142;
  --secondary: #F7F3EC;
  --accent: #C68A3A;
  --text: #2B2B2B;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  background: var(--secondary);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Utility --- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(31, 49, 66, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-img {
  height: 120px;
  width: auto;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  margin-bottom: 0.75rem;
}

.nav-tiktok {
  color: var(--secondary);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 24px;
}

.nav-tiktok:hover {
  opacity: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 49, 66, 0.97) 0%,
    rgba(31, 49, 66, 0.85) 50%,
    rgba(198, 138, 58, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #b37a2f;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid rgba(247, 243, 236, 0.3);
}

.btn-secondary:hover {
  border-color: rgba(247, 243, 236, 0.6);
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.3;
}

.section-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-light {
  background: var(--secondary);
}

.section-light h2 {
  color: var(--primary);
}

.section-dark {
  background: var(--primary);
  color: var(--secondary);
}

.section-dark h2 {
  color: var(--secondary);
}

.section-dark p {
  color: rgba(247, 243, 236, 0.85);
}

.section-accent {
  background: linear-gradient(135deg, var(--primary) 0%, #2a4358 100%);
  color: var(--secondary);
}

.section-accent h2 {
  color: var(--secondary);
}

.section-accent p {
  color: rgba(247, 243, 236, 0.85);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 16px;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-link span {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 40px auto;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  background: rgba(247, 243, 236, 0.08);
  border: 1px solid rgba(247, 243, 236, 0.15);
  border-radius: 4px;
  color: var(--secondary);
  transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 243, 236, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  margin-bottom: 16px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

.contact-email {
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.6);
}

.contact-email a {
  color: var(--accent);
  transition: opacity 0.3s ease;
}

.contact-email a:hover {
  opacity: 0.8;
}

/* --- Footer --- */
.footer {
  background: #17252f;
  color: var(--secondary);
  padding: 48px 0;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.6;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-tiktok {
    margin-left: auto;
    margin-right: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(31, 49, 66, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .section {
    padding: 72px 0;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
