/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

/* Root variables define the colour palette for the entire site. The gold and
 * burgundy tones echo the luxurious packaging of the advent calendar. */
:root {
  --primary-color: #b88a30;     /* golden tone used for highlights */
  --secondary-color: #a01437;   /* deep burgundy used for buttons and accents */
  --text-color: #333333;        /* dark grey for good legibility */
  --background-color: #fdf8f0;  /* warm, light beige background */
  --light-color: #ffffff;       /* white, used on cards and sections */
  --shadow-color: rgba(0, 0, 0, 0.08);
}

/* Basic resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Header & navigation */
header {
  background-color: var(--light-color);
  position: sticky;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 4px var(--shadow-color);
  z-index: 1000;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: 40px;
}

.logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--secondary-color);
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav ul li a.active {
  color: var(--secondary-color);
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slide.active {
  opacity: 1;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero .content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #8a0e2d;
}

/* Section styles */
section {
  padding: 60px 20px;
}

/* Generic two-column layout used in content sections */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  text-align: center;
}

section p.section-intro {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
  font-size: 1.1rem;
}

/* Features cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555555;
}

/* Image grid with captions */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.image-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color);
  background-color: var(--light-color);
}

.image-card img {
  width: 100%;
  display: block;
}

.image-card .caption {
  padding: 15px;
  font-size: 0.95rem;
  background-color: var(--light-color);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial {
  background-color: var(--light-color);
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color);
  padding: 20px;
  text-align: center;
}

.testimonial img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonial .name {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.testimonial .stars {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.testimonial p {
  font-size: 0.95rem;
  color: #555555;
}

/* FAQ */
.faq-item {
  background-color: var(--light-color);
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 3px 6px var(--shadow-color);
  margin-bottom: 15px;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}

.faq-item summary::marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078'; /* FontAwesome angle-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555555;
}

/* Footer */
footer {
  background-color: #2d2d2d;
  color: #cccccc;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

footer .footer-section {
  flex: 1 1 200px;
}

footer h4 {
  color: var(--light-color);
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  color: #cccccc;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: var(--primary-color);
}

footer .legal {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav ul {
    gap: 15px;
  }
}
