/* SeminyakVibes - Premium Travel Agency Styles */

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

:root {
  --primary-yellow: #ffd700;
  --black: #000000;
  --dark-gray: #1a1a1a;
  --light-gray: #333333;
  --white: #ffffff;
  --text-gray: #cccccc;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: var(--dark-gray);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

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

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-yellow);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Menu Desktop */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-yellow);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-yellow);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-yellow);
}

/* Button */
.btn-register {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: var(--primary-yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-yellow);
}

.btn-register:hover {
  background-color: transparent;
  color: var(--primary-yellow);
  transform: scale(1.05);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 2000;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-yellow);
  transition: all 0.3s ease;
}

/* ========================= */
/* MOBILE VERSION */
/* ========================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-gray);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .btn-register {
    margin-top: 1rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("https://bali-indo.site/balipoker333/seminyak.jpg") center / cover;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-yellow);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1.2s ease;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-yellow);
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-yellow);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-yellow);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--primary-yellow);
  margin: 1rem auto;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--dark-gray);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--light-gray);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

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

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

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  color: var(--primary-yellow);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.card-content p {
  color: var(--text-gray);
  line-height: 1.8;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background-color: var(--dark-gray);
  border: 1px solid var(--light-gray);
  color: var(--white);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

/* Footer */
footer {
  background-color: var(--dark-gray);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
  color: var(--text-gray);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.2);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  color: var(--primary-yellow);
  font-size: 1.2rem;
}

/* Testimonial */
.testimonial {
  background-color: var(--dark-gray);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-yellow);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateX(10px);
}

.testimonial-text {
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  color: var(--primary-yellow);
  font-weight: bold;
}

/* Blog Post */
.blog-post {
  background-color: var(--dark-gray);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-content h2 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.blog-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--dark-gray);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    padding: 2rem 0;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .container {
    padding: 2rem 1rem;
  }
}
