/*
Theme Name: Chateau Eden Child
Theme URI: https://chateaueden.com
Description: Child theme of Twenty Twenty‑Five used to present the Chateau Eden one‑page site.  It leverages the parent theme’s styling while adding a custom front page with a hero, gallery and contact sections.
Author: Your Name
Version: 1.0
Template: twentytwentyfive
*/

/*
 * Additional styles to lay out the custom front page.  These styles
 * work alongside the Twenty Twenty‑Five parent theme and mostly set
 * section spacing, width constraints and hero styling.  Feel free to
 * adjust the colours or sizes to suit your taste.
 */

/* Reset margins for sections on the front page */
.home section {
  margin-left: auto;
  margin-right: auto;
  max-width: 1140px;
  padding: 4rem 1.5rem;
}

/* Hero styles */
.home .hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;

  /* Constrain the hero width so it doesn't span the full viewport on
     very wide screens.  This matches the content width used for
     other sections. */
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.home .hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.home .hero h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw + 1rem, 3rem);
}

.home .hero p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.home .hero .button {
  display: inline-block;
  background: #6b4f3f;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.home .hero .button:hover {
  background: #543d32;
}

/* Gallery grid */
.home .gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.home .gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}
.home .gallery-grid figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  text-align: center;
}

/* Features list */
.home .features-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: 1fr;
}

.home .features-list li {
  position: relative;
  padding-left: 1.5rem;
}

.home .features-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: #6b4f3f;
  font-weight: bold;
}

@media (min-width: 600px) {
  .home .features-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact section */
.home .contact-info {
  list-style: none;
  padding-left: 0;
}

.home .contact-info li {
  margin-bottom: 0.5rem;
}
.home .contact-info a {
  color: #6b4f3f;
  text-decoration: none;
}
.home .contact-info a:hover {
  text-decoration: underline;
}