/*  ================ INITIALS  ================ */
:root {
  --main-color: #061d3a;
  --secondary-color: #feda14;
  --bg-alt-color: rgba(6, 29, 58, 0.92);
  --text-color: #ffffff;
  --light-grey: #bbc8d4;
  --ultra-light-grey: #dae3ea;
  --heading-font: 'Barlow Condensed', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  --paddings-in-sections: 60px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  transition: all 1s ease;
  scroll-behavior: smooth;
}
body {
  color: var(--text-color);
  font-family: var(--body-font);
  transition: all 0.6s ease;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: var(--heading-font);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-family: var(--heading-font);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-family: var(--body-font);
  font-weight: 300;
}

h4 {
  font-size: clamp(0.625rem, 2.5vw, 1.25rem);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*  ================ NavBar  ================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../images/Hero.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

nav {
  padding: 20px 0;
  background-image: linear-gradient(to bottom, var(--main-color), transparent);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.flex-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

div.left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}

ul {
  list-style: none;
}

ul.links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

li {
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.4s ease;
  color: var(--text-color);
}

.link {
  color: var(--text-color);
  text-transform: capitalize;
  transition: all 0.4s ease;
}

.link a:hover {
  color: var(--secondary-color);
  transform: translateX(20px);
}
.link:hover {
  transform: scaleX(0.9);
}

.opend {
  transform: translateX(0px) !important;
}

.menu-icon {
  display: none;
  width: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.menu-icon span {
  display: block;
  height: 5px;
  background-color: var(--text-color);
  margin-bottom: 5px;
  border-radius: 15px;
  transition: all 0.6s ease;
}
.checked {
  transform: translateY(10px);
}
.checked span:nth-child(2) {
  transform: translateX(-1000px);
  opacity: 0;
  visibility: hidden;
}
.checked span:nth-child(1) {
  transform: rotate(-45deg);
}
.checked span:nth-child(3) {
  transform: rotate(45deg) translate(-12px, -12px);
}

.btn {
  background-color: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  padding: clamp(0.8rem, 1vw, 1rem) clamp(2.3rem, 2.5vw, 3rem);
  border-radius: 15px;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 1rem;
}

.primary-btn {
  background-color: var(--secondary-color);
  border: none;
  color: var(--main-color);
  font-size: 1.2rem;
  font-weight: 700;
    padding: clamp(0.9rem, 1.2vw, 1.1rem) clamp(2.5rem, 2.6vw, 3.2rem);
  box-shadow: 0 8px 20px rgba(254, 218, 20, 0.25);
  transition: all 0.6s ease;
}

.primary-btn:hover {
  box-shadow: 0 12px 28px rgba(254, 218, 20, 0.35);
  transform: translateY(-2px);
}

.secondary-btn {
  font-weight: 300;
  transition: all 0.6s ease;
  border: 2px solid var(--text-color);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}
.secondary-btn:hover {
  background-color: var(--text-color);
  color: var(--main-color);
  border-color: var(--text-color);
}

nav .btn {
  padding: clamp(0.5rem, 0.7vw, 0.7rem) clamp(1.4rem, 2vw, 2.5rem);
  font-size: clamp(0.7rem, 1.24vw, 0.9rem);
}

/*  ================ Hero Content  ================ */
.hero-content {
  text-align: center;
  margin-top: 75px;
  position: relative;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content h3 {
  font-weight: 300;
  color: var(--secondary-color);
  letter-spacing: 0.02em;
  margin-bottom: 1.3rem;
}

.hero-content .subheader {
  color: var(--light-grey);
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 1.666rem);
  margin-bottom: 2.6rem;
}

.hero-content .CTAs {
  display: flex;
  flex-direction: row;
  gap: 2.6rem;
  justify-content: center;
}

.h1-wrapper {
  position: relative;
  display: inline-block;
}

.badge {
  position: absolute;
  top: -30%;
  left: -28%;
  /* width: 120px; */
  /* transform: rotate(-8deg); */
}

@media screen and (max-width: 1024px) {
  .badge {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 180px;
    /* width: 120px; */
    /* transform: rotate(-8deg); */
  }
}
@media screen and (max-width: 768px) {
  .badge {
    display: none;
  }
}

/*  ================ Features Section  ================ */
.features {
  padding: var(--paddings-in-sections) 0;
  background-color: var(--main-color);
}

.features .heading-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-bottom: 100px;
  padding: 0 6%;
  line-height: 1.07;
}
.features .heading-content h2 {
  max-width: 360px;
  flex: 1;
  color: var(--secondary-color);
}
.features .heading-content .subheader {
  max-width: 330px;
  flex: 1;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
}

.features .cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0 auto;
}

.features .card {
  max-width: 390px;
  flex: 1;
}

.features .card img {
  width: 100%;
  min-width: 250px;
  object-fit: cover;
  border-radius: 15px;
  object-position: center center;
  aspect-ratio: 4/3;
}

.features .card h3 {
  padding: 1rem 0;
  font-weight: 500;
  letter-spacing: 0.02rem;
  font-family: var(--heading-font);
}

.caption {
  color: var(--ultra-light-grey);
  font-size: 1rem;
  line-height: 1.65;
}

/*  ================ Gallery Section  ================ */
.gallery {
  background-color: var(--bg-alt-color);
  padding: var(--paddings-in-sections) 0;
}

.gallery .container {
  max-width: max-content;
  width: auto;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 90px;
}

.gallery .carousel {
  overflow: hidden;
}

.gallery .wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: nowrap;
  text-align: center;
  gap: 2rem;
  transform: translateX(-25%);
  transition: all 0.4s ease;
}

.gallery .wrapper img {
  width: 480px;
  min-width: 480px;
  height: 415px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.gallery .arrows {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  margin-right: 10%;
  /* transition: all 0.6s ease; */
  justify-content: flex-end;
}

.gallery i {
  display: block;
  font-size: 2.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery i:hover {
  color: var(--secondary-color);
}

/*  ================ About Section  ================ */

.about {
  padding: var(--paddings-in-sections) 0;
  background-color: var(--main-color);
  position: relative;
  height: 100dvh;
  overflow: hidden;
}

.about .container {
  height: 100%;
}

.about .icons {
  position: relative;
  width: 100%;
  height: 100%;
}

.about .flex-wrapper {
  height: 100%;
  justify-content: center;
  align-items: center;
}

.about img {
  position: absolute;
  width: clamp(100px, 16vw, 200px);
}

.about .text {
  text-align: center;
  max-width: 800px;
}

.about .text h2 {
  margin-bottom: 1.3rem;
}

.about .text p {
  line-height: 1.5;
}

/*  ================ Tribute Section  ================ */

.tribute {
  background-image: url(../images/Tribute.webp);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100dvh;
  display: flex;
  align-items: center;
}

.tribute .text {
  max-width: 540px;
}

.tribute .text .tag {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.7;
  text-indent: 4px;
}

.tribute .text h2 {
  line-height: 1.09;
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.tribute .text p {
  line-height: 1.7;
  font-weight: 400;
  padding-left: 0.3333rem;
}

.yellow {
  color: var(--secondary-color);
  text-transform: uppercase;
}

/*  ================ Location Section  ================ */
.location {
  background-color: var(--bg-alt-color);
  padding: var(--paddings-in-sections) 0;
}

.location .head-content {
  margin-bottom: 3rem;
}

.location .head-content h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.location h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.location .head-content p {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  width: 100%;
  color: var(--secondary-color);
}

.location .head-content p .right {
  display: block;
  text-align: end;
}

.location .cards {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: clamp(2.5rem, 1vw, 5rem);
}

.location .cards .card {
  /* min-width: 500px; */
  min-width: 300px;

  /* flex-shrink: 1; */
  max-width: 560px;
}

.location .cards .card img {
  object-fit: cover;
  /* object-position: -40px 20px; */
  height: 400px;
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 15px;
}

.location .cards .card a {
  font-size: 0.9rem;
  width: 100%;
  margin: 0 auto;
  /* display: flex;
  align-items: center; */
  margin-top: 0.5rem;
  transition: all 0.4s ease;
}

.location .cards .card a i {
  margin-left: 0.25rem;
  transition: all 0.4s ease;
}

.location .cards .card a:hover {
  color: var(--secondary-color);
}

.location .cards .card a:hover i {
  margin-left: 0;
}

.location .cards .card h2,
.location .cards .card p,
.location .cards .card a {
  text-indent: 4px;
}

/*  ================ CTA Section  ================ */

.cta {
  padding: var(--paddings-in-sections) 0;
  height: 100dvh;
  background-image: url(../images/cta-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.cta .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.cta .cta-btn {
  max-width: 475px;
  margin: 0 auto;
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
  border: none;
  border-radius: 900px;
  font-size: 1.75rem;
  font-family: var(--body-font);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  background-color: var(--secondary-color);
  color: var(--main-color);
  box-shadow: 7px 12px 4px 0 rgba(0, 0, 0, 0.3);
}

.cta .cta-badge {
  max-width: 620px;
  min-width: 300px;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.cta img {
  width: 100%;
}

/*  ================ Footer  ================ */

footer {
  background-color: var(--main-color);
  padding: var(--paddings-in-sections) 0;
}

footer .wrapper {
  border-top: 2px solid rgba(255, 255, 255, 0.212);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .container {
  display: flex;
  gap: 2rem;
  flex-flow: column;
}

footer a {
  align-self: center;
}
footer ul.links {
  gap: 1rem;
}

footer .label {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.25rem;
}
