/*
 * Stylesheet for Hamilton Lodge Website
 *
 * This file defines the overall look and feel of the Hamilton Lodge
 * hotel and restaurant website. The design takes cues from the provided
 * logo – simple, elegant typography with a touch of alpine charm. A
 * muted colour palette ties everything together and allows photography
 * to shine. The layout is responsive and works on both desktop and
 * mobile devices.
 */

/* Import a couple of Google Fonts for headings and body text.  Lora
   adds a classic, serifed tone for titles while Open Sans keeps body
   copy legible. */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Open+Sans:wght@300;400;600&display=swap');

/* Reset some default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  display: block;
}

/* Top banner containing phone and email */
.top-banner {
  width: 100%;
  background-color: #d4aa66; /* warm gold inspired by the logo */
  color: #fff;
  text-align: center;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
}

.top-banner a {
  color: #fff;
  text-decoration: none;
}

/* Navigation styles */
nav {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

nav li {
  position: relative;
}

nav a {
  display: block;
  padding: 0.35rem 0.35rem;
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Lora', serif;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #d4aa66;
}

/* Dropdown menu */
nav li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

nav li:hover > ul {
  display: flex;
}

nav li ul li {
  width: 100%;
  text-align: left;
}

nav li ul li a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: left;
}


/* Language selector styling */
.language-selector {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.language-selector {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Short banner above hero */
.pre-hero-banner {
  background-color: #222;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #fff;
  color: #fff;
  height: 180px;
  max-width: 1400px;
  text-align: center;
  padding: 0.75rem 1rem;
  font-family: 'Lora', serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  border-radius: 10px;
}

.pre-hero-banner p {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 2;

  padding: 3px 10px;

  background: rgba(0,0,0,0.55);
  color: #fff;

  font-family: 'Lora', serif;
  font-size: 0.55rem;
  /* letter-spacing: 1px; */
  text-transform: uppercase;

  border-left: 3px solid #d4aa66;
}

/* Hero section */
.hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  border-radius: 10px;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 1rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 300;
}
.hero-carousel {
  position: relative;
  max-width: 1400px;
  height: 560px;
  margin: 1.5rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
}

.carousel-button.prev {
  left: 1.25rem;
}

.carousel-button.next {
  right: 1.25rem;
}

/* Section with image and text overlay */
.image-section {
  max-width: 464px;
  width: calc(33% - 1rem);
  margin: 0.5rem;
  display: inline-block;
  vertical-align: top;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-section .text-box {
  position: static;
  transform: none;
  background: transparent;
  color: #000;
  text-align: left;
  padding: 1rem 1.25rem 1.25rem;
  max-width: none;
}

.image-section .text-box h2 {
  color: #8a5400;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.image-section .text-box p {
  color: #000;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Content container for general sections */
.content {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.content h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  /* ensure all subsection headings appear in the lodge's brown for a
     consistent look throughout the site */
  color: #8a5400;
  text-align: center;
}

.content p {
  margin-bottom: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/*
 * Subtitle class – apply this class to any heading (e.g. h2 or h3) that
 * should appear in the lodge's brown signature colour. This provides a
 * simple way to override default colours without duplicating styles.
 */
.subtitle {
  color: #8a5400;
  font-family: 'Lora', serif;
}

/* Grid layout for lists of activities or attractions */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.grid-item {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.grid-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.grid-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid-item .info {
  flex-grow: 1;
}
.grid-item .info {
  padding: 1rem;
  flex-grow: 1;
}

.grid-item .info h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.grid-item .info p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.grid-item .info a {
  color: #d4aa66;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #222;
  color: #aaa;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Open Sans', Arial, sans-serif;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
}

form button {
  background-color: #d4aa66;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

form button:hover {
  background-color: #b78c50;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .image-section {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .image-section {
    width: calc(100% - 1rem);
  }
}

.welcome-banner {
  max-width: 1400px;
  margin: 0 auto;
  background-color: #dfeaf2;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 10px;
}

.welcome-banner h2 {
  margin: 0;
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  /* use the lodge's signature brown for all page banners */
  color: #8a5400;
  letter-spacing: 0.5px;
}

.home-intro,
.home-experience {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1rem 1rem 1rem;
  text-align: center;
  background: #fafafa;
}

.home-intro h2,
.home-experience h2 {
  font-family: 'Lora', serif;
  color: #8a5400;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.home-intro p,
.home-experience p {
  max-width: 850px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Grid of highlights on the home page. The top margin is now zero to align
   consistently with the sections above and below. */
.home-feature-grid {
  max-width: 1400px;
  /* ensure the spacing above the feature grid matches the spacing above the
     experience cards. Setting a 3rem top margin aligns the two sections
     consistently and eliminates extra space between the introduction text
     and the grid. */
  margin: 0rem auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.home-feature-card,
.experience-card,
.review-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.home-feature-card img,
.experience-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.home-feature-card h3,
.experience-card h3 {
  font-family: 'Lora', serif;
  color: #8a5400;
  margin: 1rem 1rem 0.5rem;
}

.home-feature-card p,
.experience-card p {
  padding: 0 1rem 1.25rem;
  font-size: 0.95rem;
}

.home-experience,
.reviews-section,
.booking-cta {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.experience-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.experience-card a,
.season-card a,
.booking-cta a {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: #fff;
  background-color: #d4aa66;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.image-quote {
  max-width: 1400px;
  height: 420px;
  margin: 2rem auto;
  background-position: center center;
  background-size: cover;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.quote-overlay {
  background: rgba(0,0,0,0.35);
  color: #fff;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.quote-overlay h2 {
  font-family: 'Lora', serif;
  font-size: 2.25rem;
  font-weight: 400;
}

.season-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.season-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.season-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.season-card p {
  margin-bottom: 1.5rem;
}
.season-card div {
  padding: 1.5rem;
}

.season-card h2 {
  font-family: 'Lora', serif;
  color: #8a5400;
  margin-bottom: 0.75rem;
}

.review-card {
  padding: 2rem 1.5rem;
}

.review-card p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-card span {
  color: #d4aa66;
  letter-spacing: 2px;
}

.booking-cta {
  background-color: #dfeaf2;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.booking-cta p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 1024px) {
  .home-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid,
  .season-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .quote-overlay h2 {
    font-size: 1.75rem;
  }
}

.about-hero-image {
  max-width: 1100px;
  height: 430px;
  margin: 1.5rem auto;
  border-radius: 14px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main About text */
.about-page-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: #fafafa;
}

.about-text {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.about-text h2,
.about-split-text h2 {
  font-family: 'Lora', serif;
  color: #8a5400;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p,
.about-split-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* History split section */
.about-split-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-split-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.about-split-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.about-split-text {
  background: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  text-align: left;
}

@media (max-width: 900px) {
  .about-split-section {
    grid-template-columns: 1fr;
  }

  .about-hero-image {
    height: auto;
  }

  .about-hero-image img {
    height: auto;
  }
}

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

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}

.active-dot {
  background: #d4aa66;
}

details {
    margin-bottom: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

details summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    background: #f8f8f8;
}

details p {
    padding: 1rem 1.25rem;
    margin: 0;
}

details[open] summary {
    border-bottom: 1px solid #e5e5e5;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-item .info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.grid-item .cta {
    margin-top: auto;
    padding-top: 1rem;
}