/* ===========================================
   Peer-to-Peer Car Share Hub - Main CSS
   ========================================== */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-color: #2c5aa0;
  --secondary-color: #f8b500;
  --accent-color: #34d399;
  --neutral-color: #6b7280;
  --danger-color: #ef4444;
  
  /* Light Shades */
  --primary-light: #4f86c7;
  --secondary-light: #ffd700;
  --accent-light: #6ee7b7;
  --neutral-light: #9ca3af;
  --danger-light: #f87171;
  
  /* Dark Shades */
  --primary-dark: #1e3a5f;
  --secondary-dark: #cc9a00;
  --accent-dark: #10b981;
  --neutral-dark: #4b5563;
  --danger-dark: #dc2626;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  
  /* Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: #ffffff;
}

/* Typography */
h1 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--neutral-dark);
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: var(--neutral-color);
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--font-size-lg) !important;
  font-weight: 700;
  color: var(--primary-dark) !important;
}

.navbar-nav .nav-link {
  font-size: 12px !important;
  font-weight: 500;
  color: var(--neutral-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../CUL_images/ccd_hero-bg.webp') center/cover;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-3xl);
  color: white;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-blob:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.shape-blob:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 30%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--neutral-color);
  margin-bottom: 0.5rem;
}

.section-desc {
  text-align: center;
  color: var(--neutral-color);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.service-desc {
  color: var(--neutral-color);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-features {
  color: var(--neutral-color);
  font-size: var(--font-size-small);
}

/* Features */
.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Price Plans */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
}

.price-card.featured {
  border: 3px solid var(--secondary-color);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.price-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Team */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent-color);
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.team-role {
  color: var(--neutral-color);
  font-style: italic;
}

/* Reviews */
.review-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--neutral-color);
}

.review-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.review-stars {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-gradient);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  border-bottom: 1px solid #e5e7eb;
}

.faq-answer {
  padding: 1rem 1.5rem 1.5rem;
  color: var(--neutral-color);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-section h5 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utilities */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-light-gray {
  background-color: #f8f9fa;
}

/* Breadcrumbs */
.breadcrumb-img {
  max-height: 30px;
  width: auto;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

.swiper-pagination-bullet {
  background: var(--primary-color);
}

.swiper-pagination-bullet-active {
  background: var(--secondary-color);
} 