* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
}

/* HEADER */
.logo a {
  color: inherit;
  text-decoration: none;
}

.logo a:hover {
  color: #9be29b;
}

header {
  background: #111;
  color: white;
  padding: 30px;
  text-align: center;
}

header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

/* NAVIGATION */

nav {
  background: #222;
  text-align: center;
  padding: 14px;
}

nav a {
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-size: 16px;
}
nav a:hover {
  color: #9be29b;
}

/* HERO SLIDER */

.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slider 30s infinite;
}

.slide:nth-child(1) {
  background-image: url("../../images/elizabethton/room1.webp");
}
.slide:nth-child(2) {
  background-image: url("../../images/elizabethton/room2.webp");
  animation-delay: 5s;
}
.slide:nth-child(3) {
  background-image: url("../../images/elizabethton/room3.webp");
  animation-delay: 10s;
}
.slide:nth-child(4) {
  background-image: url("../../images/elizabethton/room4.webp");
  animation-delay: 15s;
}
.slide:nth-child(5) {
  background-image: url("../../images/elizabethton/room5.webp");
  animation-delay: 20s;
}
.slide:nth-child(6) {
  background-image: url("../../images/elizabethton/room6.webp");
  animation-delay: 25s;
}

@keyframes slider {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  15% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* HERO TEXT */

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 35px;
  border-radius: 6px;
  text-align: center;
}

.hero-text h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.callbtn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 30px;
  background: #2e7d32;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}
.callbtn:hover {
  background: white;
  color: #2e7d32;
}
a.links {
  color: inherit;
  text-decoration: none;
}
a.links:hover {
  color: #9be29b;
}
/* SECTION */

.section {
  padding: 70px 20px;
  text-align: center;
  background: white;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* ROOM GRID */

.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.rooms img {
  width: 100%;
  border-radius: 6px;
}

/* LOCATION */

.location {
  background: #fafafa;
  padding: 70px 20px;
  text-align: center;
}

.map {
  margin-top: 25px;
}

/* FOOTER */

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 30px;
}

/* MOBILE */

@media (max-width: 700px) {
  .hero-text h2 {
    font-size: 28px;
  }
}
