@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #262b28;
  --muted: #777a72;
  --sand: #f4f1e9;
  --paper: #fbfaf7;
  --green: #324d40;
  --gold: #bd9555;
  --line: #dedbd2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  height: 82px;
  padding: 0 7.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 250, 247, 0.97);
  border-bottom: 1px solid #e9e5dc;
}

.brand {
  font-weight: 800;
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  color: var(--gold);
  font-size: 26px;
}

.site-header nav {
  display: flex;
  gap: 35px;
  font-size: 14px;
  color: #62655e;
}

.site-header nav a {
  height: 82px;
  display: flex;
  align-items: center;
  position: relative;
}

.site-header nav a.active::after,
.site-header nav a:hover::after {
  content: "";
  height: 2px;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.hero {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 65px 11%;
  color: white;
  background:
    linear-gradient(270deg, rgba(24, 34, 29, 0.84), rgba(24, 34, 29, 0.43) 53%, rgba(24, 34, 29, 0.08)),
    url("images/background.jpg") center 47% / cover;
}

.hero-content {
  max-width: 620px;
  animation: slide-in 0.8s ease both;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.35;
  margin: 13px 0;
}

.hero h1 span {
  color: #e4c48a;
}

.hero p {
  max-width: 500px;
  color: #f0eee8;
  font-size: 16px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 10px 22px;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  background: #25392f;
  transform: translateY(-2px);
}

.hero-button {
  background: var(--gold);
  color: #1e251f;
}

.hero-button:hover {
  background: #d0ab6a;
}

.hero-stamp {
  position: absolute;
  left: 9%;
  bottom: 55px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 126px;
  height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(-9deg);
  color: white;
}

.hero-stamp span {
  font-family: "Amiri", serif;
  font-size: 36px;
  line-height: 1.2;
}

.hero-stamp small {
  font-size: 9px;
}

.section {
  padding: 86px 9%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2,
.about h2 {
  font-family: "Amiri", serif;
  font-size: 38px;
  margin: 0;
  line-height: 1.4;
}

.section-heading p {
  color: var(--muted);
  margin: 0 0 7px;
  font-size: 14px;
}

.destination-list {
  padding: 0 20px 0 0;
  list-style-type: square;
  display: flex;
  gap: 36px;
  margin: 0 0 30px;
  color: var(--green);
  font-weight: 700;
}

.destination-list li::marker {
  color: var(--gold);
}

.destination-list a:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid #e8e4da;
  box-shadow: 0 10px 28px rgba(44, 42, 34, 0.045);
  animation: fade-up 0.7s ease both;
}

.card:nth-child(2) {
  animation-delay: 0.12s;
}

.card:nth-child(3) {
  animation-delay: 0.24s;
}

.card-image {
  display: block;
  height: 225px;
  position: relative;
  overflow: hidden;
  background: #e4ddcd;
}

.card-image img,
.detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s;
}

.card-image:hover img,
.detail-image:hover img {
  transform: scale(1.045);
}

.zoom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 11px;
  background: rgba(31, 40, 34, 0.83);
  color: white;
  font-size: 11px;
}

.card-body {
  padding: 19px 21px 22px;
}

.card-number {
  font-size: 11px;
  color: var(--gold);
  font-weight: 800;
}

.card h3 {
  font-family: "Amiri", serif;
  font-size: 24px;
  margin: 3px 0 7px;
}

.card h3 a:hover {
  color: var(--green);
}

.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  min-height: 48px;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  gap: 10px;
  align-items: center;
}

.text-link span {
  color: var(--gold);
}

.about {
  background: var(--sand);
  padding: 50px 11%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.about-mark {
  font-size: 62px;
  color: var(--gold);
}

.about h2 {
  font-size: 30px;
}

.about p {
  color: var(--muted);
  max-width: 650px;
  margin: 6px 0 0;
  font-size: 14px;
}

.round-link {
  margin-right: auto;
  border: 1px solid #b7ab91;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 46px;
  color: var(--green);
}

footer {
  min-height: 90px;
  padding: 18px 7.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

footer .brand {
  color: var(--ink);
  font-size: 18px;
}

.heart {
  color: #a65f45;
}

.detail-page {
  padding: 35px 9% 85px;
  min-height: calc(100vh - 170px);
}

.back-link {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  margin-bottom: 32px;
}

.back-link:hover {
  text-decoration: underline;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 7%;
  align-items: center;
}

.detail-copy h1 {
  font-family: "Amiri", serif;
  font-size: 47px;
  line-height: 1.35;
  margin: 5px 0 7px;
}

.detail-copy p {
  color: #62655e;
  font-size: 15px;
}

.detail-copy .lead {
  color: var(--green);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 18px;
}

.fact {
  margin: 23px 0;
  display: flex;
  gap: 13px;
  color: var(--muted);
  font-size: 13px;
}

.fact strong {
  color: var(--ink);
}

.fact > span {
  font-size: 22px;
}

.detail-image {
  display: block;
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #e5dfd2;
}

.detail-image .zoom {
  font-size: 13px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 850px) {
  .hero {
    min-height: 490px;
    padding: 50px 8%;
  }

  .hero h1 {
    font-size: 43px;
  }

  .section {
    padding: 65px 6%;
  }

  .cards {
    gap: 14px;
  }

  .card-image {
    height: 170px;
  }

  .card-body {
    padding: 15px;
  }

  .card h3 {
    font-size: 21px;
  }

  .card p {
    font-size: 12px;
  }

  .detail-page {
    padding: 28px 6% 55px;
  }

  .detail-layout {
    gap: 4%;
  }

  .detail-image {
    height: 440px;
  }

  .detail-copy h1 {
    font-size: 39px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 68px;
    padding: 0 5%;
  }

  .site-header nav {
    gap: 17px;
    font-size: 12px;
  }

  .site-header nav a {
    height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: 480px;
    padding: 45px 7%;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-stamp {
    display: none;
  }

  .section {
    padding: 55px 6%;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .destination-list {
    display: block;
    line-height: 2.2;
    margin-bottom: 24px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-image {
    height: 230px;
  }

  .card-body {
    padding: 18px 20px;
  }

  .card p {
    font-size: 13px;
  }

  .about {
    padding: 35px 7%;
    gap: 18px;
  }

  .about-mark {
    font-size: 44px;
  }

  .about h2 {
    font-size: 24px;
  }

  .about p {
    font-size: 12px;
  }

  .detail-page {
    padding: 22px 6% 50px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .detail-image {
    height: 320px;
    grid-row: 1;
  }

  .detail-copy {
    grid-row: 2;
  }

  .detail-copy h1 {
    font-size: 38px;
  }

  .detail-copy .lead {
    font-size: 17px;
  }

  .detail-copy p {
    font-size: 14px;
  }

  footer {
    padding: 20px 5%;
    gap: 10px;
    flex-wrap: wrap;
  }

  footer .brand {
    font-size: 16px;
  }

  footer > span {
    order: 3;
    flex-basis: 100%;
  }
}