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

:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

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

/* Top Bar */
.top-bar {
  background: #2c2c2c;
  color: white;
  padding: 10px 0;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 30px;
}

.top-bar-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.top-bar-link:hover {
  color: var(--primary);
}

.top-bar-right {
  display: flex;
  gap: 15px;
}

.social-link {
  color: white;
  transition: color 0.3s;
}

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

/* Header */
.header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 35px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Nunito", sans-serif;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--text);
}

.hero-features {
  list-style: none;
  margin-bottom: 35px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.hero-features svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-discount {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--primary);
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
}

.discount-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.discount-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-service-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px 25px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.service-badge-title {
  font-weight: 900;
  font-size: 16px;
}

.service-badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Stats Section */
.stats {
  background: var(--text);
  color: white;
  padding: 60px 0;
}

.stats-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

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

.stat-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.9;
}

/* Cars Section */
.cars {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 600;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.car-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.car-image-wrapper {
  position: relative;
  background: #f5f5f5;
  padding: 30px;
}

.car-price-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #2c2c2c;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 18px;
}

.car-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.car-info {
  padding: 25px;
}

.car-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.car-spec {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.car-spec-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.car-spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.car-rent-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  font-family: "Nunito", sans-serif;
}

.car-rent-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
  font-weight: 600;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
  padding: 80px 0;
  text-align: center;
}

.page-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  color: var(--text);
}

.page-subtitle {
  font-size: 20px;
  color: var(--text-light);
  font-weight: 600;
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.feature-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--text);
}

.feature-text {
  color: var(--text-light);
  font-weight: 600;
}

/* Mission Vision */
.mission-vision {
  background: var(--bg-light);
  padding: 80px 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.mv-card {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mv-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary);
}

.mv-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 600;
}

.contact-items {
  display: grid;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.contact-item-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--text);
}

.contact-item-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 15px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
  font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group small {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
}

/* Admin Styles */
.admin-container {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #2c2c2c;
  color: white;
  padding: 30px 0;
}

.admin-logo {
  padding: 0 30px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.admin-logo h2 {
  font-size: 24px;
  font-weight: 800;
}

.admin-nav {
  display: flex;
  flex-direction: column;
}

.admin-nav-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 16px 30px;
  text-align: left;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  text-decoration: none;
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
  background: var(--primary);
  color: white;
}

.admin-main {
  flex: 1;
  padding: 40px;
  background: var(--bg-light);
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-header h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
}

.admin-cars-grid {
  display: grid;
  gap: 20px;
}

.admin-car-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 25px;
  align-items: center;
  box-shadow: var(--shadow);
}

.admin-car-image {
  width: 150px;
  height: 100px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px;
}

.admin-car-details h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.admin-car-specs {
  display: flex;
  gap: 20px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
}

.admin-car-actions {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  background: #666;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  font-family: "Nunito", sans-serif;
}

.btn-secondary:hover {
  background: #555;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  font-family: "Nunito", sans-serif;
}

.btn-danger:hover {
  background: #c82333;
}

/* Settings */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.settings-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.settings-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.logo-preview {
  text-align: center;
  margin: 20px 0;
}

.logo-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

.modal-form {
  padding: 30px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.modal-actions button {
  flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .stats-content {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .admin-car-card {
    grid-template-columns: 1fr;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 10px;
  }

  .top-bar-left {
    flex-direction: column;
    gap: 10px;
  }
}
