/* Trumpelo Styles - Warm, Natural, Approachable */

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

:root {
  /* Color Palette - Warm brass and natural tones */
  --brass-dark: #8B5E3C;
  --brass-medium: #A67C52;
  --brass-light: #D4A574;
  --terracotta: #C17A5E;
  --cream: #FAF7F2;
  --ivory: #F5F1E8;
  --warm-white: #FFFCF7;
  --text-dark: #3A2F26;
  --text-medium: #6B5D52;
  --text-light: #9B8E7F;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(139, 94, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(139, 94, 60, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 94, 60, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--warm-white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: var(--brass-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brass-medium);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 94, 60, 0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brass-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--brass-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--brass-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    padding: 1rem 1.5rem;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Section Spacing */
section {
  padding: 5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--ivory) 100%);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('./images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--brass-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
    min-height: auto;
  }
  
  .hero::before {
    width: 100%;
    opacity: 0.08;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--brass-dark);
  color: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--brass-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--warm-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--brass-dark);
  border: 2px solid var(--brass-dark);
}

.btn-secondary:hover {
  background-color: var(--brass-dark);
  color: var(--warm-white);
}

@media (max-width: 768px) {
  .btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
  }
}

/* Who It's For Section */
.who-for {
  background-color: var(--cream);
}

.who-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.who-for-card {
  background-color: var(--warm-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.who-for-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.who-for-card h3 {
  color: var(--brass-dark);
  margin-bottom: 1rem;
}

.who-for-card p {
  font-size: 1.05rem;
}

/* Course Format Section */
.course-format {
  background-color: var(--warm-white);
}

.format-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.format-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.format-image img {
  width: 100%;
  height: auto;
  display: block;
}

.format-details h3 {
  color: var(--brass-dark);
  margin-bottom: 1.5rem;
}

.format-list {
  list-style: none;
  margin-top: 2rem;
}

.format-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-medium);
  border-bottom: 1px solid var(--ivory);
}

.format-list li:last-child {
  border-bottom: none;
}

.format-list li::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--brass-medium);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .format-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .format-image {
    order: -1;
  }
}

/* Learning Process Section */
.learning-process {
  background-color: var(--ivory);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.process-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.process-steps {
  counter-reset: step-counter;
}

.process-step {
  padding: 1.5rem 0;
  padding-left: 4rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.process-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--brass-dark);
  color: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: Georgia, serif;
}

.process-step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Results Section */
.results {
  background-color: var(--warm-white);
}

.results-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.results-list {
  list-style: none;
}

.results-list li {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background-color: var(--cream);
  border-radius: 10px;
  border-left: 4px solid var(--brass-medium);
  font-size: 1.05rem;
  color: var(--text-medium);
}

.results-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .results-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Teacher Section */
.teacher {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
}

.teacher-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.teacher-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.teacher-bio h3 {
  color: var(--brass-dark);
  margin-bottom: 1.5rem;
}

.teacher-bio p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .teacher-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* FAQ Section */
.faq {
  background-color: var(--warm-white);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--cream);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Georgia, serif;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--brass-dark);
}

.faq-question::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--brass-medium);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Lead Form Section */
.lead-form-section {
  background: linear-gradient(135deg, var(--brass-dark) 0%, var(--brass-medium) 100%);
  color: var(--warm-white);
}

.lead-form-section h2,
.lead-form-section p {
  color: var(--warm-white);
}

.lead-form-section p {
  opacity: 0.95;
}

.form-container {
  max-width: 600px;
  margin: 3rem auto 0;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--warm-white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--warm-white);
}

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

.form-error {
  color: #FFD700;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.form-error.active {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.1rem;
  background-color: var(--warm-white);
  color: var(--brass-dark);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.form-submit:hover {
  background-color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .form-container {
    padding: 2rem 1.5rem;
  }
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.75rem;
  color: var(--brass-light);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-light);
  line-height: 1.8;
}

.footer-links h4 {
  color: var(--brass-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--brass-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-legal {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--cream);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-banner.active {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: var(--cream);
  margin: 0;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--brass-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--brass-medium);
  color: var(--warm-white);
}

.cookie-btn-accept:hover {
  background-color: var(--brass-light);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-actions {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
  }
}

/* Legal Pages Styles */
.legal-page {
  padding-top: 8rem;
  min-height: 100vh;
  background-color: var(--warm-white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.legal-content h1 {
  margin-bottom: 1rem;
}

.legal-content .meta {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.legal-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-content ul li {
  margin-bottom: 0.75rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--brass-dark);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.back-link:hover {
  gap: 0.75rem;
}

/* Success Page */
.success-page {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--ivory) 100%);
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: 3rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--brass-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: var(--warm-white);
}

.success-content h1 {
  margin-bottom: 1.5rem;
}

.success-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
