/* ÉcoMagazine Pro - Main Stylesheet */

:root {
  --dark-olive: #3B4C3D;
  --bright-yellow: #FFD93D;
  --pastel-blue: #A0C4FF;
  --light-pink: #FFAFCC;
  --white: #FFFFFF;
  --black: #333333;
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: var(--white);
  background-color: var(--dark-olive);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--bright-yellow);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--bright-yellow);
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

a {
  color: var(--bright-yellow);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--light-pink);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--light-pink);
  color: var(--black);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--bright-yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(59, 76, 61, 0.95);
  z-index: 100;
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 150px;
  height: auto;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bright-yellow);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--dark-olive);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(160, 196, 255, 0.3) 0%, rgba(59, 76, 61, 1) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  animation: fadeIn 1s ease-in-out 0.3s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeIn 1s ease-in-out 0.6s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about {
  background-color: var(--pastel-blue);
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: rotate(2deg);
  transition: var(--transition);
}

.about-image:hover {
  transform: rotate(0);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  background-color: var(--dark-olive);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--bright-yellow);
  transform: translateX(-100%);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bright-yellow);
  margin: 15px 0;
}

.service-features {
  list-style: none;
  margin: 20px 0;
}

.service-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bright-yellow);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--pastel-blue);
  color: var(--black);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.testimonial-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.testimonial {
  width: calc(100% / 3);
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  position: relative;
  padding: 20px;
  font-style: italic;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -30px;
  left: -10px;
  color: rgba(59, 76, 61, 0.1);
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-author-info h4 {
  margin-bottom: 5px;
  color: var(--dark-olive);
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(59, 76, 61, 0.3);
  margin: 0 8px;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--dark-olive);
  transform: scale(1.3);
}

/* Order Form Section */
.order-form {
  background: linear-gradient(135deg, var(--dark-olive) 0%, #2a372c 100%);
  position: relative;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid var(--bright-yellow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-input,
.form-select {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: #2a372c;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--bright-yellow);
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.3);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-select-wrapper {
  position: relative;
}

.form-select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bright-yellow);
  pointer-events: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-top: 3px;
}

.form-checkbox-label {
  font-size: 0.9rem;
}

.form-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: var(--light-pink);
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-submit:hover {
  background-color: var(--bright-yellow);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Trust Badges Section */
.trust-badges {
  background-color: var(--white);
  color: var(--black);
  padding: 50px 0;
}

.badges-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.badge {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.badge:hover {
  filter: grayscale(0);
  opacity: 1;
}

.badge img {
  max-width: 100%;
  max-height: 100%;
}

/* FAQ Section */
.faq {
  background-color: var(--pastel-blue);
  color: var(--black);
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.accordion {
  list-style: none;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion-content {
  background-color: rgba(255, 255, 255, 0.6);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 20px;
}

.accordion-item input[type="checkbox"] {
  display: none;
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-header::after {
  content: '−';
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-content {
  max-height: 1000px;
}

/* Contact Section */
.contact {
  background-color: var(--dark-olive);
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bright-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
  color: var(--dark-olive);
}

.contact-text h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-map {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  background-color: #2a372c;
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  font-size: 1.3rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--bright-yellow);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--bright-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bright-yellow);
  color: var(--black);
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-popup p {
  margin: 0;
  padding-right: 20px;
}

.cookie-btn {
  background-color: var(--dark-olive);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-btn:hover {
  background-color: var(--black);
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    flex: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.3rem !important;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-popup p {
    margin-bottom: 15px;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .form-container {
    padding: 20px;
  }
} 