/* DOMAIN - Financial Audit Website Styles */

/* Core Variables */
:root {
  --color-dark-purple: #3A0CA3;
  --color-mint: #80ED99;
  --color-sand: #F1E8B8;
  --color-white: #FFFFFF;
  --color-graphite: #333333;
  --border-radius: 16px;
  --transition: all 0.3s ease;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-dark-purple);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

a {
  color: var(--color-mint);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn {
  display: inline-block;
  background-color: var(--color-mint);
  color: var(--color-dark-purple);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(128, 237, 153, 0.3);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-graphite);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
}

.services h2, 
.testimonials h2, 
.faq h2,
.contact h2 {
  color: var(--color-white);
}

h3 {
  font-size: 2rem;
}

/* Responsive images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--border-radius);
}

/* Section Intro Text */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(58, 12, 163, 0.95);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-desktop a {
  margin-left: 25px;
  color: var(--color-white);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-mobile {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 12, 163, 0.7);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 800px;
}

.hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  color: var(--color-white);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* About Section */
.about {
  background-color: var(--color-sand);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about h2, .about h3, .about p {
  color: var(--color-graphite);
}

/* Services Section */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--color-sand);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3, .service-card p {
  color: var(--color-graphite);
}

.service-content p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

/* Features Section */
.features {
  background-color: var(--color-sand);
}

.features h2, .features h3 {
  color: var(--color-graphite);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-mint);
  margin-bottom: 15px;
}

.feature-title {
  color: var(--color-graphite);
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-text {
  color: var(--color-graphite);
}

/* Testimonials */
.testimonials-slider {
  overflow: hidden;
  margin-top: 40px;
}

.testimonial-item {
  background-color: var(--color-sand);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 0 15px;
}

.testimonial-content {
  color: var(--color-graphite);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  color: var(--color-graphite);
  font-weight: 600;
}

/* FAQ Section */
.faq {
  background-color: var(--color-sand);
}

.faq h2, .faq h3 {
  color: var(--color-graphite);
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-graphite);
  font-weight: 600;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--color-graphite);
}

.faq-item.active .faq-answer {
  padding: 15px;
  max-height: 1000px;
}

/* Form Section */
.contact-form {
  background: linear-gradient(135deg, var(--color-mint), var(--color-sand));
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-dark-purple);
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(58, 12, 163, 0.2);
  border-radius: calc(var(--border-radius) / 2);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-graphite);
}

.form-checkbox {
  margin-right: 8px;
}

.form-checkbox-label {
  color: var(--color-dark-purple);
}

.form-checkbox-label a {
  color: var(--color-dark-purple);
  text-decoration: underline;
}

.form-submit {
  background-color: var(--color-dark-purple);
  color: var(--color-white);
  font-weight: 600;
}

/* Footer Styles */
.footer {
  background-color: #2A0978;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  color: var(--color-mint);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
  color: var(--color-white);
  margin-bottom: 10px;
  display: block;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-page {
  padding: 100px 0;
}

.policy-content {
  background-color: var(--color-sand);
  border-radius: var(--border-radius);
  padding: 40px;
  color: var(--color-graphite);
}

.policy-content h1,
.policy-content h2,
.policy-content h3 {
  color: var(--color-graphite);
  text-align: center;
}

.policy-content a {
  color: #000000;
  text-decoration: underline;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-sand);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-text {
  color: #000000;
  margin-right: 20px;
}

.cookie-text a {
  color: #000000;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Thank You Page */
.thank-you {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

.thank-you-content {
  background-color: var(--color-sand);
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-graphite);
}

.thank-you h1 {
  color: var(--color-graphite);
  margin-bottom: 20px;
}

.thank-you p {
  margin-bottom: 30px;
  color: var(--color-graphite);
}

.thank-you .btn {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-purple);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-mobile.active {
    display: block;
  }
  
  .nav-mobile a {
    display: block;
    padding: 12px 0;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .service-card,
  .about-content {
    flex-direction: column;
  }
  
  .service-img {
    height: 180px;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .feature-item {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
  }
  
  .feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .feature-title {
    font-size: 1.1rem;
  }
  
  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .service-img {
    height: 160px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
  
  .feature-item {
    padding: 20px;
  }
  
  .feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  
  .feature-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .feature-text {
    font-size: 0.95rem;
  }
  
  .policy-content {
    padding: 20px;
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-bottom: 15px;
    margin-right: 0;
    text-align: center;
  }
} 