/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  overflow-x: hidden;
}

.wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* ========== Topbar & Header ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background-color: rgb(31, 58, 80);
  color: #fff;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
}

.logo h2 {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: rgb(217, 144, 9);
}

/* ========== Navigation / Links ========== */
.hamburger {
  display: none;
  font-size: 44px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.navBar {
  display: block;
}

.navLinks {
  width: 100%;
  /* overflow-x: hidden; */ /* removed to allow dropdown to show */
}

.linkRight {
  display: flex;
  flex-direction: row;
  gap: 27px;
  align-items: center;
  list-style: none;
}

.linkRight a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

.linkRight a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.linkRight a:hover {
  color: rgb(217, 144, 9);
}

.linkRight a:hover::after {
  width: 100%;
}

.linkRight button {
  padding: 6px 12px;
  background: rgb(217, 144, 9);
  width: 120px;
  color: black;
  border: none;
  height: 40px;
  border-top-right-radius: 40px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.linkRight button:hover {
  background: white;
  color: rgb(31, 58, 80);
}

/* ========== Dropdown Menu ========== */
.linkRight li.dropdown {
  position: relative; /* parent reference for absolute menu */
}

/* Dropdown appears ABOVE parent link */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* show above the link */
  left: 0;
  margin-top: 5px;
  background: white;
  min-width: 150px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: rgb(31, 58, 80);
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgb(217, 144, 9);
  color: black;
  font-weight: bold;
}


/* .linkRight li.dropdown:hover > .dropdown-menu {
  display: block;
} */

/* Desktop: show on hover */
@media (min-width: 451px) {
  .linkRight li.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* ========== Mobile / Responsive ========== */
@media (max-width: 450px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 15px;
    gap: 10px;
  }

  .logo {
    margin-left: 0;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
    margin-left: 40px;
    margin-bottom: 10px;
  }

  .navBar {
    display: none;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .navBar.active {
    display: block !important;
  }

  .linkRight {
    flex-direction: column;
    gap: 20px;
    padding: 10px 20px;
  }

  .linkRight button {
    background-color: rgb(223, 181, 104);
    color: #555;
    width: 100%;
    border-radius: 6px;
  }

  .linkRight a {
    color: #fff !important;
    font-size: 18px;
  }

  /* Mobile dropdown shows below parent (clickable) */
  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    background-color: rgb(31, 58, 80);
    border-radius: 0;
    box-shadow: none;
    display: none; /* hidden initially */
  }

  .dropdown-menu li a {
    background-color: rgb(223, 181, 104) !important;
    color: #555 !important;
  }

  /* Show dropdown when parent gets focus */
  .linkRight li.dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}











/* Hero Section Styling */
.hero-offer-section {
  position: relative;
  background: url('./offer.jpg')no-repeat center  / cover fixed;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;

  opacity: 0; /* Start with the section hidden */
  animation: fadeIn 2s ease-in-out forwards; /* Apply the fade-in animation */
}

/* Define the fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0; /* Fully transparent */
  }
  100% {
    opacity: 1; /* Fully opaque */
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color:rgb(31, 58, 80);
  margin-top: -50px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color:black;
  font-weight: bold;
  margin-bottom: 40px;
  margin-top: 10px;
}

.hero-cta-btn {
  padding: 0.75rem 2rem;
  background-color:salmon;
  color: #555;
  text-decoration: none;
  font-weight: bold;
  border-top-right-radius: 50px;
  font-size: 1rem;
  transition: background-color 0.3s ease
}

.hero-cta-btn:hover {
  background-color: #c0392b;
  color: white;
}

/* Benefits Section Styling */
.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 3rem;
  z-index: 2;
  margin-top: 100px;
}

.benefit-item {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: 10px;
  width: 300px;
  text-align: center;

  /* Add animation */
  animation: pulse 2s ease-in-out infinite;
}

/* Define the pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    /* you can optionally animate a shadow/glow too */
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.benefit-item h3 {
  font-size:2rem;
  margin-bottom: 0.5rem;
  color: slateblue;
  margin-bottom: 20px;
}

.benefit-item p {
  font-size: 18px;
}

@media only screen and (max-width: 450px) {
  /* Adjustments for screens 450px wide or less */

  /* Hero Section */
  .hero-offer-section {
    padding: 10px;
    height: auto; /* Allow content to flow naturally */
    background-size: cover;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-top: 10px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-top: 5px;
  }

  .hero-cta-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Benefits Section */
  .hero-benefits {
    flex-direction: column;
    gap: 20px;
    margin-top: 2rem;
  }

  .benefit-item {
    width: 90%;
    margin: 0 auto;
    padding: 1rem;
  }

  .benefit-item h3 {
    font-size: 1.5rem;
  }

  .benefit-item p {
    font-size: 1rem;
  }
}












/* Offer container styling */
.offer-container {
  background: url('./book\ confirm.jpg') no-repeat center center / cover fixed;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
  padding: 20px;
  width: 1200px;
  width: 90%;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 80px;
}

.offer-container .offer-card:first-child {
  background-color: rgb(164, 57, 45);
}

.offer-container .offer-card:nth-child(2){
  background-color:cadetblue;
}

.offer-container .offer-card:nth-child(3){
  background-color:salmon;
}

.offer-container .offer-card:nth-child(4){
  background-color:cornflowerblue;
}

.offer-container .offer-card:nth-child(5){
  background-color:rgb(56, 148, 56);
}

.offer-container .offer-card:nth-child(6){
  background-color:rgb(81, 104, 124);
}

.offer-container .offer-card:nth-child(7){
  background-color:rgb(122, 73, 148);
}

.offer-container .offer-card:nth-child(8){
  background-color:rgb(104, 131, 153);
}

.offer-container .offer-card:nth-child(9){
  background-color:#1abc9c;
}

.offer-container .offer-card:nth-child(10){
  background-color:rgb(104, 183, 104);
}

/* Offer card styling */
.offer-card {
  background-color:rgb(31, 58, 80);
  /* border-radius: 10px; */
  border-bottom-right-radius: 100px;
  box-shadow: 20px 20px  10px rgba(7, 0, 0, 0.4);
  width: 350px;
  padding: 20px;
  text-align: center;
  line-height:1.5rem;
  transition: transform 0.3s ease;
}

/* the pulsing state */
.offer-card.pulsing {
  animation: card-pulse 3s ease-in-out infinite;
}

/* Define the keyframes for the pulse */
@keyframes card-pulse {
  0% {
    transform: scale(1);
    box-shadow: 20px 20px 10px rgba(7, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.03);  /* increase the scale a bit */
    box-shadow: 20px 20px 20px rgba(7, 0, 0, 0.6);  /* you can enlarge / soften the shadow */
  }
  100% {
    transform: scale(1);
    box-shadow: 20px 20px 10px rgba(7, 0, 0, 0.4);
  }
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-card h2 {
  font-size:1.7rem;
  font-weight: bold;
  color:white;
  margin-bottom: 40px;
  line-height:2rem;
  position: relative;   /* needed so the pseudo-element can position relative to the heading */
  display: inline-block; /* ensures width matches the text and pseudo-element aligns */
}

/* Pseudo-element for the underline */
.offer-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;     /* adjust as needed (distance from text) */
  height: 3px;       /* thickness of the line */
  width: 100%;
  background-color:black;  /* color of the underline */
  transform: scaleX(0);
  transform-origin: left center;
  animation: underline-pulse 2s ease-in-out infinite;
}

/* Keyframes for the underline animation */
@keyframes underline-pulse {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}



/* 1. h2 inside offer-card */
.offer-card h2 {
  color:black;
  font-size: 1.8rem;
}

/* 2. all p tags inside offer-card */
.offer-card p {
  color: #eee;
  margin-bottom: 10px;
   margin-bottom:30px; /* or some value you prefer */
}

/* 3. strong inside p inside offer-card */
.offer-card p strong {
  color:black;
  font-weight: bold;
}

.offer-card p.para {
  margin-bottom: 0.5rem;
}

/* 4. em inside p inside offer-card (or anywhere inside .offer-card) */
.offer-card em {
  font-style: italic;
  font-size: 16px;
  color:black;
  font-weight: bold;
}

@media only screen and (max-width: 450px) {
  /* Adjustments for screens 450px wide or less */

  /* Offer Container */
  .offer-container {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    margin-left: 0;
    width: 100%;
  }

  /* Offer Card */
  .offer-card {
    width: 80%;
    padding: 15px;
    box-shadow: none;
    border-radius: 10px;
    margin-left:45px;
  }

  /* Offer Card Title */
  .offer-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  /* Paragraphs inside Offer Card */
  .offer-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  /* Strong elements inside Paragraphs */
  .offer-card p strong {
    font-weight: bold;
  }

  /* Em elements inside Paragraphs */
  .offer-card em {
    font-style: italic;
    font-size: 0.9rem;
  }
}












/* Footer Styles */
.site-footer {
  background-color:rgb(31, 58, 80);   /* dark background */
  color: #f9f9f9;            /* light text */
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  padding-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
  margin-left:100px;
}


.footer-contact{
  color:rgb(217, 144, 9);
}

.col{
  display: flex;
  flex-direction: row;
  margin-left: -50px;
  margin-top: -25px;
}

.col p{
  margin-top: 30px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-contact a {
  color: #f9f9f9;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.3s;
  /* font-weight: bold; */
}

.footer-contact a:hover {
  color: #1abc9c;  /* accent color */
}

.footer-column h4 {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgb(217, 144, 9);
  position: relative;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: rgb(217, 144, 9);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: bold;
}

.footer-column ul li a:hover {
  color: #1abc9c;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #333;
  border-radius: 50%;
  color: #f9f9f9;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
  background-color: #1abc9c;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaaaaa;
}

.footer-bottom a {
  color: #cccccc;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #1abc9c;
}

/* ====== Mobile / Responsive Footer for 450px ====== */
@media (max-width: 450px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
  }

  .footer-column {
    margin-left: 0; /* remove extra left margin */
    text-align: center;
    margin-top: -20px;
  }

  .footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column ul li {
    margin-bottom: 8px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    margin-top: -80px;
  }

  .footer-bottom a {
    margin: 0 5px;
  }

  .col {
    flex-direction:row;
    margin-left: 0;
    margin-top: 0;
  }

  .col p {
    margin-top:30px;
  }

  .footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
  }
}
