/* =======================================================
   MOTORCYCLE RENTAL VALENCIA - MAIN STYLES
   ======================================================= */

/* ===== VARIABLES CSS ===== */
:root {
  /* Colors - Valencia Theme */
  --primary-color: #1B5488;      /* Valencia Blue */
  --secondary-color: #0F3A5F;    /* Darker Blue */
  --accent-color: #F39C12;       /* Golden Yellow */
  --success-color: #27AE60;      /* Green */
  --warning-color: #E74C3C;      /* Red */
  --info-color: #3498DB;         /* Light Blue */
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #495057;
  --black: #212529;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 15px;
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 15px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  
  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.lead {
  font-size: 1.15rem;
  font-weight: var(--font-weight-medium);
  color: var(--gray);
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: var(--border-radius);
  padding: 12px 24px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #215E95, #4A7BB7);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1A5282, #3E6BA0);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
}

.language-link {
  transition: var(--transition);
  opacity: 0.8;
  padding: 5px 8px;
  border-radius: 4px;
}

.language-link:hover {
  opacity: 1;
  color: var(--primary-color) !important;
  background-color: rgba(27, 84, 136, 0.1);
}

.language-link.active {
  opacity: 1;
  font-weight: var(--font-weight-semibold);
  background-color: rgba(27, 84, 136, 0.15);
}

.main-nav {
  padding: 15px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: #286AA6;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.logo {
  height: 40px;
  width: auto;
}

.nav-link {
  color: var(--dark-gray);
  font-weight: var(--font-weight-medium);
  padding: 8px 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: #286AA6;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 80px;
  height: 500px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.spain.info/export/sites/segtur/.content/imagenes/cabeceras-grandes/valencia/ciudad-artes-ciencias-valencia-c-luca-bravo-u-UyUjtbu5vj4.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5));
}

/* Hero content positioning */
.hero .container {
  position: relative;
  z-index: 10;
}

/* Override Bootstrap min-vh-100 for hero */
.hero .min-vh-100 {
  min-height: auto !important;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  margin-top: 40px;
  line-height: 1.2;
  color: var(--white);
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.hero-title .highlight {
  color: var(--white);
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--white);
  opacity: 0.95;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.hero-buttons {
  margin-bottom: 40px;
}

.hero-buttons .btn {
  margin-right: 15px;
  margin-bottom: 10px;
}

.hero-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.feature-item i {
  color: var(--white);
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* ===== SECTIONS ===== */
section {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #215E95, #4A7BB7);
}

.text-center .section-title::after {
  left: 50%;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
}

/* ===== MOTORCYCLE TYPES SECTION ===== */
.motorcycle-types {
  background-color: #f8f9fa;
}

.motorcycle-type-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.motorcycle-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.motorcycle-type-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motorcycle-type-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.motorcycle-type-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  color: var(--dark);
  margin-bottom: 10px;
}

.motorcycle-type-count {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #215E95, #4A7BB7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.service-card h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-top: 20px;
}

.service-features li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features i {
  color: var(--success-color);
  font-size: 0.9rem;
}

/* ===== MOTORCYCLE CARDS ===== */
.motorcycle-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.motorcycle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.motorcycle-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.motorcycle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.motorcycle-card:hover .motorcycle-image img {
  transform: scale(1.05);
}

.motorcycle-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
}

.motorcycle-badge.available {
  background: var(--success-color);
  color: var(--white);
}

.motorcycle-badge.unavailable {
  background: #dc3545;
  color: var(--white);
}

/* .motorcycle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.motorcycle-card:hover .motorcycle-overlay {
  opacity: 1;
} */

.motorcycle-info {
  padding: 25px;
}

.motorcycle-specs {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--gray);
}

.spec-item i {
  color: var(--primary-color);
}

.motorcycle-features h6 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.motorcycle-features ul {
  list-style: none;
  margin-bottom: 20px;
}

.motorcycle-features li {
  padding: 2px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.motorcycle-features i {
  color: var(--success-color);
  font-size: 0.8rem;
}

.motorcycle-pricing {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pricing-info {
  display: flex;
  gap: 20px;
}

.price-day, .price-week {
  text-align: center;
}

.price {
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
}

.motorcycle-actions {
  display: flex;
  gap: 10px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--light-gray);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--accent-color);
  margin-right: 3px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h5 {
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.author-info span {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #286AA6;
  color: var(--white);
}

.footer-content {
  padding: 60px 0 30px;
}

.footer-section h5 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: var(--font-weight-semibold);
}

.footer-logo {
  height: 30px;
  margin-right: 10px;
}

.footer-text {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.contact-item i {
  color: var(--primary-color);
  margin-top: 3px;
  width: 18px;
}

.social-links-footer {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links-footer a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links-footer a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 0;
}

.copyright {
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.footer-bottom-links {
  text-align: right;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-left: 20px;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  padding: 80px 0 40px;
  margin-top: 88px;
  min-height: calc(33vh + 100px);
  display: flex;
  align-items: center;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 20px;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--white);
}

.page-title {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== FORMS ===== */
.form-section {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.form-section h3 {
  color: var(--secondary-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h3 i {
  color: var(--primary-color);
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.required {
  color: var(--warning-color);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 12px 15px;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.extra-item {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 15px;
  transition: var(--transition);
}

.extra-item:hover {
  background: #e9ecef;
}

.extra-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  font-weight: var(--font-weight-medium);
}

.extra-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.extra-price {
  margin-left: auto;
  color: var(--success-color);
  font-weight: var(--font-weight-semibold);
}

.cost-summary {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.cost-breakdown {
  margin-top: 15px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-item.total {
  border-top: 2px solid var(--primary-color);
  margin-top: 15px;
  padding-top: 15px;
  font-size: 1.1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .motorcycle-pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .motorcycle-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .footer-bottom-links {
    text-align: center;
    margin-top: 15px;
  }
  
  .footer-bottom-links a {
    margin: 0 10px;
  }
  
  .language-selector {
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }
  
  .language-link {
    margin: 0 5px !important;
  }
  
  .motorcycle-type-card {
    margin-bottom: 20px;
  }
  
  .motorcycle-type-icon {
    width: 50px;
    height: 50px;
  }
  
  .motorcycle-type-icon i {
    font-size: 1.5rem;
  }
  
  .motorcycle-type-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 100px;
  }
  
  .hero-background {
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .pricing-info {
    width: 100%;
    justify-content: space-around;
  }
  
  .motorcycle-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .motorcycle-actions .btn {
    width: 100%;
  }
  
  .language-selector {
    margin-top: 15px;
  }
  
  .language-link {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .motorcycle-type-card {
    padding: 25px 15px;
  }
  
  .motorcycle-type-icon {
    width: 45px;
    height: 45px;
  }
  
  .motorcycle-type-icon i {
    font-size: 1.3rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

/* ===== WHATSAPP STYLES ===== */
.whatsapp-container {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.whatsapp-option {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  border-left: 4px solid #25D366;
}

.whatsapp-option h5 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.btn-success {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}

.btn-success:hover {
  background: #20B954;
  border-color: #20B954;
  color: var(--white);
  transform: translateY(-2px);
}

.contact-alternative {
  border-left: 4px solid var(--gray);
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-light-gray { background-color: var(--light-gray) !important; }

.border-primary { border-color: var(--primary-color) !important; }

.shadow-custom { box-shadow: var(--shadow-md); }

.border-radius-lg { border-radius: var(--border-radius-lg); }

/* ===== CUSTOM COMPONENTS ===== */
.highlight-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-image {
  height: 200px;
  overflow: hidden;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.highlight-card:hover .highlight-image img {
  transform: scale(1.05);
}

.highlight-content {
  padding: 20px;
}

.valencia-highlights {
  background: var(--light-gray);
}

.featured-motorcycles {
  background: var(--white);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}