/* FONT & VARIABEL WARNA */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #1e272e;
  --secondary-color: #0984e3;
  --accent-color: #ff6b6b;
  --background-light: linear-gradient(to right, #f1f2f6, #dfe4ea);
  --text-color: #2f3542;
  --white-color: #ffffff;
  --border-radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* RESET & DASAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background-light);
  color: var(--text-color);
  line-height: 1.7;
  min-height: 100vh;
  transition: all 0.3s ease-in-out;
}

/* HEADER / NAVIGASI */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  margin: 1.5rem 2rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

nav .logo {
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s ease;
}

nav .logo:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  transition: 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--secondary-color);
  width: 0;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

nav ul li a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 1s ease-in;
}

.hero h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Tombol CTA */
.cta-button {
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  background: var(--secondary-color);
  color: var(--white-color);
  box-shadow: 0 8px 20px rgba(9, 132, 227, 0.4);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.cta-button:hover {
  background-color: #007acc;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(9, 132, 227, 0.6);
}

/* KARTU MOBIL */
.car-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.car-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.4s ease;
  transform: scale(1);
}

.car-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.car-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.car-card .car-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.car-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.car-card .price {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: auto;
}

/* FORM RESERVASI */
.reservation-form {
  background-color: var(--white-color);
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 750px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease-in-out;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s ease;
}

.reservation-form input:focus,
.reservation-form select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(26, 69, 103, 0.2);
  outline: none;
}

.submit-cell {
  text-align: center;
  padding-top: 2rem;
}

/* ANIMASI */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FONT & VARIABEL WARNA */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #0a3d62;
  --secondary-color: #38ada9;
  --accent-color: #f6b93b;
  --background-light: #f1f2f6;
  --text-color: #2f3542;
  --white-color: #ffffff;
  --border-radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* BODY UTAMA */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--background-light);
  color: var(--text-color);
  line-height: 1.7;
  min-height: 100vh;
}

/* HEADER */
header {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  margin: 1.5rem 2rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* LOGO NAV */
nav .logo {
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s ease;
}

nav .logo:hover {
  color: var(--accent-color);
  transform: scale(1.05);
}

/* MENU NAVIGASI */
nav ul li a {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #ffffff, #e0f7f5);
  border-radius: var(--border-radius);
  margin: 2rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

/* CTA BUTTON */
.cta-button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(56, 173, 169, 0.5);
}

.cta-button:hover {
  background-color: #1e8681;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(56, 173, 169, 0.7);
}

footer {
  position: relative;
  background: linear-gradient(to bottom, #38ada9, #0a3d62);
  /* Gradient tosca ke biru tua */
  color: #ecf0f1;
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-top: 4rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Efek Glow Lembut di Latar Belakang Footer */
footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Efek animasi glow berdenyut */
@keyframes pulseGlow {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translateX(-50%) scale(1.2);
    opacity: 0.7;
  }
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4rem;
}

/* ========== GOOGLE FONT ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* ========== ROOT VARIABEL ========== */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #38ada9;
  --accent-color: #f6b93b;
  --text-color: #2f3542;
  --background: #f1f2f6;
  --white: #fff;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

/* ========== RESET & BODY ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text-color);
  line-height: 1.6;
}

/* ========== HEADER & NAVIGASI ========== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: var(--primary-color);
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* ========== JUDUL HALAMAN ========== */
main h2 {
  text-align: center;
  font-size: 2.3rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--primary-color);
}

/* ========== GALERI MOBIL ========== */
.car-gallery {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem 2rem 3rem;
}

/* ========== KARTU MOBIL ========== */
.car-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.car-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.car-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(10%) brightness(1.05);
  transition: filter 0.3s ease;
}

.car-card:hover img {
  filter: none;
}

.car-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.car-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.car-card .price {
  font-weight: bold;
  color: var(--secondary-color);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ========== TOMBOL SEWA ========== */
.cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s;
  margin-bottom: 1.2rem;
}

.cta-button:hover {
  background: #1e8681;
  transform: scale(1.05);
}

/* ========== PEMBATAS GELOMBANG ========== */
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
  margin-top: 3rem;
}

/* ========== BAGIAN HERO ========== */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(to bottom right, #38ada9, #ffffff);
  color: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 160%;
  height: 160%;
  top: -20%;
  left: -30%;
  background: radial-gradient(circle, rgb(255, 255, 255) 10%, transparent 70%);
  animation: floatLight 10s linear infinite;
  z-index: 0;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

@keyframes floatLight {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ========== SECTION TENTANG KAMI ========== */
.content-section {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 16px;
  max-width: 900px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.content-section h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
}

/* ========== WAVE PEMBATAS ========== */
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
  margin-top: 3rem;
}

/* BAGIAN TENTANG KMI
/* KONTAK - MODERN & CLEAN */
.contact-info {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 255, 255, 0.9));
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin: 0 auto 3rem;
  max-width: 850px;
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: var(--text-color);
}

/* MAP SECTION STYLING     */
.map-container {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 18px;
  max-width: 1000px;
  margin: 0 auto 4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.map-container h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.map-container iframe {
  width: 100%;
  max-width: 100%;
  height: 450px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
}

.map-container iframe:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* JUDUL HALAMAN            */
main h2 {
  text-align: center;
  font-size: 2.6rem;
  margin: 3rem 0 2rem;
  color: var(--primary-color);
  animation: fadeInDown 1s ease-in-out;
}

/* ANIMASI MASUK HALUS     */
@keyframes fadeInDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* NAVBAR
/* NAVBAR STYLING - MODERN GLASS  */
.navbar {
  position: sticky;
  top: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 1.5rem auto;
  padding: 1rem 2.5rem;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #2c3e50;
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s ease;
}

/* Animated underline */
.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #38ada9;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #38ada9;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a.active {
  color: #f6b93b;
  font-weight: 700;
}

.nav-links li a.active::after {
  width: 100%;
  background-color: #f6b93b;
}

