/* 
* Domain - Financial Audit Services
* CSS Styles
*/

/* === VARIABLES === */
:root {
  --bg-color: #14172b;
  --accent1: #e9436f;
  --accent2: #27c9e4;
  --text-primary: #ffffff;
  --text-secondary: #d3d3d3;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --radius: 5px;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--accent1);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
  border-radius: var(--radius);
}

/* === ANIMATIONS === */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
}

/* === HEADER === */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-primary);
  text-transform: lowercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo:hover {
  color: var(--accent2);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: var(--radius);
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent2);
  background-color: rgba(39, 201, 228, 0.1);
}

.menu-toggle,
.menu-icon {
  display: none;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--radius);
  font-weight: bold;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent2), var(--accent1));
  color: var(--text-primary);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  color: var(--text-primary);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent2);
  color: var(--accent2);
}

.btn-secondary:hover {
  background-color: var(--accent2);
  color: var(--bg-color);
}

/* === HERO SECTION === */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(20, 23, 43, 0.8) 0%,
    rgba(20, 23, 43, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation-delay: 0.2s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  animation-delay: 0.4s;
}

.hero .btn {
  animation-delay: 0.6s;
}

/* === ABOUT SECTION === */
.about {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image img {
  transition: transform 0.5s ease;
  width: 100%;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* === SERVICES SECTION === */
.services {
  padding: 5rem 0;
  background-color: rgba(20, 23, 43, 0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  padding-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent2);
}

.service-card h3 {
  color: var(--accent2);
  margin: 1.5rem 0 1rem;
  font-size: 1.5rem;
}

.service-card p {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* === ADVANTAGES SECTION === */
.advantages {
  padding: 5rem 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.advantage-item:hover {
  background-color: rgba(39, 201, 228, 0.1);
  transform: translateY(-5px);
}

.advantage-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: linear-gradient(45deg, var(--accent2), var(--accent1));
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: var(--radius);
}

.advantage-item h3 {
  margin: 1.5rem 0 1rem;
  color: var(--accent2);
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  padding: 5rem 0;
  background-color: rgba(20, 23, 43, 0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: rgba(233, 67, 111, 0.1);
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent1);
  position: absolute;
}

.testimonial-quote::before {
  left: -10px;
  top: -10px;
}

.testimonial-quote::after {
  right: -10px;
  bottom: -30px;
}

.testimonial-author {
  text-align: right;
}

.testimonial-author strong {
  color: var(--accent2);
  display: block;
  margin-bottom: 0.2rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* === CASE STUDIES SECTION === */
.case-studies {
  padding: 5rem 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.case-study {
  background: linear-gradient(
    135deg,
    rgba(39, 201, 228, 0.1),
    rgba(233, 67, 111, 0.1)
  );
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.case-study-content {
  padding: 2rem;
}

.case-study h3 {
  color: var(--accent2);
  margin-bottom: 1rem;
}

.case-study p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.case-results {
  list-style: none;
  margin-left: 1rem;
}

.case-results li {
  margin-bottom: 0.5rem;
  position: relative;
}

.case-results li::before {
  content: "✓";
  color: var(--accent1);
  position: absolute;
  left: -1.5rem;
}

/* === CONTACT SECTION === */
.contact {
  padding: 5rem 0;
  background-color: rgba(20, 23, 43, 0.6);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.checkbox-group {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group:nth-child(3) {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.checkbox-group label {
  margin-left: 10px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(39, 201, 228, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%2327C9E4" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.form-group select option {
  background-color: var(--bg-color);
  color: var(--text-primary);
  padding: 10px;
}

.required {
  color: var(--accent1);
}

.submit-btn {
  grid-column: span 2;
  width: 100%;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.alert {
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.alert-error {
  background-color: rgba(233, 67, 111, 0.2);
  border: 1px solid var(--accent1);
  color: var(--accent1);
}

/* === FAQ SECTION === */
.faq {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question {
  display: block;
  padding: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(39, 201, 228, 0.1);
}

.faq-question::after {
  content: "↓";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.faq-toggle:checked + .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 1.5rem;
  color: var(--text-secondary);
}

/* === MAP SECTION === */
.map-section {
  padding: 5rem 0;
  background-color: rgba(20, 23, 43, 0.6);
}

.map-container {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === FOOTER === */
footer {
  background-color: rgba(39, 42, 85, 0.9);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent2);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
}

.contact-info,
.legal-links {
  list-style: none;
}

.contact-info li,
.legal-links li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.legal-links a {
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--accent1);
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* === THANK YOU PAGE === */
.thank-you {
  padding: 2rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 700px;
  margin: 8rem auto 3rem;
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thank-you-icon {
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.thank-you h1 {
  color: var(--accent2);
  margin-bottom: 1rem;
}

.thank-you-details {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: rgba(39, 201, 228, 0.1);
  border-radius: var(--radius);
}

/* === LEGAL PAGES === */
.legal-page {
  padding: 5rem 0;
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent1);
}

.legal-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  color: var(--accent2);
  margin: 2rem 0 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  color: var(--accent1);
  margin: 1.5rem 0 0.8rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0 1rem 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-update {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 3rem;
  text-align: right;
  font-size: 0.9rem;
}

/* === COOKIE CONSENT === */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: rgba(20, 23, 43, 0.95);
  padding: 1.5rem;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  min-width: 300px;
}

#accept-cookies {
  background: linear-gradient(45deg, var(--accent2), var(--accent1));
  color: var(--text-primary);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

#accept-cookies:hover {
  transform: translateY(-3px);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group:nth-child(3) {
    grid-column: span 1;
  }

  .submit-btn {
    grid-column: span 1;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    cursor: pointer;
  }

  .menu-icon span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
  }

  .menu-toggle {
    display: none;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-toggle:checked ~ nav {
    max-height: 500px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul li a {
    display: block;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .legal-content {
    padding: 1.5rem;
  }
}
