/* FILE: css/style.css */

:root {
  /* Colors - Light theme with warm beige and burgundy accents */
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-primary: #8b2635;
  --color-accent: #c17a3a;
  --color-text-main: #2c2416;
  --color-text-muted: #6b5e4f;
  --color-border: #e5ddd3;
  --color-success: #4a7c59;
  --color-error: #c1444a;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b2635 0%, #a83c4a 100%);
  --gradient-accent: linear-gradient(135deg, #c17a3a 0%, #d69052 100%);
  --gradient-hero: linear-gradient(135deg, #8b2635 0%, #6b1e2a 50%, #4a1419 100%);

  /* Fonts */
  --font-heading: "Playfair Display", serif;
  --font-body: "Open Sans", sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-main);
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* Header */
#main-header {
  background-color: #ffffff;
  transition: all 0.3s ease;
  padding: 20px 0;
}

#main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary) !important;
  font-weight: 800;
}

.navbar-nav .nav-link {
  color: var(--color-text-main);
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary);
}

.navbar-toggler {
  border: 2px solid var(--color-primary);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238B2635' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  color: #ffffff;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(193, 122, 58, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 32px;
}

.hero-benefits {
  list-style: none;
  padding: 0;
}

.hero-benefits li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
}

.hero-benefits li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--color-accent);
}

/* Buttons */
.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 38, 53, 0.3);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.btn-light:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-bg);
  transform: translateY(-2px);
}

/* Sections */
.section-padding {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--color-surface) !important;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: var(--color-surface);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.audience-card,
.problem-card,
.service-card,
.case-card {
  height: 100%;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-wrapper i {
  font-size: 32px;
  color: #ffffff;
}

.icon-wrapper-problem {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c1444a 0%, #a03338 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-wrapper-problem i {
  font-size: 32px;
  color: #ffffff;
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 36px;
  color: #ffffff;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.service-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1.5rem;
}

.outcome-text {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 50px;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 50px;
  text-align: right;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.timeline-icon i {
  font-size: 24px;
  color: #ffffff;
}

.timeline-content {
  width: 45%;
  background: var(--color-surface);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

/* Case Cards */
.case-title {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.case-situation,
.case-action,
.case-result {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* FAQ */
.accordion-item {
  border: none;
  margin-bottom: 16px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.accordion-button {
  background-color: var(--color-surface);
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 24px;
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-primary);
  color: #ffffff;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  padding: 24px;
  background-color: var(--color-surface);
  color: var(--color-text-muted);
}

/* Contact Form */
.contact-form {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.1);
}

.form-check-input {
  border: 2px solid var(--color-border);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #ffffff;
}

.cta-text {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* Footer */
.footer {
  background-color: var(--color-text-main);
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--color-accent);
  margin-right: 10px;
  margin-top: 4px;
  min-width: 20px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-simple {
  padding: 30px 0;
}

/* Page Header */
.page-header-section {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 150px 0 80px;
  text-align: center;
}

.page-header-section h1 {
  color: #ffffff;
  margin-bottom: 16px;
}

.page-header-section .lead {
  font-size: 1.15rem;
  opacity: 0.95;
}

/* Contact Info Box */
.contact-info-box {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: #ffffff;
}

.contact-details h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.contact-details p {
  margin: 0;
  color: var(--color-text-muted);
}

.map-placeholder {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-box {
  background: var(--color-border);
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.map-box i {
  font-size: 48px;
  margin-bottom: 12px;
}

/* Legal Content */
.legal-content h2 {
  color: var(--color-primary);
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h3 {
  color: var(--color-text-main);
  font-size: 1.35rem;
  margin-top: 30px;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Thank You Page */
.thank-you-section {
  padding: 150px 0 100px;
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thank-you-icon i {
  font-size: 60px;
  color: #ffffff;
}

.thank-you-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.thank-you-text {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.thank-you-subtext {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.thank-you-info {
  border-top: 2px solid var(--color-border);
  color: var(--color-text-muted);
}

/* Service Page Specific */
.problem-box {
  background: var(--color-bg);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-error);
  height: 100%;
}

.problem-box h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.problem-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.process-detail {
  margin-top: 30px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 24px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.step-content p {
  margin: 0;
  color: var(--color-text-muted);
}

.results-box {
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.1) 0%, rgba(74, 124, 89, 0.05) 100%);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 2px solid var(--color-success);
}

.results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-list li {
  margin-bottom: 16px;
  padding-left: 35px;
  position: relative;
  font-size: 1.05rem;
}

.results-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 1.25rem;
}

.cta-box {
  background: var(--gradient-accent);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  color: #ffffff;
}

.cta-box h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-box p {
  margin-bottom: 24px;
  opacity: 0.95;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0;
  color: var(--color-text-main);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cookie Settings Modal */
#cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  margin-bottom: 24px;
}

.cookie-modal-header h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cookie-category {
  padding: 20px;
  background: var(--color-bg);
  border-radius: 8px;
  margin-bottom: 16px;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-category-header h5 {
  margin: 0;
}

.cookie-category p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-switch {
  min-height: auto;
}

.form-switch .form-check-input {
  width: 48px;
  height: 24px;
  cursor: pointer;
}

.cookie-modal-footer {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-icon {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 100px);
    margin-left: 100px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 140px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .thank-you-title {
    font-size: 2rem;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .cookie-modal-content {
    padding: 24px;
  }
}
