/* 
 * Main CSS file for domain - Financial Audit Services
 * Colors:
 * - Background: #0C1A27
 * - Accent: #F9C846
 * - Secondary: #1B2E3C
 * - Text: #FFFFFF / #D1E9FF
 * - Buttons: gradient #F9C846 → #F79D1E
 */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #0c1a27;
  color: #ffffff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #f9c846;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #f9c846;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #f79d1e;
}

section {
  padding: 4rem 0;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(to right, #f9c846, #f79d1e);
  color: #0c1a27;
}

.btn-primary:hover {
  background: linear-gradient(to right, #f79d1e, #f9c846);
  color: #0c1a27;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 200, 70, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #f9c846;
  border: 2px solid #f9c846;
}

.btn-secondary:hover {
  background-color: #f9c846;
  color: #0c1a27;
  transform: translateY(-3px);
}

/* Header Styles */
header {
  background-color: rgba(12, 26, 39, 0.95);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f9c846;
  letter-spacing: 1px;
  text-transform: lowercase;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f9c846;
}

nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #f9c846;
  left: 0;
  bottom: -5px;
  transition: width 0.3s;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.menu-toggle,
.burger-menu {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  background-image: url("./img/EmF9V.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 26, 39, 0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #d1e9ff;
}

/* About Section */
.about {
  background-color: #1b2e3c;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Services Section */
.services {
  background-color: #0c1a27;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #1b2e3c;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: #f9c846;
  margin-bottom: 1rem;
}

.service-content p {
  margin-bottom: 1.5rem;
  color: #d1e9ff;
}

/* Why Choose Us Section */
.why-us {
  background-color: #1b2e3c;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-us-item {
  text-align: center;
  padding: 1.5rem;
  background-color: #0c1a27;
  border-radius: 8px;
  transition: transform 0.3s;
}

.why-us-item:hover {
  transform: translateY(-10px);
}

.why-us-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-icon .icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.why-us-item h3 {
  color: #f9c846;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  background-color: #0c1a27;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: #1b2e3c;
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}

.testimonial-card:before {
  content: '"';
  font-size: 4rem;
  color: #f9c846;
  position: absolute;
  top: -10px;
  left: 15px;
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #d1e9ff;
}

.testimonial-author h4 {
  color: #f9c846;
  margin-bottom: 0.3rem;
}

.testimonial-author p {
  font-size: 0.9rem;
  margin: 0;
  color: #ffffff;
}

/* Form Section */
.contact-form {
  background-color: #1b2e3c;
}

form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #0c1a27;
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #f9c846;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #1b2e3c;
  background-color: #0c1a27;
  color: #ffffff;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #f9c846;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F9C846' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 35px;
}

.form-group select option {
  background-color: #0c1a27;
  color: #ffffff;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  color: #ffffff;
}

.error-message {
  background-color: rgba(255, 0, 0, 0.1);
  color: #ff6b6b;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #ff6b6b;
}

/* FAQ Section */
.faq {
  background-color: #0c1a27;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: #1b2e3c;
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  color: #f9c846;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: rgba(249, 200, 70, 0.1);
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #f9c846;
}

.faq-toggle:checked + .faq-question:after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 1000px;
  padding: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact {
  background-color: #1b2e3c;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.contact-item h3 {
  color: #f9c846;
  margin-bottom: 0.8rem;
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  border-radius: 8px;
}

/* Footer Styles */
footer {
  background-color: #0c1a27;
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #f9c846;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section p {
  margin-bottom: 0.8rem;
  color: #d1e9ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1e9ff;
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1b2e3c;
  padding: 1rem;
  z-index: 2000;
  display: none;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
}

#accept-cookies {
  background: linear-gradient(to right, #f9c846, #f79d1e);
  color: #0c1a27;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

/* Policy Pages */
.policy-page {
  padding: 4rem 0;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #1b2e3c;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(249, 200, 70, 0.2);
}

.policy-container h1 {
  color: #f9c846;
  margin-bottom: 2rem;
  text-align: center;
}

.policy-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 1.5rem;
}

.policy-container ul {
  padding-left: 1.5rem;
}

.policy-container ul li {
  margin-bottom: 0.5rem;
}

/* Thank You Page */
.merci-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.merci-content {
  max-width: 700px;
  padding: 3rem;
  background-color: #1b2e3c;
  border-radius: 8px;
  border: 1px solid rgba(249, 200, 70, 0.2);
  margin: 3rem auto;
}

.merci-content h1 {
  color: #f9c846;
  margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    height: 80vh;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
  }

  .burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #f9c846;
    transition: all 0.3s;
  }

  .menu-toggle:checked + .burger-menu span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle:checked + .burger-menu span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .burger-menu span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0c1a27;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle:checked ~ nav {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  nav ul li {
    margin: 1rem 0;
  }

  nav ul li a {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    height: 70vh;
  }

  .why-us-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group select,
  .btn-primary,
  .btn-secondary {
    padding: 10px;
  }
}
