:root {
  --primary: #251500;
  --background: #fffaf4;
  --button: #e8a941;
  --button-dark: #c28524;
  --light: #f0f0f0;
  --dark: #303030;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
b {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

p,
span,
li,
label,
input {
  font-family: "Open Sans", sans-serif;
}

body {
  /* font-family: "Inter", sans-serif; */
  /* line-height: 1.6; */
  font-size: 16px;
  color: var(--dark);
  background-color: var(--light);
}

a {
  color: white;
  text-decoration: none;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  max-width: 1200px;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  background-color: var(--button);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--button-dark);
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

/* Section 1 */
.section1 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/bg-hotel-2.jpg) center/cover no-repeat;
}

.section1-room {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/room.jpg) center/cover no-repeat;
}

.section1-about {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/about.jpg) center/cover no-repeat;
}

.section1-amenities {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/petel.jpg) center/cover no-repeat;
}

.section1-gallery {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/culture.jpg) center/cover no-repeat;
}

.section1-contact {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/contact.jpg) center/cover no-repeat;
}

.section1-press {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/press.jpg) center/cover no-repeat;
}

.section1-privacy {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/privacy.jpg) center/cover no-repeat;
}

.section1-policy {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/policy.jpg) center/cover no-repeat;
}

.section1-accessiblity {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/roof-desk.jpg) center/cover no-repeat;
}

.section1-thanks {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/thank-you.jpg) center/cover no-repeat;
}

.section1-inner {
  height: 100vh;
}

.section1-inner-1 {
  height: 50vh;
}

/* Base */
.navbar {
  justify-content: space-between;
  color: white;
  position: relative;
}

.navbar ul {
  margin-right: 10px;
}

.navbar ul li {
  list-style: none;
  padding: 10px 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
}

.navbar ul li a:hover {
  font-weight: 600;
  color: var(--button);
}

.navbar-left img {
  width: 40px;
  margin-right: 20px;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 999;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-right {
    position: fixed;
    top: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    display: none;
  }

  .navbar-right ul {
    flex-direction: column;
    margin: 0;
    text-align: center;
  }

  .navbar-right ul li {
    margin-bottom: 15px;
  }

  .navbar-right.show {
    display: flex;
  }
}

.hero-section {
  color: white;
  height: 85%;
}

/* section 2 */
.section2 {
  background-color: var(--background);
}

.section2-inner {
  padding: 100px;
  text-align: center;
}

.section2-inner p {
  margin-top: 15px;
  font-size: larger;
}

.section2-1 {
  gap: 50px;
  align-items: stretch;
}

.section2-hotel-policies {
  text-align: start;
}

.section2-hotel-policies a {
  color: var(--button) !important;
}

.section2-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.section2-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.section2-3 img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.section2-2 img {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 4px 10px #111; /* horizontal, vertical, blur, color */
}

.section2-1 img {
  width: 50%;
  height: 300px;
}

.section2-1-content {
  width: 100%;
  text-align: left;
  flex: 1;
  align-items: start;
}

.slide-container .slides img.active {
  left: 0;
}

.section2-1-content h2 {
  width: 100%;
}

.section2-list {
  gap: 50px;
  text-align: left;
}

.section2-contact-left {
  width: 100%;
  align-items: start;
}

.section2-contact-right {
  width: 100%;
  align-items: start;
}

.section2-contact-right form {
  width: 100%;
}

.section2-contact-right div label {
  text-align: start;
}

.section2-contact-right div input,
textarea {
  padding: 10px;
}

/* section 3 */
.section3 {
  background-color: var(--primary);
  color: white;
}

.section3-left {
  width: 60%;
}

.section3-left img {
  width: 90%;
  border-radius: 20px;
  height: 100%;
}

.section3-right {
  width: 40%;
}

.section3-right p {
  font-size: large;
}

/* Section 4 */
.section4 {
  background-color: var(--background);
}

.section4-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.card p a {
  color: var(--button-dark);
}

.card-top {
  height: 300px;
  border-radius: 10px;
  color: white;
}

.card-top-1 {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/food.jpg) center/cover no-repeat;
}

.card-top-2 {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/amenties.jpg) center/cover no-repeat;
}

.card-top-3 {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/about.jpg) center/cover no-repeat;
}

/* section 5 */
.section5 {
  background-color: var(--primary);
}

.section5-inner {
  color: white;
  justify-content: space-between;
}

.section5-center {
  position: relative;
  width: 80%;
  height: 50vh;
  overflow: hidden;
}

/* FIX: Each slide must take full width & height */
.section5-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* ✅ Important */
  height: 100%;
  text-align: center;
  transition: transform 1s; /* smoother movement */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.arrow-btn {
  padding: 20px 15px;
  background-color: var(--background);
  border-radius: 50%;
  border: none;
}

/* Section 6 */
.slide-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: 400px;
  /* border: 3px solid black;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2); */
}

.slide-container .slides {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-container .slides img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.slide-container .slides img:not(.active) {
  top: 0;
  left: -100%;
}

span.next,
span.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  color: #eee;
  font-size: 24px;
  font-weight: bold;
  transition: 0.5s;
  border-radius: 3px;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}
span.next {
  right: 20px;
}
span.prev {
  left: 20px;
}

span.next:hover,
span.prev:hover {
  background-color: #ede6d6;
  opacity: 0.8;
  color: #222;
}

.dotsContainer {
  position: absolute;
  bottom: 5px;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}

.dotsContainer .dot {
  width: 15px;
  height: 15px;
  margin: 0px 2px;
  border: 2px solid var(--background);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dotsContainer .dot.active {
  background-color: var(--background);
}

/* section 7 */
.section7 {
  background-color: var(--background);
  padding: 30px 0px;
}

.section7-inner {
  text-align: center;
}

.insta-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.insta-images img {
  width: 100%;
  height: 300px;
  border-radius: 20px;
}

@keyframes next1 {
  from {
    left: 0%;
  }
  to {
    left: -100%;
  }
}

@keyframes next2 {
  from {
    left: 100%;
  }
  to {
    left: 0%;
  }
}

@keyframes prev1 {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}

@keyframes prev2 {
  from {
    left: -100%;
  }
  to {
    left: 0%;
  }
}

/* Footer  */
.footer {
  text-align: center;
  background-color: var(--primary);
  color: white;
  padding: 20px 0;
}

.footer-inner {
  justify-content: space-between;
}

.footer-left {
  text-align: left;
}

.footer-left h3 {
  margin-top: 15px;
}

.footer-left a {
  color: white;
}

.footer-left a:hover {
  color: var(--button);
  font-weight: 600;
}

.footer-right ul {
  text-align: right;
}

.footer-right li {
  list-style: none;
  margin-bottom: 7px;
}

.footer-right li a {
  color: white;
  text-decoration: none;
}

.footer-right li a:hover {
  color: var(--button);
  font-weight: 600;
}

/* 📱 Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .container {
    padding: 20px 10px;
  }
  .hero-section {
    text-align: center;
  }
  .section2-1 img {
    width: 100%;
  }
  .section2-1 {
    flex-direction: column;
  }
  .section2-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
  }
  .section2-contact {
    flex-direction: column;
  }
  .section2-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section3-inner {
    flex-direction: column;
    gap: 10px;
  }

  .arrow-btn {
    padding: 10px 7.5px;
  }

  .section3-left {
    width: 100%;
  }

  .section3-left img {
    width: 100%;
  }

  .navbar-left img {
    display: none;
  }

  .section3-right {
    width: 100%;
  }
  .section4-inner {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .insta-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .insta-images img {
    height: 200px;
  }

  .footer-right {
    width: 50%;
  }

  .footer-right ul {
    display: flex;
    flex-direction: column;
    gap: 10.5px;
  }

  .footer-right li {
    margin-bottom: 0px;
  }

  /* .footer-inner {
    flex-direction: column;
  } */
}

/* 📲 Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 20px;
  }
}
