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

:root {
  /* Luxury Minimalist Palette */
  --book-bg: #ffffff;
  --book-surface: #fcfcfc;
  --book-primary: #1d1d1f;
  /* Deep Charcoal */
  --book-secondary: #86868b;
  /* Soft Gray Text */
  --book-accent: #c0a062;
  /* Subtle Gold */
  --book-border: #eaeaec;

  --book-font-serif: 'Playfair Display', serif;
  --book-font-sans: 'Inter', sans-serif;

  --book-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --book-shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);

  --book-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
  font-family: var(--book-font-sans);
  background-color: var(--book-bg);
  color: var(--book-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navbar */
.book-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--book-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: padding 0.3s;
}

.book-nav .brand {
  font-family: var(--book-font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--book-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.book-nav .brand span {
  font-style: italic;
  color: var(--book-accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--book-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

/* Buttons */
.btn-luxe {
  background: var(--book-primary);
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--book-primary);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-luxe::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-luxe:hover::after {
  width: 300px;
  height: 300px;
}

.btn-luxe:hover {
  background: transparent;
  color: var(--book-primary);
}

.btn-luxe.clicked {
  background: #f0f0f0;
  color: var(--book-secondary);
  border-color: #f0f0f0;
}

/* Outline button */
.btn-outline {
  padding: 0.6rem 2rem;
  border-radius: 2px;
  border: 1px solid var(--book-border);
  color: var(--book-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--book-transition);
  cursor: pointer;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--book-primary);
  background: var(--book-surface);
}

.btn-outline.clicked {
  background: var(--book-primary);
  color: white;
}

/* Hero Section */
.book-hero {
  padding: 12rem 5% 6rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.book-hero h1 {
  font-family: var(--book-font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--book-primary);
}

.book-hero p {
  font-family: var(--book-font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--book-secondary);
  max-width: 600px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

/* Search Bar Minimal */
.search-bar {
  background: white;
  border: 1px solid var(--book-border);
  border-radius: 4px;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--book-shadow-sm);
  transition: box-shadow 0.3s;
}

.search-bar:hover {
  box-shadow: var(--book-shadow-hover);
  border-color: #ccc;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--book-primary);
  font-family: var(--book-font-sans);
  font-size: 1rem;
  outline: none;
  font-weight: 300;
}

.search-input::placeholder {
  color: var(--book-secondary);
}

.search-bar .divider {
  width: 1px;
  height: 30px;
  background: var(--book-border);
}

/* Image Grid Details */
.hotel-section {
  padding: 5rem 5%;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--book-font-serif);
  font-size: 2.5rem;
  font-weight: 400;
}

.section-header p {
  color: var(--book-secondary);
  font-weight: 300;
  margin-top: 0.5rem;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: stretch;
}

.hotel-card {
  background: transparent;
  overflow: hidden;
  transition: var(--book-transition);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hotel-card:hover .h-image-inner {
  transform: scale(1.05);
}

.h-image {
  width: 100%;
  height: 350px;
  background: var(--book-surface);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.h-image-inner {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.h-image svg {
  width: 32px;
  height: 32px;
  color: #ccc;
}

.h-title {
  font-family: var(--book-font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.h-location {
  color: var(--book-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.hotel-card>p {
  color: var(--book-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.h-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--book-border);
  gap: 1.5rem;
  min-height: 60px;
}

.h-price {
  font-size: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  min-width: max-content;
}

.h-price span {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--book-secondary);
}

.h-bottom .btn-action {
  flex-shrink: 0;
  min-width: 100px;
  text-align: center;
}

/* Services Section */
.services-section {
  padding: 8rem 5%;
  background: var(--book-surface);
  position: relative;
  z-index: 1;
}

.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.s-card {
  text-align: center;
}

.s-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
  color: var(--book-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-card h3 {
  font-family: var(--book-font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.s-card p {
  color: var(--book-secondary);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Back Link */
.back-link {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  border: 1px solid var(--book-border);
  color: var(--book-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 100;
  box-shadow: var(--book-shadow-sm);
  transition: var(--book-transition);
}

.back-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--book-shadow-hover);
}

/* Interactive button styling */
.btn-interactive {
  transition: all 0.3s ease;
}

.btn-interactive.processing {
  opacity: 0.7;
  pointer-events: none;
}

.btn-interactive.success {
  background-color: var(--book-border);
  color: var(--book-primary);
  border-color: var(--book-border);
}

@media(max-width: 1200px) {
  .hotel-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  .s-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
  }
}

@media(max-width: 900px) {
  .s-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .search-bar {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    align-items: stretch;
  }

  .search-bar .divider {
    height: 1px;
    width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .h-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .h-bottom .btn-action {
    width: 100%;
  }
}

@media(max-width: 768px) {
  .book-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

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

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

  .btn-luxe,
  .btn-outline {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
  }

  .h-bottom {
    gap: 1rem;
  }
}

@media(max-width: 480px) {
  .book-hero {
    padding: 8rem 5% 4rem;
  }

  .search-bar {
    padding: 1rem;
    gap: 0.5rem;
  }

  .search-input {
    font-size: 0.9rem;
  }

  .btn-luxe,
  .btn-outline {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }

  .h-image {
    height: 250px;
    margin-bottom: 1rem;
  }

  .h-bottom {
    flex-direction: column;
  }

  .h-bottom .btn-action {
    width: 100%;
  }
}