/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.main-navigation {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-logo a {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-menu li a:hover {
  color: #ff8c00;
}

/* CTA nav items */
.nav-cta a {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1.5px solid #ccc;
  font-weight: 600;
}

.nav-cta--primary a {
  background: #ff8c00;
  border-color: #ff8c00;
  color: #fff !important;
}

.nav-cta--primary a:hover {
  background: #e07800;
  border-color: #e07800;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animated to X when open */
.nav-hamburger--open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-hamburger--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger--open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 8rem 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-actions .btn-primary {
  background-color: #ff8c00;
  color: #fff;
}

.hero-actions .btn-primary:hover {
  background-color: #ff7a00;
  transform: translateY(-2px);
}

.hero-actions .btn-secondary {
  background-color: #2f8f46;
  color: #fff;
  border: none;
}

.hero-actions .btn-secondary:hover {
  background-color: #277a3b;
  transform: translateY(-2px);
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #ff8c00;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #ff7a00;
  transform: translateY(-2px);
}

/* Discover Section */
.discover-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.discover-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

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

.flower-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.discover-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.discover-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: #fff;
}

.testimonials-section > .container > h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ff8c00;
}

.testimonial-card p {
  line-height: 1.8;
  color: #555;
}

/* Coaching Section */
.coaching-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.coaching-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.coaching-section p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Patreon Section */
.patreon-section {
  padding: 5rem 0;
  background-color: #fff;
  text-align: center;
}

.patreon-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.patreon-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.patreon-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #ff424d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.patreon-link:hover {
  background-color: #e63946;
}

/* Subscription Section */
.subscription-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.subscription-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.subscription-section > .container > p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.subscription-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 250px;
}

.email-input {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  border-color: #ff8c00;
}

.btn-subscribe {
  padding: 1rem 2rem;
  background-color: #ff8c00;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
  background-color: #ff7a00;
}

.flash-notice,
.flash-alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.flash-notice {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-alert {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Social Section */
.social-section {
  padding: 3rem 0;
  background-color: #fff;
  text-align: center;
}

.social-section p {
  font-size: 1.1rem;
  color: #666;
}

/* Footer */
.main-footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.main-footer p {
  margin: 0.5rem 0;
}

.powered-by {
  font-size: 0.9rem;
  color: #999;
}

/* Page Content (for other pages) */
.page-content {
  padding: 5rem 0;
  min-height: 60vh;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.page-content p {
  font-size: 1.1rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Show hamburger, hide menu by default */
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
  }

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

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }

  .nav-cta a,
  .nav-cta--primary a {
    margin: 0.25rem 1rem;
    display: block;
    text-align: center;
    border-radius: 8px;
  }

  .nav-container {
    position: relative;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .discover-content {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .subscription-form {
    flex-direction: column;
  }

  .form-group {
    min-width: 100%;
  }
}
