/* 
===========================================
MAIN STYLES FOR DOMAIN - FINANCIAL AUDIT SERVICES
===========================================
*/

/* RESET & GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-bg: #2d2d2d;
  --accent-yellow: #ffde59;
  --accent-coral: #ff6b6b;
  --accent-aqua: #007c91;
  --text-color: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Montserrat", "Arial", sans-serif;
  background-color: var(--main-bg);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background-color: var(--accent-yellow);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-yellow);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-yellow);
  color: var(--main-bg);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--accent-coral);
  color: var(--text-color);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-yellow);
  color: var(--accent-yellow);
}

.btn-outline:hover {
  background-color: var(--accent-yellow);
  color: var(--main-bg);
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(45, 45, 45, 0.95);
  padding: 15px 0;
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: lowercase;
  z-index: 1002;
}

/* Hide checkbox */
.menu-toggle {
  display: none;
}

/* Navigation menu */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-yellow);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Burger menu button - hidden on desktop */
.burger-menu-btn {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1002;
}

.burger-menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

.burger-menu-btn span:nth-child(1) {
  top: 0;
}

.burger-menu-btn span:nth-child(2) {
  top: 8px;
}

.burger-menu-btn span:nth-child(3) {
  top: 16px;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background-image: url("./img/FxC23.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

/* ADVANTAGES SECTION */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--accent-yellow);
  background-color: rgba(255, 255, 255, 0.1);
}

.advantage-card h3 {
  color: var(--accent-yellow);
  margin: 20px 0;
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.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.1);
}

.service-content {
  padding: 20px;
}

.service-card h3 {
  color: var(--accent-yellow);
}

/* AUDIT STAGES SECTION */
.stages-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;

  margin: 0 auto;
}

.stage {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;

  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.stage:last-child {
  margin-bottom: 0;
}

.stage-number {
  flex: 0 0 80px;
  height: 80px;
  width: 80px;
  background-color: var(--accent-yellow);
  color: var(--main-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-right: 20px;
  z-index: 2;
}

.stage-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--border-radius);
  flex: 1;
}

.stage-content h3 {
  color: var(--accent-yellow);
  margin-bottom: 10px;
}

/* REVIEWS SECTION */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;

  margin: 0 auto;
}

.review {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  position: relative;
}

.review:last-child {
  margin-bottom: 0;
}

.review:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  opacity: 0.2;
  color: var(--accent-yellow);
  font-family: "Georgia", serif;
}

.review-content {
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
}

.reviewer-name {
  font-weight: 700;
}

.reviewer-title {
  color: var(--accent-yellow);
  font-size: 0.9rem;
}

/* FAQ SECTION */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  position: relative;
  font-weight: 700;
  transition: var(--transition);
}

.faq-label:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-label:after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-question:checked + .faq-label {
  background-color: var(--accent-yellow);
  color: var(--main-bg);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-question:checked + .faq-label:after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  transition: max-height 0.3s ease;
}

.faq-question:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* CONTACTS SECTION */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-yellow);
  color: var(--main-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FORM SECTION */
.form-section {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-yellow);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
}

select.form-control option {
  background-color: var(--main-bg);
  color: var(--text-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
}

.checkbox-label a {
  color: var(--accent-yellow);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--accent-coral);
}

/* FOOTER */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 15px;
  text-transform: lowercase;
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  position: relative;
  padding-left: 15px;
}

.footer-links a:before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* LEGAL PAGES */
.legal-content {
  max-width: 800px;
  margin: 8rem auto 3rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h1 {
  color: var(--accent-yellow);
  margin-bottom: 30px;
}

.legal-content h2 {
  color: var(--accent-yellow);
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h2:after {
  width: 40px;
  left: 0;
  transform: none;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* THANK YOU PAGE */
.thank-you-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  margin: 8rem auto 3rem;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-section h1 {
  color: var(--accent-yellow);
}

.thank-you-section p {
  margin-bottom: 30px;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: var(--main-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons .btn {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  /* Mobile Navigation */
  .burger-menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: var(--main-bg);
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 1001;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .menu-toggle:checked ~ .burger-menu-btn span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  .menu-toggle:checked ~ .burger-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .burger-menu-btn span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .btn {
    padding: 10px 20px;
  }

  .stage {
    flex-direction: column;
  }

  .stage-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 30px;
  }
}
