/* Main CSS File for ConsultaPro */

:root {
  /* Color Variables */
  --primary-color: #6a11cb;
  --primary-light: #8c52e5;
  --primary-dark: #4b0b91;
  --secondary-color: #2575fc;
  --secondary-light: #5a9aff;
  --secondary-dark: #1a54b1;
  --accent-color: #f5576c;
  --accent-light: #ff7c8c;
  --accent-dark: #d53e54;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --bg-card: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  
  /* Gradient Variables */
  --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, var(--accent-color) 100%);
  --dark-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  
  /* UI Variables */
  --border-radius-sm: 0.5rem;
  --border-radius: 1rem;
  --border-radius-lg: 1.5rem;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.3s;
  
  /* Spacing */
  --section-spacing: 5rem;
  --item-spacing: 2rem;
}

/* Base Styles */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.btn, button, input[type="submit"] {
  display: inline-block;
  background: var(--primary-gradient);
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
  color: var(--text-light);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-rounded {
  border-radius: 50px;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
}

.text-center {
  text-align: center;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.navbar {
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar-dark {
  background: var(--primary-gradient);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
}

.navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.navbar-nav .nav-link:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--text-light);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
  transform: scaleX(1);
}

.navbar-shrink {
  padding: 0.5rem 0;
  box-shadow: var(--box-shadow);
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--text-light);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-overlay);
  z-index: 1;
}

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

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Process Section */
.process-section {
  padding: var(--section-spacing) 0;
  position: relative;
  overflow: hidden;
}

.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: var(--box-shadow);
}

.process-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.image-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  text-align: center;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-card:hover .image-container img {
  transform: scale(1.05);
}

/* Team Section */
.team-section {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-light);
}

.team-slider {
  margin-top: 3rem;
}

.team-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.team-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.team-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-card .card-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.team-card .card-text {
  font-size: 0.9rem;
}

/* Resources Section */
.resources-section {
  padding: var(--section-spacing) 0;
}

.resource-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.resource-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.resource-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.resource-card:hover img {
  transform: scale(1.05);
}

.resource-card .card-body {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.resource-card .card-text {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.resource-card .btn {
  align-self: center;
  margin-top: auto;
}

/* Press Section */
.press-section {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-light);
}

.press-gallery {
  margin-top: 3rem;
}

.press-item {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
}

.press-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.press-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.press-source {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Sustainability Section */
.sustainability-section {
  padding: var(--section-spacing) 0;
  overflow: hidden;
}

.sustainability-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.sustainability-stats {
  margin-top: 2rem;
}

.stat-item {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.sustainability-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.sustainability-image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.sustainability-image-container:hover img {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.contact-form-container {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.contact-form-container:hover {
  box-shadow: var(--box-shadow-hover);
}

.contact-form {
  padding: 1rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid #ced4da;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(106, 17, 203, 0.25);
}

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

.contact-info {
  padding: 1rem;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.contact-item h5 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-hours {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-hours h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-hours ul {
  margin-bottom: 0;
}

.contact-hours li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer h4, .footer h5 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer p {
  opacity: 0.8;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer a {
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-speed) ease;
}

.footer a:hover {
  opacity: 1;
  color: var(--text-light) !important;
}

.social-links a {
  margin-right: 1rem;
  display: inline-block;
  transition: transform var(--transition-speed) ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer hr {
  opacity: 0.1;
  margin: 2rem 0;
}

/* Modals */
.modal-content {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.modal-header {
  background: var(--primary-gradient);
  color: var(--text-light);
  border-bottom: none;
}

.modal-title {
  color: var(--text-light);
}

.btn-close {
  filter: brightness(0) invert(1);
}

.modal-footer {
  border-top: none;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.95);
  color: var(--text-light);
  z-index: 9999;
  padding: 1rem 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  padding-right: 1rem;
}

.cookie-btn {
  background: var(--primary-gradient);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 2rem 0;
}

.success-container {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.success-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 1.5rem;
}

.success-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.page-title {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Read More Links */
.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.read-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform var(--transition-speed) ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover:after {
  transform: translateX(5px);
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Utilities */
.shadow-lg {
  box-shadow: var(--box-shadow) !important;
}

.rounded-4 {
  border-radius: var(--border-radius) !important;
}

.bg-gradient {
  background: var(--primary-gradient) !important;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-spacing: 4rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-timeline {
    margin-left: 0;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    top: -15px;
    left: -15px;
  }
  
  .contact-info {
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-spacing: 3rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 90px 0 50px;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .process-card {
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    top: -10px;
    left: -10px;
  }
}