/* Main styles for domain financial audit website */

/* Base styles */
:root {
  --primary: #2B0A3D;      /* Deep purple */
  --accent-mint: #3DD6A0;  /* Mint */
  --accent-yellow: #FFD447; /* Bright yellow */
  --accent-pink: #D91E63;  /* Pink */
  --text-light: #F3F3F3;   /* Light grey */
  --text-white: #FFFFFF;   /* White */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary);
  color: var(--text-light);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

a {
  color: var(--accent-mint);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-mint);
  color: var(--primary);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-mint);
  color: var(--accent-mint);
}

.btn-secondary:hover {
  background: var(--accent-mint);
  color: var(--primary);
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary), var(--accent-mint));
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(43, 10, 61, 0.95);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
}

.logo span {
  color: var(--accent-mint);
}

/* Navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav li {
  margin-left: 2rem;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
}

nav a:hover {
  color: var(--accent-mint);
}

/* Hero section */
.hero {
  height: calc(100vh - 70px);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 10, 61, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* About section */
.about {
  padding: 6rem 0;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Services section */
.services {
  padding: 6rem 0;
  background-color: rgba(61, 214, 160, 0.05);
}

.services-title {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: linear-gradient(145deg, rgba(43, 10, 61, 0.8), rgba(43, 10, 61, 0.95));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  color: var(--accent-mint);
  margin-bottom: 1rem;
}

/* Benefits section */
.benefits {
  padding: 6rem 0;
}

.benefits-title {
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--accent-mint);
  margin-bottom: 1rem;
}

/* Form section */
.form-section {
  padding: 6rem 0;
  background-color: rgba(61, 214, 160, 0.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(43, 10, 61, 0.9), rgba(43, 10, 61, 0.7));
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(61, 214, 160, 0.3);
  border-radius: 4px;
  color: var(--text-white);
}

.form-select option {
  background-color: var(--text-white);
  color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Testimonials section */
.testimonials {
  padding: 6rem 0;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(43, 10, 61, 0.8), rgba(43, 10, 61, 0.95));
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-mint);
}

/* FAQ section */
.faq {
  padding: 6rem 0;
  background-color: rgba(61, 214, 160, 0.05);
}

.faq-title {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(43, 10, 61, 0.8), rgba(43, 10, 61, 0.95));
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-label::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-question:checked + .faq-label {
  background: linear-gradient(145deg, rgba(61, 214, 160, 0.2), rgba(43, 10, 61, 0.8));
}

.faq-question:checked + .faq-label::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(61, 214, 160, 0.05);
  border-radius: 0 0 4px 4px;
  transition: all 0.3s ease;
}

.faq-question:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

/* Footer */
footer {
  background-color: rgba(20, 4, 29, 1);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--accent-mint);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.contact-info {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 10px;
  color: var(--accent-mint);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Thank you page */
.thank-you {
  margin: 8rem auto 5rem;
  max-width: 600px;
  text-align: center;
  padding: 3rem;
  border: 2px solid var(--accent-mint);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(43, 10, 61, 0.9), rgba(43, 10, 61, 0.7));
}

/* Policy pages */
.policy-content {
  max-width: 800px;
  margin: 6rem auto;
  padding: 2rem;
  border: 2px solid var(--accent-mint);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(43, 10, 61, 0.9), rgba(43, 10, 61, 0.7));
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(20, 4, 29, 0.95);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: bottom 0.5s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup p {
  margin-right: 2rem;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .nav-toggle-label {
    display: block;
    font-size: 1.5rem;
  }
  
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(43, 10, 61, 0.95);
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .nav-toggle:checked ~ ul {
    max-height: 500px;
  }
  
  nav li {
    margin: 0;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .cookie-popup {
    flex-direction: column;
  }
  
  .cookie-popup p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
