/* CSS Styles for MOTO & BUGGY RENTAL - Fully Mobile Responsive */
:root {
  --bg-dark: #0f1115;
  --bg-card: #181b22;
  --bg-card-hover: #1f232d;
  --accent: #ff5500;
  --accent-hover: #ff6e26;
  --accent-glow: rgba(255, 85, 0, 0.4);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #2b303c;
  --font-main: 'Montserrat', sans-serif;
  --font-accent: 'Teko', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

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

.logo-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

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

.mobile-nav-contact {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
}

.phone-link svg {
  stroke: var(--accent);
  flex-shrink: 0;
}

.phone-link:hover {
  color: var(--accent);
}

/* Burger Button */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.burger-btn span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-btn.open span:nth-child(2) {
  opacity: 0;
}

.burger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e04400 100%);
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover, .btn-primary:active {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #f04e00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover, .btn-outline:active {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 20%, rgba(255, 85, 0, 0.18) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(30, 41, 59, 0.4) 0%, transparent 50%),
              var(--bg-dark);
  padding: 70px 0 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sections */
.section-header {
  margin-bottom: 40px;
}

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

.section-tag {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 4.5vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: clamp(14px, 2vw, 16px);
  margin-top: 10px;
  max-width: 600px;
}

/* Catalog */
.catalog {
  padding: 80px 0;
  background-color: #12151b;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 85, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.card-badge.hot {
  background: var(--accent);
  border-color: var(--accent);
}

.card-img-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  background-color: #0a0b0d;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.card-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.specs-grid {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 10px;
}

.spec-name {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.spec-val.highlight {
  color: #10b981;
}

.card-price-block {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  gap: 16px;
}

.price-info {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.price-val {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}

.price-currency {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Features */
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-box {
  background: var(--bg-card);
  padding: 26px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 85, 0, 0.3);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Rules / Steps */
.rules {
  padding: 80px 0;
  background-color: #12151b;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  padding: 28px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.step-num {
  font-size: 40px;
  font-weight: 900;
  color: rgba(255, 85, 0, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.step-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Booking Section */
.booking {
  padding: 80px 0;
}

.booking-wrapper {
  background: linear-gradient(135deg, #1b202a 0%, #13161c 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.booking-text .section-title {
  margin-bottom: 16px;
}

.booking-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.booking-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-perks li {
  font-size: 14px;
  font-weight: 600;
  color: #10b981;
}

.booking-form {
  background: var(--bg-card);
  padding: 30px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.form-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-select-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 8px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, select {
  width: 100%;
  padding: 13px 14px;
  background-color: #0f1115;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 15px; /* Minimum 16px on iOS prevents auto-zoom, 15-16 is ideal */
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  padding-right: 36px;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-policy {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

/* Footer */
.footer {
  background-color: #090a0d;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 14px;
  max-width: 320px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-contact-item {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-contact-item a {
  color: #fff;
  text-decoration: none;
}

.footer-contact-item strong {
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid var(--accent);
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.modal-icon {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-weight: 900;
}

.modal-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 14px;
}

/* ========================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE SMARTPHONES)
   ======================================================== */

@media (max-width: 992px) {
  .burger-btn {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  /* Fullscreen / slide-down mobile menu */
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 30px 24px 40px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-contact {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header {
    padding: 12px 0;
  }

  .logo {
    font-size: 21px;
  }

  .phone-text {
    display: none; /* Icon only on small screens to save header space */
  }

  .phone-link {
    padding: 8px;
    background: rgba(255, 85, 0, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(255, 85, 0, 0.3);
  }

  .hero {
    min-height: auto;
    padding: 40px 0 50px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
  }

  .stat-item {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  .catalog, .features, .rules, .booking {
    padding: 50px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-img-wrap {
    height: 220px;
  }

  .card-body {
    padding: 20px 16px;
  }

  .card-price-block {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .card-price-block .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-wrapper {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .booking-form {
    padding: 20px 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 0 0;
  }
}
