/* ========== Root Variables ========== */
:root {
  /* Color Scheme - Complementary with Retro Feel */
  --primary: #ff6b35; /* Vibrant orange */
  --primary-dark: #e55a2b;
  --secondary: #2b59c3; /* Complementary blue */
  --secondary-dark: #1a3a8f;
  --accent: #ffd166; /* Yellow accent */
  --accent-dark: #e5bd5c;
  --text-dark: #2a2a2a;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --footer-bg: #242424;
  --border-color: #e9ecef;
  --success: #4caf50;
  --danger: #f44336;
  --warning: #ff9800;
  --info: #2196f3;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
  
  /* Grid */
  --container-width: 1200px;
}

/* ========== Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-dark);
}

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

/* ========== Utilities ========== */
.text-center {
  text-align: center !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-xs) !important; }
.mb-2 { margin-bottom: var(--space-sm) !important; }
.mb-3 { margin-bottom: var(--space-md) !important; }
.mb-4 { margin-bottom: var(--space-lg) !important; }
.mb-5 { margin-bottom: var(--space-xl) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-xs) !important; }
.mt-2 { margin-top: var(--space-sm) !important; }
.mt-3 { margin-top: var(--space-md) !important; }
.mt-4 { margin-top: var(--space-lg) !important; }
.mt-5 { margin-top: var(--space-xl) !important; }

.py-5 { padding-top: var(--space-xl) !important; padding-bottom: var(--space-xl) !important; }

/* ========== Navigation ========== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand .title {
  margin-bottom: 0;
  color: var(--primary);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

.navbar-burger span {
  background-color: var(--text-dark);
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
  }
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-body {
  position: relative;
  padding: 6rem 1.5rem;
}

.hero-body h1,
.hero-body h2,
.hero-body p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-light) !important;
}

.hero-body .button {
  margin-right: 1rem;
  margin-top: 1rem;
}

/* ========== Buttons ========== */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.button.is-primary {
  background-color: var(--primary);
  border-color: transparent;
  color: white;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-outlined.is-light {
  background-color: transparent;
  border-color: white;
  color: white;
}

.button.is-outlined.is-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-fast);
  z-index: -1;
}

.button:hover::after {
  width: 100%;
}

/* ========== Section Styles ========== */
.section {
  padding: 5rem 1.5rem;
}

.section .title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.section .has-text-centered .title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ========== Stats Section ========== */
.stats-section {
  background-color: var(--secondary);
  color: white;
  padding: 3rem 1.5rem;
}

.stat-widget {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal);
}

.stat-widget:hover {
  transform: translateY(-5px);
}

.stat-widget h3 {
  color: var(--accent);
  font-size: 3rem;
  font-weight: 700;
}

.stat-widget p {
  color: white;
  font-size: 1.25rem;
}

/* ========== Vehicles Section ========== */
.vehicles-section {
  background: linear-gradient(135deg, var(--background-light) 0%, #e6e6e6 100%);
  position: relative;
  overflow: hidden;
}

.vehicles-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('image/grid-pattern.jpg') center/cover no-repeat;
  opacity: 0.05;
  transform: skew(-5deg, -5deg) scale(1.5);
}

.custom-slider {
  position: relative;
  margin: 2rem auto;
  max-width: 1200px;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem 0;
  scrollbar-width: none; /* Firefox */
}

.slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slider-item {
  flex: 0 0 auto;
  width: calc(33.333% - 1.33rem);
  scroll-snap-align: start;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.prev-btn, .next-btn {
  background: var(--secondary);
  color: white;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: background var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
  background: var(--secondary-dark);
}

@media screen and (max-width: 768px) {
  .slider-item {
    width: calc(100% - 2rem);
  }
}

/* ========== Card Styles ========== */
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-content .button {
  align-self: flex-start;
  margin-top: auto;
}

/* ========== Workshops Section ========== */
.workshops-section {
  background-color: var(--background-light);
}

.workshop-date {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ========== Clientele/Testimonials Section ========== */
.clientele-section {
  background-color: #f8f8f8;
  position: relative;
}

.clientele-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('image/distorted-grid.jpg') center/cover no-repeat;
  opacity: 0.03;
  transform: skew(-5deg, -5deg) scale(1.5);
}

.testimonial-card {
  text-align: center;
  padding: 1rem;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid var(--primary);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .title {
  margin-bottom: 0.5rem;
}

.testimonial-card .subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}

.testimonial-card p::before,
.testimonial-card p::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary);
  position: absolute;
}

.testimonial-card p::before {
  top: -10px;
  left: 0;
}

.testimonial-card p::after {
  bottom: -20px;
  right: 0;
}

/* ========== Resources Section ========== */
.resources-section {
  background: linear-gradient(135deg, var(--background-light) 0%, #e6e6e6 100%);
}

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

/* ========== Team Section ========== */
.team-section {
  background-color: #fff;
}

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

.team-card .image-container {
  height: 300px;
}

/* ========== Blog Section ========== */
.blog-section {
  background-color: #f8f8f8;
}

.blog-card .blog-date {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card .title {
  margin-bottom: 1rem;
}

.blog-card .button {
  margin-top: 1rem;
}

/* ========== Pricing Section ========== */
.pricing-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #e6e6e6 100%);
  position: relative;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('image/pricing-grid.jpg') center/cover no-repeat;
  opacity: 0.05;
  transform: rotate(-3deg) scale(1.5);
}

.pricing-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card .title {
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.feature-list li {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -5px;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10% 50%);
}

/* ========== Contact Section ========== */
.contact-section {
  background-color: #fff;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-info p strong {
  color: var(--secondary);
  font-weight: 600;
}

.map-container {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.map-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-form .label {
  color: var(--text-dark);
  font-weight: 600;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary);
}

/* ========== Press Section ========== */
.press-section {
  background-color: #f8f8f8;
  padding-bottom: 4rem;
}

.press-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.press-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.press-logo img {
  max-height: 80px;
  object-fit: contain;
}

.press-quote {
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}

.press-quote::before {
  content: """;
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -10px;
  left: 0;
  opacity: 0.2;
}

.press-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--text-dark);
}

/* ========== Footer ========== */
.footer {
  background-color: var(--footer-bg);
  color: #f8f8f8;
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer p {
  color: #bbb;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bbb;
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: #bbb;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--primary);
}

.newsletter input {
  border: none;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

.newsletter input::placeholder {
  color: #bbb;
}

.newsletter button {
  border: none;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  transition: background-color var(--transition-fast);
}

.newsletter button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #888;
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ========== Success, Privacy, Terms Pages ========== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

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

.privacy-page,
.terms-page {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.privacy-page h1,
.terms-page h1 {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.privacy-page p,
.terms-page p,
.privacy-page ul,
.terms-page ul {
  margin-bottom: 1.5rem;
}

/* ========== Animation (AOS alternatives) ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ========== Media Queries ========== */
@media screen and (max-width: 1023px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-body {
    padding: 4rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-body {
    padding: 3rem 1rem;
  }
  
  .stat-widget {
    margin-bottom: 2rem;
  }
  
  .press-logo {
    height: 80px;
    margin-bottom: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 12px;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .hero-body {
    padding: 2rem 1rem;
  }
  
  .slider-item {
    width: 100%;
  }
}