/* Main Stylesheet for Domain Financial Audit Firm
   Author: Claude
   Version: 1.0
*/

/* Color Palette */
:root {
  --deep-coral: #FF5E5B;
  --arctic-teal: #20B2AA;
  --cloud-white: #F7F9F9;
  --soft-charcoal: #2D2D2D;
  --pale-lilac: #D6C9F0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--soft-charcoal);
  background-color: var(--cloud-white);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--arctic-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--deep-coral);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--deep-coral);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--arctic-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
  padding: 80px 0;
  text-align: center;
}

section h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.contact h2, .contact > p {
  text-align: left;
}

section h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--deep-coral);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.contact h2:after {
  left: 0;
  transform: none;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--soft-charcoal);
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--soft-charcoal);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--deep-coral);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(214,201,240,0.8) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(32,178,170,0.05) 0px, rgba(32,178,170,0.05) 2px, transparent 2px, transparent 10px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--deep-coral);
}

.animated-headline {
  display: block;
  margin: 15px 0;
  height: 50px;
  overflow: hidden;
}

.animated-headline span {
  display: block;
  animation: rotateWords 8s infinite;
  color: var(--arctic-teal);
}

@keyframes rotateWords {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-50px); }
  50%, 70% { transform: translateY(-100px); }
  75%, 95% { transform: translateY(-150px); }
  100% { transform: translateY(0); }
}

/* About Us Section */
.about {
  background-color: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: var(--arctic-teal);
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 30px;
  padding-right: 0;
  margin-left: 50%;
}

.timeline-icon {
  background: var(--deep-coral);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: calc(100% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -20px;
}

.timeline-content {
  background: var(--cloud-white);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  background-color: var(--cloud-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 100%;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  color: var(--arctic-teal);
  margin: 15px 0;
}

/* Benefits Section */
.benefits {
  background-color: white;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  text-align: left;
}

.benefit-icon {
  color: var(--deep-coral);
  margin-right: 15px;
  font-size: 24px;
}

/* Process Section */
.process {
  background-color: var(--cloud-white);
}

.process-steps {
  counter-reset: process-counter;
  max-width: 800px;
  margin: 40px auto 0;
}

.process-step {
  position: relative;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 5px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-step:nth-child(odd) {
  background: var(--pale-lilac);
}

.process-step::before {
  counter-increment: process-counter;
  content: counter(process-counter);
  position: absolute;
  left: -20px;
  top: -20px;
  width: 50px;
  height: 50px;
  background: var(--deep-coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 24px;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, var(--pale-lilac) 0%, white 100%);
  text-align: center;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  overflow: hidden;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  max-width: 600px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--arctic-teal);
  margin-top: 20px;
}

.testimonial-position {
  color: var(--soft-charcoal);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background: var(--cloud-white);
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid var(--arctic-teal);
  text-align: left;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: bold;
  color: var(--deep-coral);
}

.faq-question.active::after {
  content: "-";
}

.faq-answer {
  padding: 20px;
  background: var(--cloud-white);
  opacity: 0.8;
  display: none;
  text-align: left;
}

.faq-answer.active {
  display: block;
}

/* Contact Form Section */
.contact {
  background-color: var(--cloud-white);
}

.contact .form-group {
  text-align: left;
}

.form-container {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 40px;
  background: var(--pale-lilac);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
}

.form-control {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 2px solid #d1c3eb;
  border-radius: 5px;
  background: white;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--arctic-teal);
}

.form-check {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-check-label {
  font-size: 14px;
  color: var(--soft-charcoal);
}

.form-check-label a {
  text-decoration: underline;
  color: var(--soft-charcoal);
}

/* Footer Styles */
footer {
  background-color: var(--soft-charcoal);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background: var(--deep-coral);
  bottom: 0;
  left: 0;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
  color: var(--deep-coral);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Legal Pages Styles */
.legal-page {
  padding: 60px 0;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h3 {
  margin-bottom: 15px;
  color: var(--arctic-teal);
}

.legal-section ul {
  list-style-type: none;
  padding-left: 0;
}

.legal-section ul li {
  margin-bottom: 10px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(45, 45, 45, 0.95);
  color: white;
  padding: 20px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

.cookie-buttons {
  flex-shrink: 0;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(214,201,240,0.8) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border: 3px solid var(--deep-coral);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
  color: var(--arctic-teal);
  margin-bottom: 20px;
}

.thank-you p {
  margin-bottom: 30px;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    font-size: 24px;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
    padding: 50px 20px;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  nav ul li {
    margin: 10px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 60px;
  }
  
  .timeline-icon {
    left: 10px;
  }
  
  .timeline-item:nth-child(even) .timeline-icon {
    left: 10px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .hero {
    padding: 40px 0;
    height: auto;
    min-height: 80vh;
  }
  .form-container {
    padding: 20px;
  }
  .process-step::before {
    width: 40px;
    height: 40px;
    font-size: 18px;
    left: -10px;
    top: -10px;
  }
  .cookie-consent {
    flex-direction: column;
  }
  .cookie-text {
    padding-right: 0;
    margin-bottom: 15px;
  }
}
