
/* Base styles */
@font-face {
    font-family: 'MyCustomFont';
    src: url('../Fonts/Quintessential-Regular.ttf') format('truetype');
}
html {
  font-family: 'MyCustomFont', sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 100%;
}
body {
  display: grid;
  background: #393736;
  color: #1a1a1a;
  grid-template-areas: 
    "header header header header"
    "carousel carousel carousel fb-page"
    "home description description  description"
    "footer footer footer footer";
  align-items: start;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Header styles */
header {
  grid-area: header;
  background: #393736;
  padding: 1rem;
  text-align: center;
  width: 100%;
  border-bottom: #dab736 2px solid;

}

h1 {
  color: #dab736;
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
}


h2 {
  color: #121212;
  margin: 0.5rem 0;
  font-weight: 600;
  text-align: center;
}

li {
  list-style: none;
  margin: 0.5rem 0;
}

.fb-page {
  grid-area: fb-page;
  padding-top: 2px;
}
#cookie-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(46, 32, 3, 0.9);
  color: #dab736;
  text-align: center;
  justify-content: center;
  z-index: 1000;
}

/* Description styles */
.description {
  grid-area: description;
  background: #f8f8f7;
  color: #121212;
  font-size: 1.1rem;
  text-align: center;
  margin: 50px auto;
  border-radius: 45px;
  box-shadow: #dab736 0px 0px 10px 0px;
  width: 1000px;
  
}


.carousel {
  grid-area: carousel;
  display: block;
  width: 1300px;
  height: 860px;
  margin: 0 auto;
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: 850px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.carousel-slide:hover .caption {
  opacity: 1;
}

.carousel button.prev,
.carousel button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(46, 32, 3, 0.7);
  border: none;
  color: #dab736;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.carousel button.prev {
  left: 0.5rem;
}

.carousel button.next {
  right: 0.5rem;
}


.carousel-slide .caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(46, 32, 3, 0.75); /* Dark semi-transparent overlay */
  color: #dab736;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}


/* Focus outlines for accessibility */
a, button, input, textarea, select {
  color: #dab736;
  text-decoration: none;
  transition: color 0.3s ease;
  outline-offset: 2px;
}
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

/* Larger clickable areas for touch */
button, a {
  min-height: 44px;
  min-width: 44px;
}

/* Footer styles */
footer {
  grid-area: footer;
  background: #393736;
  color: #dab736;
  text-align: center;
  font-size: 1.1rem;
  border-top: #dab736 2px solid;
 
}

/* Tablet - up to 768px */
@media (max-width: 768px) {
  body {
    grid-template-areas:
      "header"
      "carousel"
      "description"
      "footer";
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 2rem;
  }

  .carousel {
    width: 100%;
    height: auto;
  }

  .carousel-slide img {
    height: auto;
    max-height: 400px;
    object-fit: cover;
  }

  .description {
    width: 90%;
    font-size: 1rem;
    margin: 1rem auto;
    padding: 1rem;
  }

  .carousel button.prev,
  .carousel button.next {
    display: none;
  }

  footer {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .fb-page {
    display: none;
  }
}

/* Mobile - up to 500px */
@media (max-width: 500px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .carousel-slide img {
    max-height: 250px;
  }

  footer {
    font-size: 0.8rem;
  }

  #cookie-banner {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}



/* Allow zooming on mobile */
@viewport {
  user-zoom: zoom;
  min-zoom: 100%;
  max-zoom: 400%;
}


@media (hover: none) {
  .carousel-slide .caption {
    opacity: 1;
  }
}

