/* Universal Styles & Custom Properties */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Gelasio:wght@400;500;600;700&display=swap");

:root {
  /* Colors */
  --primary-color: #c9453b;
  --text-dark: #000;
  --text-light: #fff;
  --text-muted: rgba(0, 0, 0, 0.6);
  --bg-light: #f3f7f7;

  /* Fonts */
  --font-body: "Roboto", sans-serif;
  --font-heading: "Gelasio", sans-serif;

  /* Spacing */
  --spacing-section: 140px;
  --spacing-section-sm: 80px;
  --container-width: 1260px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background-color: transparent;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Reusable Components */
.btn {
  padding: 14px 34px;
  border-radius: 5px;
  background: var(--primary-color);
  color: var(--text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 69, 59, 0.35);
}

.section-title {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 43px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 20px;
}

.section-text {
  max-width: 735px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 160%;
  opacity: 0.6;
  margin-bottom: 50px;
}

/* Header & Hero */
.header {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("./assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 35px;
}

.nav-list {
  display: flex;
  gap: 35px;
}

.logo a,
.nav-link {
  color: var(--text-light);
}

.logo a {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1.44px;
}

.nav-link {
  font-size: 16px;
  font-weight: 400;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hero {
  padding: 200px 0 160px;
}

.hero-title {
  max-width: 804px;
  font-family: var(--font-heading);
  color: var(--text-light);
  font-size: 65px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 30px;
}

.hero-text {
  max-width: 458px;
  color: var(--text-light);
  font-size: 18px;
  line-height: 160%;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* Main Sections */
.location {
  padding: var(--spacing-section) 0;
}

.location-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.location-item {
  flex: 1 1 300px;
  max-width: 360px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.location-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 35px rgba(0, 0, 0, 0.08);
}

.location-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.location-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 150%;
  margin-bottom: 10px;
}

.location-text {
  text-align: center;
  font-size: 18px;
  line-height: 160%;
  opacity: 0.6;
  padding: 0 27px 30px;
}

/* Offers */
.offers {
  text-align: center;
  padding-bottom: var(--spacing-section);
}

.card {
  background: var(--text-light);
  border-radius: 10px;
  text-align: left;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card h3 {
  font-family: var(--font-heading);
  margin-bottom: 5px;
  margin-top: 5px;
}

.card p {
  margin-bottom: 5px;
}

.price {
  font-weight: bold;
  color: #d32f2f;
}

/* Blog */
.blog {
  padding-bottom: var(--spacing-section);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}

.blog-feature img {
  height: 320px;
  object-fit: cover;
}

.blog-body {
  padding: 10px 5px 20px 5px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 8px;
}

.blog-excerpt {
  color: var(--text-dark);
  font-size: 16px;
  line-height: 160%;
  opacity: 0.8;
  margin-bottom: 12px;
}

.blog-author {
  font-weight: 600;
}

.blog-side {
  display: grid;
  gap: 20px;
}

.blog-mini {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px;
}

.blog-mini img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.mini-body h4 {
  font-family: var(--font-heading);
  margin-bottom: 6px;
}

.mini-body p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.mini-author {
  font-size: 13px;
  font-weight: 600;
}

/* About */
.about {
  padding: 100px 0 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-list {
  margin-top: 10px;
}

.about-list li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 8px;
  color: #2e7d32;
}

.about-media img {
  width: 100%;
  border-radius: 10px;
}

/* Booking */
.booking {
  padding: 40px 0 120px;
}

.booking-form {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.booking-form input {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

.booking-form .btn {
  grid-column: span 1;
}

/* Footer */
.footer {
  background: var(--bg-light);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 60px 0;
}

.footer-brand .brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
}

.contact-label {
  margin-top: 16px;
  margin-bottom: 6px;
  opacity: 0.7;
}

.contact-link {
  color: var(--text-dark);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-col h5,
.footer-subscribe h5 {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.footer-col ul li a {
  display: inline-block;
  padding: 6px 0;
  opacity: 0.9;
}

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

.subscribe-form input[type="email"] {
  flex: 1 1 auto;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  outline: none;
}

.footer-bottom {
  padding: 18px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  font-size: 18px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 50;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Smooth reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Media Queries (Responsive) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 48px;
  }
  .nav-list {
    display: none;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-feature img {
    height: 260px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .booking-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 150px 0 120px;
  }
  .hero-title {
    font-size: 38px;
  }
  .blog-mini {
    grid-template-columns: 110px 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand .socials {
    justify-content: center;
  }
  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
}

/* Additional smaller screen adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  .section-title {
    font-size: 32px;
  }
  .location-item img {
    height: 180px;
  }
}
