/* ==========
   Base styles
   ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020314;
  color: #f9f9ff;
  line-height: 1.6;
}

/* Remove default link styling */
a {
  color: inherit;
  text-decoration: none;
}

/* ==========
   Layout helpers
   ========== */

.section {
  padding: 48px 16px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.section h1,
.section h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.section-text {
  max-width: 720px;
  margin: 0 0 20px;
  color: #a3b1ff;
}

/* ==========
   Header / nav
   ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(3, 1, 20, 0.9);
  border-bottom: 1px solid rgba(125, 106, 255, 0.3);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.logo-image {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 6px 0;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
  color: #e0e3ff;
}

/* Stack nav on very small screens */
@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========
   Buttons
   ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  background: linear-gradient(135deg, #7d5cff, #c845ff);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(125, 92, 255, 0.4),
              0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: #d0d6ff;
  border: 1px solid rgba(151, 136, 255, 0.7);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(151, 136, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* ==========
   Hero (home)
   ========== */

.hero {
  padding: 64px 16px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #a3b1ff;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #8e9aff;
}

.hero-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  background: radial-gradient(circle at top, #22154d, #050313);
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

@media (max-width: 840px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image-wrap {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ==========
   Cards / grids
   ========== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.service-card {
  background: radial-gradient(circle at top left, #151235, #050316);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(126, 122, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: #b4c0ff;
  font-size: 0.9rem;
}

.service-card .btn-small {
  margin-top: auto;
}

/* Product cards inherit service styles and add price */
.product-card .price {
  margin-top: 4px;
  font-weight: 600;
  color: #ffdf7a;
  font-size: 0.95rem;
}

/* ==========
   Images in cards
   ========== */

.product-image {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #050814;
}

.contact-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

/* ==========
   Text boxes / about
   ========== */

.about-box {
  background: radial-gradient(circle at top left, #17193a, #050316);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(126, 122, 255, 0.25);
  font-size: 0.92rem;
  color: #c1c8ff;
}

/* Small highlighted text like notes */
.booking-note {
  font-size: 0.86rem;
  color: #9ea6ff;
}

/* ==========
   Forms (book, checkout, contact)
   ========== */

form {
  margin-top: 10px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 18px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
  color: #c5ccff;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 111, 255, 0.5);
  background: #05061a;
  color: #f9f9ff;
  font-size: 0.92rem;
  outline: none;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b18bff;
  box-shadow: 0 0 0 1px rgba(177, 139, 255, 0.6);
}

/* Tag / chip style small labels */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(98, 99, 255, 0.18);
  color: #c6caff;
}

/* ==========
   Layout helpers: book / checkout
   ========== */

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .booking-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cart styling in checkout and sidebar */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.9rem;
}

.cart-table th,
.cart-table td {
  padding: 8px 6px;
}

.cart-table th {
  text-align: left;
  font-weight: 500;
  color: #c7ceff;
  border-bottom: 1px solid rgba(135, 134, 255, 0.35);
}

.cart-table td {
  border-bottom: 1px solid rgba(33, 36, 89, 0.7);
}

.cart-qty-input {
  width: 56px;
  text-align: center;
}

.cart-remove {
  background: transparent;
  border: none;
  color: #ff8f8f;
  cursor: pointer;
  font-size: 0.8rem;
}

/* ==========
   Contact page
   ========== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.contact-card {
  background: radial-gradient(circle at top left, #161842, #040318);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(126, 122, 255, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  font-size: 0.93rem;
}

.contact-card p {
  margin: 6px 0;
}

@media (max-width: 880px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========
   Utility
   ========== */

.text-muted {
  color: #9da7ff;
  font-size: 0.88rem;
}

.text-center {
  text-align: center;
}

/* ==========
   Footer
   ========== */

.site-footer {
  border-top: 1px solid rgba(125, 106, 255, 0.25);
  padding: 14px 16px 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #9ea5ff;
  margin-top: 30px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  height: 40px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-top: 20px;
}

/* Stack products and cart on smaller screens */
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 32px 14px 40px;
  }

  .hero {
    padding: 40px 14px 24px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .nav {
    padding: 10px 10px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-card {
    padding: 14px 14px 12px;
  }
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: flex-start;
}

/* On tablets and phones, stack the columns */
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


.cart-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* If your JS wraps buttons in a row, let them wrap nicely on small screens */
@media (max-width: 600px) {
  .cart-item-row,
  .cart-item-controls {
    flex-wrap: wrap;
  }
}

.cart-floating-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(4, 0, 32, 0.96);
  border-top: 1px solid #2b1b57;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 50;
  font-size: 0.95rem;
}

/* hide on desktop, only show on small / medium screens */
@media (min-width: 901px) {
  .cart-floating-bar {
    display: none;
  }
}

/* allow JS to hide it when cart is empty */
.cart-floating-bar.is-hidden {
  display: none;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  background: #f1eff8; /* fallback if image fails */
}


.hero {
  background: linear-gradient(120deg, #040020, #2a138e);
  padding: 80px 20px;
  color: white;
  border-radius: 14px;
}
