/* Color Palette */
:root {
  --background: #F8F4E3; /* Muted Champagne */
  --accent-1: #132743; /* Midnight Indigo */
  --accent-2: #DA627D; /* Velvet Rose */
  --cta-color: #20A39E; /* Tropical Teal */
  --typography: #3B3B3B; /* Warm Graphite */
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--typography);
  background-color: var(--background);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-1);
  margin-bottom: 1rem;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-2);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-1);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-2);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--cta-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #178784;
  transform: translateY(-3px);
  color: white;
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: var(--background);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 80px;
}

.header-container nav {
  display: flex;
  align-items: center;
}

.header-container nav ul {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-1);
}

.logo svg {
  height: 40px;
  fill: var(--accent-1);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--accent-1);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-color: var(--background);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 55%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--accent-1);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 1.2s ease-out;
}

.hero-img {
  width: 40%;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease-out;
  z-index: 2;
}

/* About Section */
.about {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  padding: 2rem;
  background-color: var(--background);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-10px);
}

.about-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.about-card:hover .about-card-img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  background-color: var(--accent-1);
  color: white;
}

.services h2, .services h3, .services p {
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--cta-color);
}

/* Audit Types Section */
.audit-types {
  background-color: white;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.audit-item {
  border: 2px solid var(--accent-2);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.audit-item:hover {
  background-color: var(--accent-2);
  color: white;
}

.audit-item:hover h3 {
  color: white;
}

/* Benefits Section */
.benefits {
  background-color: var(--background);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-2);
}

/* FAQ Section */
.faq {
  background-color: white;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #eee;
  border-radius: 4px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-question {
  padding: 1rem;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.faq-icon {
  margin-left: 10px;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.faq-answer.active {
  padding: 1.5rem 1rem;
  max-height: 500px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--accent-1);
  color: white;
}

.testimonials h2 {
  color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}

.testimonial-item:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-author {
  font-style: italic;
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

/* Order Form Section */
.order-form {
  background-color: white;
  padding: 5rem 0;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--background);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, 
select, 
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-2);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--accent-1);
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  width: 90%;
}

.cookie-consent button {
  background-color: var(--cta-color);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Policy Pages */
.policy-page {
  background-color: white;
}

.policy-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.policy-page h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-2);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Media Queries */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  nav ul, 
  nav ul li, 
  nav ul li a, 
  .nav-toggle {
    display: none;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .hero-img {
    width: 100%;
    height: 250px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}