/* Nouvel Écho Pro - Main Stylesheet */

:root {
  /* Color Palette */
  --indigo: #2C2A4A;        /* Main background */
  --mandarin: #FF6F3C;      /* Accent elements, buttons */
  --gray-mist: #E5E5E5;     /* Section backgrounds */
  --soft-gold: #FFD93D;     /* Decorative elements, icons */
  --coal-gray: #1A1A1A;     /* Headings and footer text */
  --white: #FFFFFF;         /* Text on dark backgrounds */

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--coal-gray);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--mandarin);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

a {
  color: var(--mandarin);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--indigo);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: clamp(3rem, 10vw, 5rem) 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--mandarin);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--indigo);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
}

/* Header */
header {
  background-color: var(--indigo);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.logo a {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hamburger Menu (CSS only) */
.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
}

.menu-toggle-label span,
.menu-toggle-label span::before,
.menu-toggle-label span::after {
  display: block;
  background: var(--white);
  height: 2px;
  width: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.menu-toggle-label span::before,
.menu-toggle-label span::after {
  content: '';
  position: absolute;
}

.menu-toggle-label span::before {
  bottom: 8px;
}

.menu-toggle-label span::after {
  top: 8px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--white);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--soft-gold);
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--soft-gold);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(44, 42, 74, 0.9), rgba(44, 42, 74, 0.7)), url('../img/cgEYEc.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 5rem;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* About Section */
.about {
  background-color: var(--gray-mist);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.about-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-item h3 {
  color: var(--indigo);
  margin-bottom: 1rem;
}

.about-icon {
  color: var(--mandarin);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
  background-color: var(--white);
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.plan {
  background-color: var(--gray-mist);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-header {
  background-color: var(--indigo);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-billing {
  font-size: 0.9rem;
  opacity: 0.8;
}

.plan-features {
  padding: 2rem;
}

.plan-features ul {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--mandarin);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.plan-cta {
  text-align: center;
}

/* Featured Plan */
.plan.featured {
  transform: scale(1.05);
  position: relative;
  z-index: 1;
  border: 2px solid var(--mandarin);
}

.plan.featured .plan-header {
  background: linear-gradient(135deg, var(--indigo), var(--mandarin));
}

.plan.featured .ribbon {
  position: absolute;
  top: 30px;
  right: -30px;
  transform: rotate(45deg);
  background-color: var(--soft-gold);
  color: var(--indigo);
  padding: 0.3rem 2rem;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--gray-mist);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

/* CSS-only Slider */
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 400%;
}

.testimonial {
  width: 25%;
  padding: 0 1rem;
  flex-shrink: 0;
}

.testimonial-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  line-height: 1;
  color: var(--mandarin);
  opacity: 0.2;
  font-family: var(--font-secondary);
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

/* CSS-only Carousel Controls */
.slider-nav {
  text-align: center;
  margin-top: 2rem;
}

.slider-nav label {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--indigo);
  opacity: 0.3;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="radio"] {
  display: none;
}

#slide1:checked ~ .testimonials-track {
  transform: translateX(0);
}

#slide2:checked ~ .testimonials-track {
  transform: translateX(-25%);
}

#slide3:checked ~ .testimonials-track {
  transform: translateX(-50%);
}

#slide4:checked ~ .testimonials-track {
  transform: translateX(-75%);
}

#slide1:checked ~ .slider-nav label[for="slide1"],
#slide2:checked ~ .slider-nav label[for="slide2"],
#slide3:checked ~ .slider-nav label[for="slide3"],
#slide4:checked ~ .slider-nav label[for="slide4"] {
  opacity: 1;
  transform: scale(1.5);
}

/* Magazine Covers Section */
.magazine {
  background-color: var(--white);
}

.magazine-carousel {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.magazine-track {
  display: flex;
  animation: scroll 20s linear infinite;
  width: calc(250px * 10);
}

.magazine-cover {
  width: 250px;
  height: 350px;
  padding: 0 15px;
  flex-shrink: 0;
}

.magazine-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.magazine-cover img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  }
}

/* Order Form Section */
.order {
  background-color: var(--gray-mist);
}

.order-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

fieldset {
  border: none;
  margin-bottom: 2rem;
  position: relative;
}

legend {
  font-weight: 600;
  color: var(--indigo);
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--mandarin);
  box-shadow: 0 0 0 2px rgba(255, 111, 60, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-submit .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  background-color: var(--indigo);
  color: var(--white);
  padding: 1rem;
  cursor: pointer;
  position: relative;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.accordion-content {
  background-color: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 1rem;
}

input[type="checkbox"].accordion-toggle {
  display: none;
}

input[type="checkbox"].accordion-toggle:checked + .accordion-header::after {
  content: '-';
}

input[type="checkbox"].accordion-toggle:checked ~ .accordion-content {
  max-height: 500px;
}

/* Footer */
footer {
  background-color: var(--indigo);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--mandarin);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--soft-gold);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--mandarin);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--indigo);
  color: var(--white);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-cookies {
  background-color: var(--mandarin);
  color: var(--white);
  border: none;
}

.accept-cookies:hover {
  background-color: var(--soft-gold);
  color: var(--indigo);
}

.decline-cookies {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.decline-cookies:hover {
  background-color: var(--white);
  color: var(--indigo);
}

/* Thank You Page */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--indigo), rgba(44, 42, 74, 0.8));
  color: var(--white);
}

.thank-you-content {
  margin: 0 auto;
  max-width: 600px;
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.thank-you h1 {
  margin-bottom: 2rem;
}

.thank-you p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* Policy Pages */
.policy-page {
  padding: 8rem 0 4rem;
}

.policy-content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
  color: var(--indigo);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  margin-bottom: 1.5rem;
}

.policy-content ul, 
.policy-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .plan.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .menu-toggle-label {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--indigo);
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav ul li {
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  nav ul li:last-child {
    border-bottom: none;
  }
  
  .menu-toggle:checked ~ nav {
    height: auto;
    max-height: 300px;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span {
    background: transparent;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .testimonial {
    width: 100%;
  }
  
  .testimonials-track {
    width: 100%;
  }
  
  #slide1:checked ~ .testimonials-track {
    transform: translateX(0);
  }
  
  #slide2:checked ~ .testimonials-track {
    transform: translateX(-100%);
  }
  
  #slide3:checked ~ .testimonials-track {
    transform: translateX(-200%);
  }
  
  #slide4:checked ~ .testimonials-track {
    transform: translateX(-300%);
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    text-align: center;
  }
  
  .btn {
    display: block;
    width: 100%;
  }
  
  .policy-content {
    padding: 2rem 1rem;
  }
} 