/* --------------------------------------------------

    SHARED BASE STYLES

-------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root {
  --navy: #1e3254;
  --cream: #faf8f4;
  --terra: #c0614a;
  --muted: #6b7280;
}

/* --------------------------------------------------
   
    SHARED UTILITIES

-------------------------------------------------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.label {
  display: block;
  margin-bottom: 1rem;
  color: var(--terra);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.heading em {
  font-style: italic;
  font-weight: 400;
}

.heading-light {
  color: #fff;
}

.btn {
  display: inline-block;
  padding: .82rem 2rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
  cursor: pointer;
}

.btn:hover {
  opacity: .86;
  transform: scale(1.03);
}

.btn-primary {
  background: var(--terra);
  color: #fff;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .42);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  opacity: 1;
}

/* --------------------------------------------------
   
   SHARED ANIMATION

-------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------

   NAVIGATION

-------------------------------------------------- */

#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background .4s, padding .4s, box-shadow .4s;
}

#nav.scrolled {
  background: rgba(250, 248, 244, .96);
  backdrop-filter: blur(12px);
  padding: .75rem 0;
  box-shadow: 0 1px 16px rgba(0, 0, 0, .06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  transition: color .4s;
}

#nav.scrolled .logo {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: opacity .2s;
}

.nav-links a:hover {
  opacity: .6;
}

#nav.scrolled .nav-links a {
  color: var(--navy);
}

.nav-cta {
  background: var(--terra);
  color: #fff !important;
  padding: .48rem 1.3rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: .85 !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .4s, transform .3s, opacity .3s;
}

#nav.scrolled .burger span {
  background: var(--navy);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------

   HERO SECTION

-------------------------------------------------- */

#hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.623));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1.5rem;
  animation: heroIn .9s ease both;
}

.hero-title {
  margin-bottom: 1.3rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
}

.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  max-width: 480px;
  margin: 0 auto 2.4rem;
  color: rgb(255, 255, 255);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------

   ABOUT SECTION

-------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.2rem;
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  z-index: -1;
  width: 6rem;
  height: 6rem;
  border: 2px solid rgba(192, 97, 74, .28);
  border-radius: 1rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-content p {
  color: var(--muted);
  line-height: 1.8;
}

#about {
  background: var(--cream);
}

@media (min-width: 901px) {
  .about-grid-reverse .about-image {
    order: 2;
  }

  .about-grid-reverse .about-content {
    order: 1;
  }
}

/* --------------------------------------------------

   AREA SECTION

-------------------------------------------------- */

#area {
  background: var(--navy);
}

/* --------------------------------------------------

   ROOMS SECTION

-------------------------------------------------- */

#rooms {
  background: var(--navy);
}

.rooms-header {
  margin-bottom: 3rem;
  text-align: center;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
  color: var(--cream);
}

.amenity-item {
  padding: 32px;
  background-color: transparent;
  border-radius: 24px;
  box-shadow: none;
  text-align: center;
  transition: none;
}

.amenity-item:hover {
  transform: translateY(-6px);
}

.amenity-icon {
  margin-bottom: 18px;
  font-size: 42px;
}

.amenity-item h3 {
  margin-bottom: 10px;
  color: inherit;
  font-size: 20px;
}

.amenity-item p {
  color: #6a7479;
  font-size: 15px;
  line-height: 1.8;
}

/* --------------------------------------------------

   GALLERY SECTION

-------------------------------------------------- */

#gallery {
  background: var(--cream);
}

.gallery-header {
  margin-bottom: 3rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 5.5rem;
  grid-auto-flow: dense;
  gap: .75rem;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  grid-row: span 4;
  min-height: 0;
  border-radius: .9rem;
  overflow: hidden;
}

.gallery-item--featured {
  grid-column: span 5;
  grid-row: span 6;
}

.gallery-item--portrait {
  grid-row: span 6;
}

.gallery-item--wide {
  grid-column: span 7;
  grid-row: span 3;
}

.gallery-item img {
  min-height: 100%;
  transition: transform .6s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* --------------------------------------------------

   PRICING SECTION

-------------------------------------------------- */

#pricing {
  background:
    radial-gradient(circle at top left, rgba(192, 97, 74, .12), transparent 36%),
    linear-gradient(180deg, #fffdf9 0%, #f6f0e7 100%);
}

.pricing-header {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.pricing-intro {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, .9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-board,
.pricing-contact-card {
  padding: 2rem;
  border: 1px solid rgba(30, 50, 84, .08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(30, 50, 84, .08);
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(192, 97, 74, .1), rgba(255, 255, 255, .96));
  border-color: rgba(192, 97, 74, .28);
}

.pricing-board {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pricing-board-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.pricing-board-header h3,
.pricing-contact-card h3 {
  margin: .95rem 0 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.pricing-board-copy {
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.75;
}

.monthly-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.month-price-card {
  min-height: 12rem;
  padding: 1.35rem;
  border: 1px solid rgba(30, 50, 84, .08);
  border-radius: 1.25rem;
  background: rgba(250, 247, 241, .9);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card-label {
  display: inline-flex;
  align-items: center;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(30, 50, 84, .08);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.month-name {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.month-rate-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.month-rate-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(30, 50, 84, .08);
}

.month-rate-row:first-child {
  padding-top: 0;
  border-top: none;
}

.month-rate-label {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.month-rate {
  margin: 0;
  color: var(--terra);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1;
  text-align: left;
}

.month-rate span {
  display: inline;
  margin-top: 0;
  margin-left: .15rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: .74rem;
  font-weight: 500;
}

.month-meta {
  color: var(--navy);
  line-height: 2;
}

.pricing-note,
.pricing-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.pricing-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(192, 97, 74, .18), transparent 32%),
    linear-gradient(180deg, rgba(30, 50, 84, .96), rgba(30, 50, 84, .88));
  border-color: rgba(30, 50, 84, .22);
}

.pricing-contact-card .pricing-card-label,
.pricing-contact-card h3,
.pricing-contact-card .pricing-note {
  color: #fff;
}

.pricing-contact-card .pricing-card-label {
  background: rgba(255, 255, 255, .14);
}

.pricing-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  width: 100%;
}

.pricing-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.pricing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(30, 50, 84, .08);
}

/* --------------------------------------------------

   CONTACT SECTION

-------------------------------------------------- */

#contact {
  background: #f2ede6;
}

.contact-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.contact-header p {
  margin-top: .75rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}

.contact-card h3 {
  margin-bottom: .55rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(192, 97, 74, .12);
  font-size: 1.1rem;
}

.cta-box {
  padding: 2rem 2rem 1.35rem;
  border-radius: 1.4rem;
  background: var(--navy);
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 16px;
  border: 1px solid #dcd3c6;
  border-radius: 14px;
  background-color: #fff;
  color: #2e3739;
  font-family: inherit;
  font-size: 15px;
  transition: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(30, 81, 102, 0.12);
}

.form-status {
  min-height: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
}

.form-status:empty {
  display: none;
}

.contact-form button {
  cursor: pointer;
}

.whatsapp {
  background-color: rgba(21, 255, 0, 0.288); 
  border-radius: 10rem;
  display: inline-block;
  padding: .50rem 1rem;
  border-radius: 999px;
}

/* --------------------------------------------------

   THANK YOU PAGE

-------------------------------------------------- */

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(16, 31, 54, .84), rgba(30, 50, 84, .58)),
    url('bay_view.jpeg') center / cover no-repeat;
}

.thank-you-layout {
  min-height: 100vh;
}

.thank-you-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 0;
}

.thank-you-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(192, 97, 74, .22), transparent 34%),
    linear-gradient(180deg, rgba(8, 19, 35, .28), rgba(8, 19, 35, .58));
}

.thank-you-content {
  position: relative;
  max-width: 760px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.75rem;
  background: rgba(250, 248, 244, .14);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(8, 19, 35, .28);
}

.thank-you-heading {
  color: #fff;
}

.thank-you-copy {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, .86);
  font-size: 1.05rem;
  line-height: 1.9;
}

.thank-you-copy-muted {
  color: rgba(255, 255, 255, .68);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.thank-you-secondary {
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.thank-you-secondary:hover {
  background: rgba(255, 255, 255, .14);
  opacity: 1;
}

/* --------------------------------------------------

   FOOTER SECTION

-------------------------------------------------- */

footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand p:first-child {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand p:last-child {
  margin-top: .18rem;
  color: rgba(255, 255, 255, .32);
  font-size: .78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .38);
  font-size: .78rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, .85);
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .22);
  font-size: .72rem;
  text-align: center;
}

/* --------------------------------------------------

   RESPONSIVE STYLES
   
-------------------------------------------------- */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    aspect-ratio: 16 / 9;
  }

  #about .about-grid {
    gap: 2rem;
  }

  #about .about-image {
    aspect-ratio: 5 / 4;
  }

  #about .about-image img {
    object-position: center top;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .monthly-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-footer {
    justify-content: center;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 5rem;
  }

  .gallery-item,
  .gallery-item--featured,
  .gallery-item--portrait {
    grid-column: span 3;
    grid-row: span 4;
  }

  .gallery-item--wide {
    grid-column: span 6;
    grid-row: span 3;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + .35rem);
    left: 1.5rem;
    right: 1.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    border: 1px solid rgba(30, 50, 84, .08);
    border-radius: 1.25rem;
    background: rgba(250, 248, 244, .98);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(30, 50, 84, .08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: .9rem 0;
    border-bottom: 1px solid rgba(30, 50, 84, .1);
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 500;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .nav-cta {
    margin-top: 1rem;
    padding: .85rem;
    text-align: center;
    border-radius: 999px;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4rem 0;
  }

  .pricing-board,
  .pricing-contact-card {
    padding: 1.5rem;
  }

  .pricing-board-header h3,
  .pricing-contact-card h3 {
    font-size: 1.7rem;
  }

  .monthly-pricing-grid {
    grid-template-columns: 1fr;
  }

  .month-price-card {
    min-height: auto;
  }

  .pricing-footer {
    padding: 1rem 0 0;
    border-top: none;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item--featured,
  .gallery-item--portrait,
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-item--portrait {
    aspect-ratio: 3 / 4;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .thank-you-content {
    padding: 2rem 1.4rem;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .btn {
    width: 100%;
    text-align: center;
  }
}
