/* 
 * domain - Financial Audit Services 
 * Main Stylesheet
 */

/* Global styles */
:root {
  --color-primary: #0A0F28;    /* Indigo */
  --color-accent: #FF5C58;     /* Coral */
  --color-background: #F7F9FC; /* Light */
  --color-secondary: #14B8A6;  /* Turquoise */
  --color-tertiary: #1D3557;   /* Dark blue */
  --color-text: #1C1C1E;
  --color-text-light: #F2F2F2;
  --transition: all 0.3s ease;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header styles */
header {
  background-color: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-light);
}

/* Navigation styles with pure CSS burger menu */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--color-text-light);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  background-image: url('img/IuwZn.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 40, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About us section */
.about {
  background-color: white;
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

/* Benefits section */
.benefits {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.benefits h2 {
  color: var(--color-text-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Results section */
.results {
  background-color: white;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.result-item h3 {
  color: var(--color-accent);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Testimonials section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.2;
}

.client-name {
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 1rem;
}

/* Contact form section */
.contact {
  background-color: var(--color-background);
}

.form-container {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 92, 88, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-checkbox input {
  margin-top: 5px;
}

/* Certificates section */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.certificate-item {
  background-color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.certificate-item:hover {
  transform: translateY(-3px);
}

/* Footer styles */
footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-contact a {
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-light);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-company p {
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy pages styles */
.policy-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}

.policy-container h1 {
  margin-bottom: 1.5rem;
}

.policy-container h2 {
  margin-top: 2rem;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 1rem;
}

.policy-container ul {
  padding-left: 1.5rem;
}

/* Thank you page */
.danke-container {
  text-align: center;
  margin: 8rem auto 5rem;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 600px;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-popup p {
  margin: 0;
  padding-right: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .nav-toggle-label {
    display: block;
    width: 30px;
    height: 21px;
    position: relative;
  }
  
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--color-text-light);
    height: 3px;
    width: 100%;
    position: absolute;
    transition: var(--transition);
  }
  
  .nav-toggle-label span {
    top: 9px;
  }
  
  .nav-toggle-label span::before {
    content: '';
    top: -9px;
  }
  
  .nav-toggle-label span::after {
    content: '';
    bottom: -9px;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--color-primary);
    height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 0;
    transition: height 0.3s ease;
  }
  
  .nav-list li {
    text-align: center;
    padding: 1rem;
  }
  
  .nav-toggle:checked ~ .nav-list {
    height: auto;
    padding: 1rem 0;
  }
  
  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }
  
  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}