/* 
  =========================================
  CSS VARIABLES & RESET
  ========================================= 
*/
:root {
  --bg-warm: #fcf9f2; /* Cream/Vintage Paper */
  --bg-light: #fdfbf7;
  --text-primary: #3b3a36; /* Soft charcoal */
  --text-secondary: #6e6b63;
  --accent-blue: #7fbcf5; /* Sky blue from image */
  --accent-orange: #f28b50; /* Warm sunset orange */
  --border-color: #e5ded2;
  --font-main: 'Nunito', sans-serif;
  --font-cursive: 'Caveat', cursive;
  --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e5ded2' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 
  =========================================
  TYPOGRAPHY & UTILITIES
  ========================================= 
*/
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: #2c3e50;
}

.handwriting {
  font-family: var(--font-cursive);
  font-weight: 700;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.warm-section {
  background: var(--bg-warm);
  border-top: 2px dashed var(--border-color);
  border-bottom: 2px dashed var(--border-color);
}

.light-section {
  background: transparent;
}

/* 
  =========================================
  BUTTONS
  ========================================= 
*/
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px; /* Rounded rectangles, friendlier */
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-align: center;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.primary-btn {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 3px 3px 0px #d46b32;
}

.primary-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #d46b32;
}

.primary-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #d46b32;
}

.large-btn {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

/* 
  =========================================
  POSTCARD STYLING
  ========================================= 
*/
.postcard {
  background: #fff;
  border: 12px solid #fff;
  border-bottom-width: 35px; /* Polaroid/Postcard feel */
  box-shadow: 2px 4px 15px rgba(0,0,0,0.08);
  transition: var(--transition-smooth);
  position: relative;
}

/* Add a little postage stamp detail to some cards */
.postcard::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(#fff 20%, transparent 20%);
  background-size: 10px 10px;
  background-color: var(--accent-blue);
  border: 2px solid #fff;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  transform: rotate(5deg);
  opacity: 0.8;
}

.postcard:hover {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 5px 15px 30px rgba(0,0,0,0.12);
}

.postcard-banner {
  background: #fff;
  padding: 4rem;
  border: 4px dashed var(--accent-blue);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* 
  =========================================
  NAVIGATION
  ========================================= 
*/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(252, 249, 242, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-size: 2.2rem;
  color: var(--accent-blue);
  transform: rotate(-3deg);
}

.logo span {
  color: var(--accent-orange);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 800;
  color: var(--text-primary);
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--accent-orange);
}

.nav-cta {
  background: var(--accent-blue);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  box-shadow: 2px 2px 0px #5c99cf;
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #5c99cf;
  color: #fff;
}

/* 
  =========================================
  HERO SECTION
  ========================================= 
*/
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/omaha_postcard.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 15px solid #fff; /* Polaroid style bottom */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* Much lighter overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.postcard-stamp-hero {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 3rem;
  border: 3px dashed var(--accent-blue);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: rotate(-1deg);
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-orange);
  animation: fadeUp 1s ease-out forwards;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  font-weight: 600;
  animation: fadeUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* 
  =========================================
  BIKES SECTION
  ========================================= 
*/
.bike-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.bike-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.bike-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.bike-info h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.bike-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.features {
  list-style: none;
  background: var(--bg-warm);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.features li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 
  =========================================
  PRICING SECTION
  ========================================= 
*/
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.pricing-card {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.pricing-card::after {
  display: none; /* remove stamp from pricing cards */
}

.pricing-card h3 {
  font-size: 2rem;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.highlight-card {
  transform: scale(1.05);
  border-color: var(--accent-blue);
  border-width: 4px;
  border-style: dashed;
}
.highlight-card:hover {
  transform: scale(1.08);
}

.premium-card {
  background: var(--bg-warm);
}

.premium-card .note {
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-top: 1rem;
  font-weight: 800;
}

/* 
  =========================================
  REVIEWS SECTION
  ========================================= 
*/
.review-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
}

.review-form-container::after {
  display: none; /* No stamp */
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: #fff;
}

.submit-btn {
  width: 100%;
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 3px 3px 0px #5c99cf;
}

.submit-btn:hover {
  background: #6eabec;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #d1fae5;
  border: 2px solid #34d399;
  border-radius: 8px;
  color: #065f46;
  text-align: center;
  font-weight: 800;
}

.hidden {
  display: none;
}

/* 
  =========================================
  FOOTER
  ========================================= 
*/
.footer {
  padding: 4rem 0;
  text-align: center;
  background: var(--bg-warm);
  border-top: 2px dashed var(--border-color);
}

.footer p {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer .disclaimer {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* 
  =========================================
  ANIMATIONS & RESPONSIVE
  ========================================= 
*/
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

@media (max-width: 900px) {
  .bike-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 4rem;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    flex-direction: column;
  }
  .hero-title {
    font-size: 3rem;
  }
  .section {
    padding: 3rem 0;
  }
  .postcard-stamp-hero {
    padding: 2rem 1rem;
  }
}

/* 
  =========================================
  CUSTOM CALENDAR
  ========================================= 
*/
.calendar-container {
  background: var(--bg-warm);
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header h4 {
  font-size: 1.5rem;
  color: var(--accent-orange);
}

.cal-nav-btn {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.cal-nav-btn:hover {
  transform: scale(1.1);
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.calendar-day:not(.empty):not(.disabled):hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.calendar-day.selected {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
  transform: scale(1.05);
  box-shadow: 2px 2px 0px #d46b32;
}

.calendar-day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.calendar-day.disabled {
  background: #f0f0f0;
  color: #ccc;
  cursor: not-allowed;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.slot-btn {
  background: #fff;
  border: 2px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--accent-blue);
  background: #f0f7ff;
}

  .slot-btn.selected {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 2px 2px 0px #5c99cf;
}

/* 
  =========================================
  TIME GRID CUSTOM UI
  ========================================= 
*/
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 0.5rem;
}

/* Custom Scrollbar for Time Grid */
.time-grid::-webkit-scrollbar {
  width: 6px;
}
.time-grid::-webkit-scrollbar-track {
  background: var(--bg-warm);
  border-radius: 4px;
}
.time-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.time-chip {
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.time-chip:not(.disabled):hover {
  border-color: var(--accent-blue);
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.time-chip.selected {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 2px 2px 0px #5c99cf;
}

.time-chip.disabled {
  background: #fcfcfc;
  color: #d1d1d1;
  cursor: not-allowed;
  border-color: #f0f0f0;
}

.time-chip.partial {
  border-style: dashed;
  border-width: 2px;
  border-color: var(--accent-orange);
  background: #fffdf5;
  color: var(--text-primary);
  font-size: 0.85rem;
}
.time-chip.partial:hover {
  border-style: dashed;
  border-color: var(--accent-orange);
  background: #fff8e1;
}
.time-chip.partial.selected {
  background: var(--accent-orange);
  color: #fff;
  border-style: solid;
  border-color: var(--accent-orange);
  box-shadow: 2px 2px 0px #d47e4b;
}

/* Custom Modal */
.custom-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.custom-modal-overlay:not(.hidden) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-modal-box {
  background: var(--bg-light);
  border: 4px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 450px;
  text-align: center;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
  margin: 1rem;
}

/* Toggle Switch Component */
.toggle-btn input:checked + .toggle-content {
    border-color: var(--accent-orange) !important;
    background: #fff3e0 !important;
    color: var(--accent-orange) !important;
    box-shadow: 2px 2px 0px #d47e4b;
    transform: translateY(-2px);
}
.toggle-btn .toggle-content:hover {
    background: var(--bg-warm);
    border-color: var(--accent-blue);
}
