/* 
 * domain - Financial Auditing Services
 * Main Stylesheet
 */

/* Color Palette */
:root {
  --midnight-plum: #2D142C;
  --amber-coral: #F79256;
  --arctic-mint: #CFF4D2;
  --steel-blue: #5D7B9D;
  --porcelain-white: #FAFAFA;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--steel-blue);
  background-color: var(--porcelain-white);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--amber-coral);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--steel-blue);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--midnight-plum);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--amber-coral);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--midnight-plum);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 15px 32px;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  background-color: var(--midnight-plum);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--porcelain-white);
  letter-spacing: 2px;
  text-transform: lowercase;
}

.logo span {
  color: var(--amber-coral);
}

.nav-toggle {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 30px;
}

.main-nav ul li a {
  color: var(--porcelain-white);
  font-weight: 600;
  font-size: 1rem;
}

.main-nav ul li a:hover {
  color: var(--amber-coral);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--amber-coral);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--midnight-plum) 0%, var(--arctic-mint) 100%);
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
  }
}

.hero-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px 0;
  z-index: 1;
  animation: fadeIn 1s ease-in;
}

.hero h1 {
  color: var(--porcelain-white);
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  color: var(--arctic-mint);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* About Section */
.about {
  background-color: var(--porcelain-white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
  background-color: var(--arctic-mint);
  position: relative;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--amber-coral);
  margin-bottom: 20px;
}

/* Audit Types Section */
.audit-types {
  background-color: var(--porcelain-white);
}

.audit-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.audit-type-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--amber-coral);
  transition: all 0.3s ease;
}

.audit-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.audit-image {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

.audit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.audit-type-card:hover .audit-image img {
  transform: scale(1.05);
}

/* Workflow Section */
.workflow {
  background: linear-gradient(135deg, var(--midnight-plum) 0%, var(--arctic-mint) 100%);
  color: white;
}

.workflow h2 {
  color: var(--porcelain-white);
}

.workflow-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 100%;
  background: var(--amber-coral);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  display: flex;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--steel-blue);
}

.timeline-marker {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--amber-coral);
  border-radius: 50%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px white;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--porcelain-white);
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-size: 2rem;
  color: var(--amber-coral);
  opacity: 0.5;
}

.testimonial-author {
  font-weight: bold;
}

.testimonial-nav {
  margin-top: 20px;
  text-align: center;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--arctic-mint);
  margin: 0 5px;
  cursor: pointer;
}

.testimonial-nav button.active {
  background-color: var(--amber-coral);
}

/* Order Form Section */
.order-form {
  background-color: var(--arctic-mint);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--amber-coral);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

/* FAQ Section */
.faq {
  background-color: var(--porcelain-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  background-color: white;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.accordion-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.accordion-header .icon {
  color: var(--amber-coral);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  padding: 0;
  height: 0;
  overflow: hidden;
  background-color: white;
  transition: height 0.3s ease;
}

.accordion-content-inner {
  padding: 20px;
}

.accordion.active .accordion-content {
  height: auto;
}

.accordion.active .icon {
  transform: rotate(45deg);
}

/* Footer */
footer {
  background-color: var(--midnight-plum);
  color: var(--porcelain-white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  color: var(--porcelain-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--arctic-mint);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-consent.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-consent p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
}

.cookie-buttons button {
  margin-left: 10px;
}

/* Thank You Page */
.thank-you {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
}

.thank-you-content {
  max-width: 600px;
  border: 2px solid var(--amber-coral);
  border-radius: 12px;
  padding: 40px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.thank-you-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--midnight-plum), var(--amber-coral));
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--amber-coral);
  margin-bottom: 20px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 120px auto 60px;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .advantages-grid,
  .audit-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  section {
    padding: 60px 0;
  }

  .main-nav {
    display: none;
  }
  
  .header-container {
    justify-content: center;
  }
  
  .logo {
    font-size: 1.8rem;
  }
  
  .logo span {
    display: none;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .timeline-marker {
    left: 30px;
  }
}

@media (max-width: 576px) {
  .advantages-grid,
  .audit-types-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 20px;
  }
}
