/* 
  Jubin Tour Website Style.css 
  Premium, Minimalist, Light Mode Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", ui-serif, Georgia, serif;
  
  --color-ocean: #0ea5e9;
  --color-ocean-light: #e0f2fe;
  --color-ink: #0f172a;
  --color-ink-light: #475569;
  --bg-color: #f8fafc;
}

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

body {
  background-color: var(--bg-color);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

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

/* Background Blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background-color: rgba(165, 243, 252, 0.4);
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background-color: rgba(191, 219, 254, 0.4);
}

.blob-3 {
  top: 30%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background-color: rgba(233, 213, 255, 0.3);
}

.content-wrapper {
  position: relative;
  z-index: 10;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1/px solid rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ocean);
  letter-spacing: -0.025em;
}

/* Hero Section */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-ink);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-ink-light);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(to right, #0891b2, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tours Grid */
.tours-container {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  border-color: var(--color-ocean);
}

.tour-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.tour-content {
  padding: 1.5rem;
}

.tour-category {
  color: var(--color-ocean);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tour-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
}

.price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-ink-light);
}

.book-btn {
  background: var(--color-ocean);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.book-btn:hover {
  background: #0284c7;
  transform: scale(1.05);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 2rem;
  padding: 0;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.modal-body-padding {
  padding: 2.5rem;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

/* Form Styling */
.booking-form {
  margin-top: 3rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-ocean);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Gallery Styling */
.modal-gallery {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.modal-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-thumb:hover, .modal-thumb.active {
  border-color: var(--color-ocean);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .modal-gallery {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
  .modal-body-padding { padding: 1.5rem; }
  .guest-grid { grid-template-columns: 1fr; }
}
