/* -------------------------- */
/*  1. Hero Section           */
.hero_container {
  height: 550px;
  display: flex;
  align-items: center;
}
.hero_frame {
}
.hero_text {
  width: 100%;
  margin-top: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 10%));
  justify-content: center;
}
.hero_item {
  grid-area: 2 / 2 / 7 / 6;
  padding: 10% 8% 10% 0;
}
.hero-title {
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.05;
  font-weight: 800;
  margin: 6px 0 12px;
  letter-spacing: -0.02em;
}
.lead {
  color: #334155;
  font-size: 1.05rem;
  margin-bottom: 30px;
  font-size: clamp(15px, 2vw, 17px);
}
.hero_item p {
}
.hero_item a {
  margin: 0 0 20px;
  background: var(--primary-600);
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}
.hero_item-2 {
  grid-area: 2 / 6 / 7 / 11;
}

/* Automatic and manual slider */
.hero_sliders {
  font-family: monospace;
  width: 100%;
  height: 600px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.hero_date {
  position: absolute;
  left: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 1.5% 3%;
  color: #fff;
  display: block;
  z-index: 2;
  border-radius: 10px 0 10px 0;
}
.hero_list {
  position: absolute;
  top: 0;
  left: 0;
  height: inherit;
  display: flex;
  width: max-content;
  transition: 1s;
  overflow: hidden;
}
.hero_list img {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  transition: 0.5s;
  object-fit: cover;
}
.hero_list img:hover {
  scale: 1.03;
}
.hero_buttons {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.hero_buttons button {
  cursor: pointer;
  width: 50px;
  height: 90px;
  background-color: #fff8;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}
@media screen and (max-width: 1025px) {
  .hero_container {
    height: auto;
  }
  .hero_sliders {
    height: 550px;
  }
  .hero_list img {
    height: 550px;
  }
  .hero_item {
    padding: 2% 10% 10% 0;
    grid-area: 1 / 1 / 7 / 9;
  }
  .hero_item-2 {
    grid-area: 7 / 1 / auto / 10;
  }
}
@media screen and (max-width: 500px) {
  .hero_item {
    grid-area: 1 / 1 / 7 / 10;
    padding: 10% 0 10% 0;
  }
}
@media screen and (max-width: 430px) {
  .hero_container {
    height: auto;
  }
  .hero_sliders {
    height: 400px;
  }
  .hero_list img {
    height: 400px;
  }
}

/* -------------------------- */
/*  2. Booking                */

.booking_container {
  background: var(--secondary);
  height: 330px;
  display: flex;
  align-items: flex-end;
}
.booking_frame {
  color: #fff;
}
.booking_frame h3 {
  font-size: clamp(16px, 2vw, 18px);
}
.booking_content {
  width: 50%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 3%;
}
.booking_content .booking_btn {
  color: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.booking_content .booking_btn a {
  color: var(--bg);
  padding: 13px 25px;
  background-color: #fff;
  border-radius: 4px;
  font-weight: 550;
  font-size: 17px;
  margin-right: 10px;
}
.booking_content .booking_btn a:last-child {
  /* background: #b72126; */
  background: var(--bg);
  color: #fff;
}
.booking_anchor {
  cursor: pointer;
  margin-top: 10px;
  border-radius: 4px;
  padding: 13px 25px;
  text-align: center;
  background: #ff690e;
}
.booking_anchor a {
  font-weight: 550;
  color: var(--bg);
  font-size: 17px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 140px));
  gap: 10px;
  margin: 8px auto 0;
}

/* Countdown animations */
.cd-item {
  transition: all 0.3s ease;
  background-color: #f2f2f2;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  padding: 15px 20px;
  border-radius: 10px;
  color: gray;
  font-weight: 600;
}
.cd-item:nth-child(1) {
  animation-delay: 0.4s;
}
.cd-item:nth-child(2) {
  animation-delay: 0.5s;
}
.cd-item:nth-child(3) {
  animation-delay: 0.6s;
}
.cd-item:nth-child(4) {
  animation-delay: 0.7s;
}
.cd-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.cd-item span {
  transition: all 0.3s ease;
  display: inline-block;
  color: var(--bg);
  font-weight: bolder;
  font-size: 28px;
  margin-right: 5px;
}
.cd-item:hover span {
  transform: scale(1.1);
  color: #000033;
}
@media screen and (max-width: 1150px) {
  .booking_content .booking_btn {
    flex-direction: column;
    align-items: flex-start;
  }
  .booking_content .booking_btn a {
    margin-bottom: 6px;
    width: 180px;
  }
}
@media screen and (max-width: 1025px) {
  .booking_container {
    margin-top: -10%;
    height: 380px;
  }
  .booking_content {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 3%;
  }
  .booking_content .booking_btn {
    flex-direction: row;
  }
}
@media screen and (max-width: 500px) {
  .booking_container {
    height: 580px;
  }
  .booking_content .booking_btn {
    flex-direction: column;
  }
  .booking_content .booking_btn a {
    margin-bottom: 6px;
    width: auto;
  }
  .countdown {
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin: 10px auto 0;
  }
  .cd-item {
    text-align: center;
  }
  .cd-item span {
    margin-right: 0;
  }
}

/* ---------------------------- */
/*  3. Deposit Banner           */
.deposit_section {
  padding: 64px 0;
  background-image: linear-gradient(#00000088),
    url("../images/cruise_ship4.jpg");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 1px solid #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
}
.deposit_container {
  margin: 0 auto;
  color: #e8f0f3;
}
.deposit_container .lead {
  color: #e8f0f3;
}
.still {
  color: var(--primary-600);
}
.deposit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}
.deposit_btn.btn-primary {
  background: var(--primary-600);
  color: #e8f0f3;
}
.deposit_btn.btn-primary:hover {
  background: var(--primary-600);
}
.deposit_btn.btn-outline {
  background: var(--primary);
  color: #e8f0f3;
}
.deposit_btn.btn-outline:hover {
  border-color: var(--primary-600);
}
.deposit {
  text-align: center;
}
.deposit h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 34px);
}

/* ---------------------------- */
/*  4. Slider Section           */
.section {
  padding: 5% 0;
  background-image: linear-gradient(#fff 50%, #ffffffde, #fff),
    url("../images/cruise_bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.slider_frame {
  height: inherit;
}
.slider_heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 9%;
  text-align: center;
}
.slider_heading h1 {
  font-size: clamp(25px, 2vw, 35px);
}
.slider_heading p {
  width: 53%;
  margin: 1.5% 2%;
}
.heading_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slider_heading a {
  background-color: var(--primary);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
}
.slider_content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  height: 500px;
  padding-bottom: 70px;
}
.slider {
  position: relative;
  perspective: 1000px;
  overflow: hidden;
}
.slider .cards {
  position: absolute;
  background: #fff;
  width: 500px;
  border-radius: 15px;
  transition: transform 0.6s ease, opacity 0.6s ease, z-index 0.6s;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.slider .cards img {
  width: 100%;
  height: 340px;
  transition: 0.5s;
  border-radius: 15px 15px 0 0;
}
.slider img:hover {
  scale: 1.03;
}
.card_info {
  padding: 15px 17px;
}
.slider .cards h3 {
  font-size: clamp(17px, 2vw, 20px);
}
.slider .cards p {
  margin: 2% 0 4%;
  width: 85%;
  font-size: clamp(15px, 2vw, 17px);
}
.slider .card_info a {
  text-decoration: none;
  color: #fff;
  background: var(--secondary);
  border-radius: 3px;
  font-size: small;
  font-weight: bolder;
  padding: 5px 10px;
  transition: 0.3s;
}
.slider .card_info a:last-child {
  margin-left: 10px;
  background: var(--primary);
}
.controls {
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.controls button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: none;
  outline: none;
  background: var(--secondary);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease-out;
}
.controls button:hover {
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.5);
}
@media (max-width: 580px) {
  .section {
    padding: 9% 0 0;
  }
  .slider_content {
    height: 400px;
  }
}
@media (max-width: 380px) {
  .slider_content {
    height: 350px;
  }
}
@media (max-width: 700px) {
  .slider_heading {
    margin-bottom: 15%;
  }
  .slider_content {
    position: relative;
  }
  .slider .cards {
    width: 100%;
  }
  .slider .cards img {
    width: 100%;
    height: auto;
  }
  .slider_heading p {
    width: 100%;
    margin: 4% 0;
  }
}

/* -------------------------- */
/*  5. About Section           */
.about_container {
  padding: 5% 0;
  background-image: linear-gradient(#00000088), url("../images/cruise2.png");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.about_frame {
  color: #fff;
}
.about_content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.about_text span {
  color: #c7dfe8;
}
.about_content h2 {
  font-size: clamp(19px, 2vw, 25px);
  width: 70%;
  word-spacing: 2px;
}
.about_content .about_btn {
  color: #fff;
}
.about_content .about_btn a {
  background-color: var(--primary-600);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  width: 170px;
  padding: 0 10px;
  border-radius: 4px;
  color: #fff;
  margin-right: 10px;
}
@media screen and (max-width: 900px) {
  .about_container {
    padding: 10%;
  }
  .about_content {
    flex-direction: column;
    text-align: center;
  }
  .about_content h2 {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* -------------------------- */
/*  6. Subscribe              */
.form-grid .btn {
  padding: 0 16px;
  height: 60px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.form-grid .btn-primary {
  background: var(--primary-600);
  color: #fff;
}
.subscribe_section {
  padding: 5% 0;
  margin-top: 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: var(--bg);
  color: var(--bg);
}
.subscribe_content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 30px 16px;
  width: 900px;
  margin: 0 auto;
}
.form input {
  margin-right: 20px;
  padding: 5px 10px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--bg);
  width: 550px;
  height: 50px;
  border: 1px solid grey;
}
/* Subscribe */
.sub_text {
  text-align: center;
}
.subscribe-form .form-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1025px) {
  .subscribe_content {
    width: 95%;
  }
  .form input {
    width: 550px;
    max-width: 100%;
  }
}
@media screen and (max-width: 810px) {
  .subscribe_content {
    width: 90%;
  }
  .form input {
    width: 80vh;
    max-width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .form-grid {
    display: flex;
    flex-direction: column;
  }
  .form input {
    margin-right: 0;
  }
  .form-grid .btn {
    margin-top: 10px;
  }
}

/* --- Login Page Styling --- */
.login_section {
  width: 100%;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  min-height: 80vh;
}
.login_box {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease;
}
.login_box h2 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.login_box p {
  text-align: center;
  margin-bottom: 25px;
  color: #555;
}
.login_box .form-group {
  margin-bottom: 20px;
}
.login_box input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}
.login_box button {
  width: 100%;
  padding: 14px;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}
.login_box button:hover {
  background: #1e40af;
}
.login_box .links {
  margin-top: 20px;
  text-align: center;
}
.login_box .links a {
  color: #1d4ed8;
  text-decoration: none;
  font-size: 14px;
}
