/* Smart Parking Solutions CSS Styles */

/* Root Variables - Triadic Color Scheme */
:root {
  /* Primary Colors */
  --primary: #3e63dd;
  --primary-dark: #2a4cb3;
  --primary-light: #6785e6;
  
  /* Triadic Colors */
  --secondary: #dd3e63;
  --secondary-dark: #b32a4c;
  --secondary-light: #e66785;
  
  --tertiary: #63dd3e;
  --tertiary-dark: #4cb32a;
  --tertiary-light: #85e667;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f7f9fc;
  --mid-gray: #e1e5ee;
  --dark-gray: #4a5568;
  --black: #2d3748;
  
  /* UI Element Colors */
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;
  --info: #3498db;
  
  /* Shadows for Volumetric UI */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s all ease;
  --transition-normal: 0.3s all ease;
  --transition-slow: 0.5s all ease;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--black);
  background-color: var(--light-gray);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

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

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

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

/* Custom Container Size for Bulma */
@media screen and (min-width: 1408px) {
  .container:not(.is-max-desktop):not(.is-max-widescreen) {
    max-width: 1344px;
  }
}

/* Retro Design System Elements */
.retro-section {
  padding: 4rem 2rem;
  position: relative;
}

.retro-section:nth-child(odd) {
  background-color: var(--light-gray);
}

.retro-section:nth-child(even) {
  background-color: var(--white);
}

/* Card styling for Retro design */
.card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  position: relative;
}

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  width: 100%;
}

.image-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

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

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

/* Volumetric UI Elements */
.volume-button {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 0 var(--primary-dark), 0 6px 10px rgba(0, 0, 0, 0.15);
}

.volume-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--primary-dark), 0 8px 15px rgba(0, 0, 0, 0.2);
}

.volume-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--primary-dark), 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Button Styles (Global) */
.button {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

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

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

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

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

.button.is-tertiary {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
  color: var(--black);
}

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

.button.is-light {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

/* Header Styles */
.retro-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.retro-header .navbar {
  padding: 0.75rem 0;
}

.retro-header .navbar-item {
  font-weight: 500;
  transition: var(--transition-fast);
}

.retro-header .navbar-item:hover {
  color: var(--primary);
  background-color: transparent;
}

.navbar-burger {
  color: var(--black);
}

.navbar-menu.is-active {
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.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.5) 100%);
}

.hero .title,
.hero .subtitle {
  color: var(--white);
  position: relative;
}

.hero-body {
  padding-top: 100px!important;
  padding-bottom: 100px!important;
  position: relative;
  z-index: 10;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  display: block;
  font-size: 1rem;
  color: var(--white);
  opacity: 0.9;
}

/* Services Section */
.card .card-image img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

/* Our Process Section */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white);
  position: relative;
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

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

.parallax-section .title,
.parallax-section .subtitle {
  color: var(--white);
}

.process-container {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

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

.step-content {
  flex: 1;
}

.progress-bar {
  height: 8px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  margin: 0.5rem 0 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

/* Case Studies Section */
.tags {
  margin-bottom: 1rem;
}

.tag {
  border-radius: var(--radius-md);
  padding: 0.35em 0.75em;
  font-weight: 500;
  margin-right: 0.5rem;
}

.tag.is-primary {
  background-color: var(--primary);
  color: var(--white);
}
.success-content{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tag.is-info {
  background-color: var(--info);
  color: var(--white);
}

.tag.is-success {
  background-color: var(--success);
  color: var(--white);
}

/* Resources Section */
.resource-card {
  height: 100%;
}

/* Team Section */
.card .card-image .image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Gallery Section */
.gallery-grid {
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Events Calendar Section */
.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card .card-content {
  display: flex;
  flex: 1;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 2px solid var(--mid-gray);
}

.event-date .month {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary);
}

.event-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.2rem 0;
}

.event-date .year {
  font-size: 1rem;
  opacity: 0.7;
}

.event-details {
  flex: 1;
}

.location {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

/* Media Section */
.media-card {
  height: 100%;
}

.media-source {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.media-source img {
  max-width: 120px;
  height: auto;
  margin-right: 1rem;
}

.publication-date {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Awards Section */
.award-item {
  display: flex;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.award-icon {
  flex-shrink: 0;
  width: 120px;
  margin-right: 1.5rem;
  text-align: center;
}

.award-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.award-content {
  flex: 1;
}

.award-year {
  display: inline-block;
  padding: 0.25em 0.75em;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Contact Section */
.contact-info,
.contact-form {
  height: 100%;
}

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

.contact-item .icon {
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--white);
  font-size: 1.25rem;
}

.contact-text {
  flex: 1;
}

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

.map-container img {
  width: 100%;
  height: auto;
}

/* Footer Styles */
.retro-footer {
  background-color: var(--black)!important;
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.retro-footer .title {
  color: var(--white);
}

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

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

.footer-links a {
  color: var(--mid-gray);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

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

.social-links a {
  display: inline-block;
  color: var(--mid-gray);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-page .card {
  max-width: 600px;
  padding: 3rem;
}

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

/* Privacy and Terms Pages */
.page-content {
  padding-top: 100px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .event-card .card-content {
    flex-direction: column;
  }
  
  .event-date {
    flex-direction: row;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    border-bottom: 2px solid var(--mid-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: flex-start;
  }
  
  .event-date .month,
  .event-date .year {
    margin: 0 0.5rem;
    align-self: center;
  }
  
  .award-item {
    flex-direction: column;
  }
  
  .award-icon {
    margin-right: 0;
    margin-bottom: 1.5rem;
    width: 100%;
  }
}

/* Animation for Elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }