@font-face {
  font-family: "farmhouse";
  src: url("fonts/Farmhouse.ttf");
  font-display: swap;
  ascent-override: 86%;
  descent-override: 14%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "splendid";
  src: url(fonts/SplendidI.ttf);
  font-display: swap;
  ascent-override: 86%;
  descent-override: 14%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "splendid2";
  src: url(fonts/SplendidN.ttf);
  font-display: swap;
  ascent-override: 86%;
  descent-override: 14%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "alagambe";
  src: url(fonts/alagambe.otf);
  font-display: swap;
  ascent-override: 86%;
  descent-override: 14%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  --sand: #e8dfcf;
  --sand-strong: #dacdb5;
  --eucalyptus: #5a6f63;
  --mist: #eef2f3;
  --charcoal: #2e2e2e;
  --ink: #1d1d1d;
  --paper: #faf8f4;
  --accent: #4b6b5a;
  --navy: #001f4d;
  --cloud: #f4f6fb;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: #f3f3f394;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 14vh;
}

h1 {
  font-family: "alagambe", 'Courier New', Courier, monospace;
  font-weight: 100;
}

.nav {
  font-family: "splendid2", 'Courier New', Courier, monospace;
  font-size: 24px;
  position: absolute;
  top: 50%;        
  left: 50%;        
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
}

.desktop-nav {
  gap: 3rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

nav a {
  text-decoration: none;
  color: #111;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 20px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3c5a9c4e;
}

nav a.active {
  font-weight: 200;
  text-decoration: none;
  color: #303974; 
}

.hero {
  position: relative;
  width: 100%;
  margin: 14vh auto 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  padding-top: 0;
  min-height: 80vh;
}

.hero-images-wrapper {
  position: relative;
  width: min(1300px, 95%);
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  background: #000;
}

.hero-images {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-images img {
  inset: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-images img.desktop {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-images img.desktop.active {
  opacity: 1;
}

.history {
  position: relative;
  margin-top: 0;
  margin-bottom: -5rem;
  padding: 8rem 0 4rem;
  z-index: 2;
  isolation: isolate;
}

.history::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: 0;
  right: 0;
  bottom: 5rem;
  background-image: url("media/mountain.svg");
  
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.7;
  z-index: -1;
}

.history-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1rem;
  margin-top: -8rem;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

.history img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.history h2 {
  font-family: "alagambe", 'Courier New', Courier, monospace;
  font-weight: 100;
  font-size: 3rem;
  margin: -0.4rem 0 0.6rem;
}

.history p {
  font-family: "splendid2", 'Courier New', Courier, monospace;
  font-size: 1.5rem;
  margin: -0.15rem 0 0;
}

footer {
  padding: 36px 1rem;
  background: #eae0c8;
  border-top: 1px solid color-mix(in srgb, var(--sand) 60%, #0000);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.muted {
  color: #666;
  font-size: 0.9rem;
}

.container.foot {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-logo img {
  height: 95px;
  width: auto;
}

.foot a {
  text-decoration:dotted;
  color: inherit;
  font-weight: 100;
  font-size: smaller;
}

.foot a:hover{
  color: #999ec0;
}

.float-book {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.668);
  background: rgba(65, 81, 133, 0.818);
  border: 0;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
  font-size: 1rem;
  letter-spacing: 0.5;
  border-radius: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, background 120ms ease;
}

.float-book:hover {
  transform: translateY(-1px);
  background: #23529ca4;
}

@media (max-width: 1024px) {
  .nav {
    gap: 1.2rem;
  }

  .footer-logo img {
    height: 70px;
  }

  .hero {
    margin-top: 10vh;
    min-height: 70vh;
  }

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

}

@media (max-width: 1100px) and (min-width: 769px) {
  header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
    gap: 0.75rem;
  }

  header h1 {
    margin: 0;
  }

  .nav {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  .hero {
    margin-top: clamp(10rem, 18vh, 14rem);
  }
}

@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 1rem;
    z-index: 50;
    background: transparent;
    height: auto;
  }

  .nav {
    position: static;
    transform: none;
  }

  .container.foot {
    flex-direction: column;
  }

  .foot .right {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    width: 100%;
    margin: 0;
    min-height: 100dvh;
    height: 100dvh;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
  }

  .hero-images-wrapper {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
  }

  .float-book {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .footer-logo img {
    height: 60px;
  }

  nav a {
    font-size: 14px;
    padding: 0.4rem 0.8rem;
  }

}

.hero-images img.mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    height: 100dvh;
    padding-top: 0;
  }
  .hero-images {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    left: 0;
  }
  .hero-images img.desktop {
    display: none;
  }
  .hero-images img.mobile {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transition: none;
    overflow: none;
  }
  .float-book {
    display: none;
  }
}

.burger,
.mobile-nav,
.about-mobile {
  display: none;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .burger {
    display: block;
    position: fixed;
    top: clamp(2rem, 5vw, 2.8rem);
    right: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    font-size: 2rem; 
    color: #111;
    cursor: pointer;
    padding: 0.05rem 0.65rem;
    border-radius: 40px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    z-index: 120;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    background: var(--paper);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 4rem 1.5rem;
    gap: 1.5rem;
    z-index: 90;
  }

  .mobile-nav.open {
    transform: translateX(0);
  }

  .mobile-nav a {
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
  }

  .about-mobile {
    display: block;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #f8f8f8;
  }

  .about-mobile h2 {
    font-family: 'Splendid2', 'Courier New', Courier, monospace;
    margin-bottom: 0.5rem;
  }

  .about-mobile p {
    font-size: 1rem;
    color: #333;
    max-width: 40ch;
    margin: 0 auto;
    font-family: 'splendid2', 'Courier New', Courier, monospace;
  }

  .about-mobile a {
    text-decoration: none;
    color: #72709a;
  }

  .history {
    margin-top: 4rem;
    padding: 4rem 0;
  }

  .history figure {
    margin-top: 3.5rem;
    overflow: hidden;
  }

  .history figure img {
    transform: scale(1.08);
    transform-origin: center;
  }

  .history h2 {
    font-size: 2rem;
  }

  .history p {
    font-size: 1.1rem;
  }
}

.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    height: 60px;      
    width: auto;
    margin: 0 auto;    
  }
}

@media (max-width: 768px) {
  .hero {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100dvh;       
    min-height: 100dvh;
    overflow: hidden;     
  }

  .hero-images {
    position: absolute;
    inset: 0;            
    width: 100%;
    height: 100%;
  }

  .hero-images img.mobile {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;   
    object-position: center;
  }

  .hero-images img.desktop {
    display: none;       
  }

}

.gallery-page h1 {
  font-family: "alagambe", 'Courier New', Courier, monospace;
  font-weight: 100;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  padding: 12vh 2rem 0;
}

.gallery-page p {
  font-family: "splendid2", 'Courier New', Courier, monospace;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px; 
  justify-content: space-between;
  padding: 0 18px;
}

.column {
  flex: 1 1 calc(33.333% - 18px);
  max-width: calc(33.333% - 18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 0;
}

.column img {
  width: 100%;
  margin: 0;
  vertical-align: middle;
}

@media screen and (max-width: 800px) {
  .column {
    flex: 1 1 calc(50% - 18px);
    max-width: calc(50% - 18px);
  }
}

@media screen and (max-width: 600px) {
  .column {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.about-page h1 {
  font-family: "alagambe", 'Courier New', Courier, monospace;
  font-weight: 100;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  padding: 12vh 2rem 0;
}

.amenities-page h2 {
  font-family: "alagambe", 'Courier New', Courier, monospace;
  font-weight: 100;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  padding: 12vh 2rem 0;
  font-size: 2rem;
}

.amenities-page p {
  font-family: "splendid2", 'Courier New', Courier, monospace;
  font-weight: 100;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  padding: 6vh 2rem 0;
  font-size: 1.2rem;
}

.about-text h2 {
  font-size: larger;
  font-style: italic;
  font-weight: 200;
}

@media screen and (max-width: 600px) {
  .about-text h2 {
    font-size: 1.2rem;
  }
}

.house-info h3 {
  font-family: "farmhouse", 'Courier New', Courier, monospace;
  font-weight: 300;
  color: #000000;
  font-size: 2.5rem;
  margin: 2.5rem 0 0.35rem;
}

.house-info h3 + p {
  margin-top: 0.35rem;
}

.house-info p {
  font-family: "splendid2", 'Courier New', Courier, monospace;
  font-size: 1.5rem;
}

.house-cta {
  margin-top: 5rem;
  text-align: center;
  font-size: 1rem;
}

.house-cta a {
  text-decoration: none;
  color: #303974;
}

.about-page p {
  font-size: 1.4rem;
  font-weight: 400;
  color: #333;
  max-width: 48ch;
  margin-inline: 0;
  margin-top: 5%;
  font-family: "splendid2", 'Courier New', Courier, monospace;
}

.amenities-page p {
  font-weight: 600;
}

.amenities-page a {
  text-decoration: none;
  color: #333154;
}

.about-page a {
  color: #556792;
  text-decoration: none;
}

.about-page a:hover {
  color: #b3c0dee4;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;             
  justify-content: center;    
  align-items: center;
  gap: 2rem;                
  margin-top: 4rem;
}

.icon-item {
  display: flex;
  flex-direction: column;     
  align-items: center;
  text-align: center;
  width: 140px;              
}

.icon-item img {
  width: 100px;          
  height: 100px;
  object-fit: contain;
}

.icon-item p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #333;
  font-family: 'Courier New', Courier, monospace;
}

@media (max-width: 768px) {
  .icon-grid {
    gap: 1rem;
  }

  .icon-item {
    width: 120px;
  }

  .icon-item img {
    width: 60px;
    height: 60px;
  }
}

.text-with-image {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.text-with-image .about-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 2rem;
}

.text-with-image .about-text p {
  margin: 1;
  text-align: left;
  max-width: 60ch;
}

.about-text-mobile {
  display: none;
}

.text-with-image .about-text h2 {
  text-align: center;
  margin: 0 0 1rem;
}

.text-with-image .about-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(320px, 45vw, 520px);
}

.text-with-image img {
  width: 480px;           
  height: auto;
  border-radius: 0px;
  aspect-ratio: 4 / 5;
}


@media (max-width: 768px) {
  .about-page h1 {
    padding: 4rem 1.5rem 0;
  }

  .gallery-page h1 {
    padding: 4.5rem 1.5rem 0;
  }

  .favourites-page h1 {
    padding: 3rem 1rem 0;
  }

  .amenities-page h2 {
    padding: 3.5rem 1.5rem 0;
  }

  .amenities-page p {
    padding: 1.5rem 1.5rem 0;
  }

  .amenities-heading,
  .amenities-intro {
    display: none;
  }

  .about-page,
  .favourites-page {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .favourites-page p {
    text-align: center;
    font-family: 'splendid2', 'Courier New', Courier, monospace;
  }

  .text-with-image {
    flex-direction: column; 
    align-items: center;
    text-align: center;
    margin-top: 2rem;
  }

  .text-with-image .about-text,
  .text-with-image .about-image {
    width: 100%;
    justify-content: center;
    padding-left: 0;
  }

  .text-with-image .about-text p {
    text-align: center;
  }

  .about-text-desktop {
    display: none;
  }

  .about-text-mobile {
    display: block;
    margin: 1rem 0 0;
  }

  .text-with-image img {
    width: 100%;          
    max-width: 400px;
    aspect-ratio: 4 / 5;
  }

  .text-with-image .about-image {
    display: none;
  }

  .icon-grid {
    margin-top: 2rem;
  }
}

.favourites-page h1 {
  font-weight: 100;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  padding: 12vh 2rem 0;
}

.favourites-page > p {
  font-size: 1.05rem;
  color: #333;
  max-width: 48ch;
  margin-inline: auto;
  margin-top: 5%;
  font-weight: 100;
  font-family: "splendid2", 'Courier New', Courier, monospace;
}

.favourites-page a {
  color: #556792;
  text-decoration: none;
}

.favourites-page a:hover {
  color: #b3c0dee4;
}

.favourites-page h2 {
  font-size: 1.05rem;
  color: #303974;
  font-weight: 300;
  max-width: 48ch;
  margin-inline: auto;
  margin-top: 5%;
}

.cards {
  display: grid;
  gap: 1.5rem;
  max-width: 960px;
  margin: 2.5rem auto;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.card {
  background: #fff;
  border-radius: none;
  padding: 1.75rem;
  box-shadow: 0 14px 30px rgba(8, 24, 68, 0.08);
  border: 1px solid rgba(17, 25, 40, 0.06);
  text-align: left;
}

.card p {
  text-align: left;
  font-family: 'Courier New', Courier, monospace;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.card ul li {
  font-size: 0.95rem;
  color: #2f2f2f;
  margin-bottom: 0.4rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link::after {
  content: '↗';
  font-size: 0.9rem;
}
.house-info {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
