/* =============================================================
   Hotel 1620 Plymouth Harbor — style.css
   Palette: Deep Navy #1a2744 | Gold #c49a3c | Ivory #f5f0e8
   Fonts: Cormorant Garamond (headings) + Montserrat (body)
============================================================= */

:root {
  --navy:   #1a2744;
  --navy-dark: #111b34;
  --gold:   #c49a3c;
  --gold-lt: #d4b060;
  --ivory:  #f5f0e8;
  --cream:  #ede8df;
  --white:  #ffffff;
  --text:   #2a2a2a;
  --text-lt: #5a5a5a;
}

/* ---- Base ---- */
*,*::before,*::after { box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; }

p { line-height: 1.8; font-size: 0.95rem; }

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

/* ---- Utility ---- */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-header { margin-bottom: 3.5rem; }
.section-intro {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--text-lt);
  font-size: 0.95rem;
}

/* Section backgrounds */
.section-white  { background: var(--white);  padding: 6rem 0; }
.section-light  { background: var(--ivory);  padding: 6rem 0; }
.section-cream  { background: var(--cream);  padding: 6rem 0; }
.section-navy   { background: var(--navy);   padding: 6rem 0; }

/* ---- Buttons ---- */
.btn-primary-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.85rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
}
.btn-primary-gold:hover {
  background: var(--gold-lt);
  color: var(--navy-dark);
}

.btn-outline-ivory {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245,240,232,0.6);
  padding: 0.85rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
}
.btn-outline-ivory:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(245,240,232,0.9);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

.btn-book {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.55rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.btn-book:hover { background: var(--gold-lt); color: var(--navy-dark); }

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  background: transparent;
  padding: 1.4rem 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
  z-index: 1000;
}

#mainNav.scrolled {
  background: var(--navy-dark);
  padding: 0.7rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover { color: var(--gold) !important; }

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/harbor_hero.jpg') center 60% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(17, 27, 52, 0.82) 0%,
    rgba(26, 39, 68, 0.68) 60%,
    rgba(17, 27, 52, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-heading em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   WELCOME SPLIT
============================================================ */
#welcome { overflow: hidden; }

.welcome-split { min-height: 560px; }

.welcome-image {
  overflow: hidden;
}
.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  transition: transform 0.6s ease;
}
.welcome-image:hover img { transform: scale(1.03); }

.welcome-text {
  background: var(--navy);
}

.welcome-inner {
  padding: 5rem 4rem;
  color: var(--white);
  max-width: 560px;
}

.welcome-inner h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.welcome-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
}

/* Stats */
.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-num small {
  font-size: 1.2rem;
  color: var(--gold);
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
}

/* ============================================================
   ACCOMMODATIONS
============================================================ */
.room-card {
  background: var(--white);
  border: 1px solid rgba(196,154,60,0.15);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.room-card:hover {
  box-shadow: 0 12px 40px rgba(26,39,68,0.12);
  transform: translateY(-4px);
}

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.room-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.room-card:hover .room-img { transform: scale(1.04); }

.room-body {
  padding: 1.5rem;
}
.room-body h4 {
  margin-bottom: 0.6rem;
  color: var(--navy);
}
.room-body p {
  font-size: 0.87rem;
  color: var(--text-lt);
  margin-bottom: 1rem;
}
.room-rate {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--text-lt);
  border-top: 1px solid var(--cream);
  padding-top: 0.8rem;
}
.room-rate strong {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-weight: 600;
}
.room-rate span { font-size: 0.8rem; }

.room-policies {
  font-size: 0.82rem;
  color: var(--text-lt);
}

/* ============================================================
   AMENITIES
============================================================ */
.amenity-tile {
  text-align: center;
  padding: 2rem 1rem;
}
.amenity-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,154,60,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: var(--gold);
}
.amenity-tile h5 {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.amenity-tile p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin: 0;
}

.amenity-pool-photo {
  text-align: center;
}
.amenity-pool-photo img {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.88;
}

/* ============================================================
   DINING SPLIT
============================================================ */
.dining-split { min-height: 600px; }

.dining-text {
  background: var(--white);
  order: 1;
}
.dining-inner {
  padding: 5rem 4rem;
  max-width: 580px;
}
.dining-inner h2 { color: var(--navy); margin-bottom: 0.5rem; }

.dining-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.hours-table tr {
  border-bottom: 1px solid var(--cream);
}
.hours-table td {
  padding: 0.5rem 0;
  color: var(--text-lt);
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 35%;
}

.menu-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-highlights li {
  font-size: 0.88rem;
  color: var(--text-lt);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
}
.menu-highlights li i { color: var(--gold); font-size: 1rem; }

.dining-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  order: 2;
}
.dining-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.dining-image-overlay {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
}
.dining-inset {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ============================================================
   EVENTS
============================================================ */
.event-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,39,68,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.event-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}
.event-card:hover .event-img { transform: scale(1.03); }
.event-body {
  padding: 2rem;
  flex: 1;
}
.event-body h4 { color: var(--navy); margin-bottom: 0.75rem; }
.event-body p { font-size: 0.88rem; color: var(--text-lt); }

.event-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.event-list li {
  font-size: 0.85rem;
  color: var(--text-lt);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.event-list li i { color: var(--gold); }

.events-cta p { color: var(--text-lt); font-size: 1rem; }

/* ============================================================
   GALLERY MOSAIC
============================================================ */
#gallery .section-header { padding: 0 1rem; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 260px);
  gap: 4px;
  margin-top: 2rem;
}

.gallery-cell {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}

.gallery-cell span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(17,27,52,0.75));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.5rem 0.8rem 0.7rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-cell:hover span { opacity: 1; }

.gallery-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196,154,60,0);
  transition: background 0.3s;
}
.gallery-cell:hover::before {
  background: rgba(196,154,60,0.08);
}

/* ============================================================
   CONTACT / LOCATION
============================================================ */
.contact-block {
  margin-bottom: 1.8rem;
}
.contact-block h5 {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-block p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin: 0;
}
.contact-block a { color: inherit; text-decoration: none; }
.contact-block a:hover { color: var(--gold); }

.nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nearby-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  padding: 0.25rem 0;
}
.nearby-list li i { color: var(--gold); }

.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,60,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.map-wrapper iframe { display: block; }

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: var(--navy-dark);
  padding: 4rem 0 2rem;
}

.footer-top { border-bottom: 1px solid rgba(196,154,60,0.18); padding-bottom: 3rem; }

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.footer-addr {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer-addr a { color: rgba(255,255,255,0.55); text-decoration:none; }
.footer-addr a:hover { color: var(--gold); }

#footer h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-social a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.powered-by a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.powered-by a:hover { color: var(--gold-lt); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991.98px) {
  .welcome-inner { padding: 3rem 2.5rem; max-width: 100%; }
  .dining-inner  { padding: 3rem 2.5rem; max-width: 100%; }
  .dining-text { order: 2; }
  .dining-image { order: 1; min-height: 380px; }

  /* 3×4 = 12 cells */
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 220px);
  }
}

@media (max-width: 767.98px) {
  .hero-heading { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-ctas { flex-direction: column; align-items: center; }

  .welcome-inner { padding: 2.5rem 1.5rem; }
  .dining-inner  { padding: 2.5rem 1.5rem; }

  .stat-row { gap: 1.5rem; }

  /* 2×6 = 12 cells */
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 180px);
  }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
  /* 2×6 = 12 cells */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, 160px);
  }
  .dining-inset { width: 140px; height: 110px; }
}
