/* ===== BLUE LAGOON HOTEL & MARINA - MAIN STYLES ===== */

/* Brand palette */
:root {
  --brand-900: #001a33;
  --brand-800: #00264d;
  --brand-700: #003366;
  --brand-600: #074a8a;
  --brand-500: #0a66cc;
  --brand-400: #2a84e3;
  --brand-100: #e7eff8;
  --brand-50: #f3f7fc;
  --ink: #101828;
  --muted: #5b6777;
  --bg-soft: #f5f8fc;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #fff;
  color: #111827;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

.h2 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .h2 {
    font-size: 2.25rem;
  }
}

.p {
  color: #4b5563;
}

.elevated-text {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-700), var(--brand-600));
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.btn-outline {
  background: #fff;
  border-color: var(--brand-500);
  color: var(--brand-700);
}

.btn-outline:hover {
  background: var(--brand-50);
}

/* Cards */
.card {
  border: 1px solid #e6edf5;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 14px 36px rgba(0, 51, 102, 0.14);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 6px 18px -6px rgba(8, 45, 95, 0.35);
  border-bottom: 1px solid rgba(10, 60, 140, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .navbar .container {
    height: 80px;
    padding: 0 1.5rem;
  }
}

.navbar-logo img {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 768px) {
  .navbar-logo img {
    height: 2rem;
  }
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--brand-700);
  background: var(--brand-50);
}

.nav-spacer {
  height: 72px;
}

@media (min-width: 768px) {
  .nav-spacer {
    height: 80px;
  }
}

/* Hero Slider */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 40, 80, 0.35);
}

.hero-controls {
  position: absolute;
  z-index: 10;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-700);
  border: none;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.hero-arrow:hover {
  background: #fff;
}

.hero-arrow.prev {
  left: 0.75rem;
}

.hero-arrow.next {
  right: 0.75rem;
}

.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: #fff;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero-content .subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  margin-top: 2rem;
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

section[id] {
  scroll-margin-top: 84px;
}

.section-tint {
  background: linear-gradient(180deg, #fff, var(--brand-50));
}

.section-dark {
  background: linear-gradient(180deg, #0e2a4a, #153a5f);
  color: #fff;
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.section-dark .p,
.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Room Cards */
.room-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.room-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.room-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.badge-pulse {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 9999px;
  color: #fff;
  background: var(--brand-700);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.room-price {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.room-price .old-price {
  text-decoration: line-through;
  opacity: 0.7;
  margin-right: 0.5rem;
}

.room-price .current-price {
  font-weight: 600;
  color: var(--brand-700);
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #334155;
}

.room-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
}

/* Amenities List */
.amenity-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.check-icon {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  color: var(--brand-700);
  flex-shrink: 0;
}

/* Image containers */
.image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Notice Popup */
.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 1;
  transition: opacity 0.3s;
}

.notice-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.notice-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 32rem;
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.notice-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-700);
}

.notice-content p {
  margin-top: 0.5rem;
}

.notice-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  border-radius: 9999px;
  padding: 0.75rem 0.9rem;
  background: var(--brand-700);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-2px);
}

/* Map container */
.map-container {
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: none;
}

@media (min-width: 768px) {
  .map-container iframe {
    height: 420px;
  }
}

/* Footer */
.footer-dark {
  background: linear-gradient(180deg, #0b3762 0%, #0f4a84 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Contact Page Specific */
.contact-hero {
  background: linear-gradient(to bottom, var(--bg-soft), #fff, var(--brand-50));
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .contact-hero {
    padding: 3.5rem 0;
  }
}

.contact-hero h1 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--brand-800);
}

@media (min-width: 768px) {
  .contact-hero h1 {
    font-size: 3rem;
  }
}

.info-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  font-weight: 600;
  color: var(--brand-800);
}

.info-card a {
  color: var(--brand-700);
  text-decoration: underline;
}

/* Location section */
.location-section {
  background: linear-gradient(180deg, #14345c, #1c467a, #1e4f8c);
  color: #fff;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .location-section {
    padding: 6rem 0;
  }
}

.location-section h2 {
  color: #fff;
  letter-spacing: -0.025em;
}

.location-section .p {
  color: rgba(255, 255, 255, 0.85);
}

.location-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.location-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.location-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.location-card p {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.airport-notice {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.airport-notice a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid var(--brand-100);
  color: var(--brand-800);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+ ';
  margin-right: 0.5rem;
}

.faq-item[open] summary::before {
  content: '− ';
}

.faq-item p {
  margin-top: 0.5rem;
  color: #334155;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.flex-wrap {
  flex-wrap: wrap;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hr-soft {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  border: none;
  margin: 2.5rem 0;
}
