/* ==================================================
   GLOBAL
================================================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;

    background-color: #FFF8E1;

    background-image:
        radial-gradient(circle at 25% 25%, rgba(196,154,50,0.07) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(196,154,50,0.05) 2px, transparent 2px);
    background-size: 90px 90px;
}

a {
    text-decoration: none;
}


/* ==================================================
   HEADER
================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 9999;

    padding: 5px;
   /* background: linear-gradient(135deg, #D4AF37, #B8942E);*/
    background: #8b0000;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    width: 70px;
    height: auto;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}
.header-text p {
    margin: 0;
    line-height: 1.2;
}

.header-sub {
    margin-top: 4px;
    font-size: 13px;
}

/* Navigasi */
nav {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    font-weight: bold;
}


/* ==================================================
   SECTION & CONTAINER
================================================== */
section {
    display: flex;
    justify-content: center;
    padding: 10px 30px;
}

.container {
    width: 100%;
    max-width: 1100px;
    text-align: center;
}


/* ==================================================
   HERO
================================================== */
.hero {
    position: relative;
    z-index: 1;

    padding: 60px 20px;
    text-align: center;
    color: #333;

    background-color: #FFF8E1;
    background-image:
        linear-gradient(rgba(255,248,225,0), rgba(255,248,225,0)),
        url("../images/kabah.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    color: greenyellow;
    font-size: 32px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.hero p {
    color: greenyellow;
    font-size: 20px;
    margin-top: 0;
}

.hero a {
    font-size: 16px;
}


/* ==================================================
   BUTTON
================================================== */
.cta-button {
    display: inline-block;
    padding: 12px 26px;
    background: #25D366;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #1ebe5d;
}

.cta-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 20px;
}

.cs-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  background: #fff; /* supaya shadow terlihat jelas */
}


/* ==================================================
   PACKAGES / CARD
================================================== */
.packages .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.packages .card-img-wrapper {
  width: 100%;
  /*aspect-ratio: 4/5;       rasio ideal mobile & desktop */
  overflow: hidden;
  border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.packages .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* gambar tetap proporsional */
  display: block;
}
.packages .card-img-wrapper img {
  transition: transform 0.4s ease;
}
/* MODAL */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.img-modal img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

/* CLOSE BUTTON */
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.packages .card:hover img {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .packages .card-img-wrapper {
    aspect-ratio:  4/ 5;
  }
}

.container h2{
    text-align: center;
    color: #B8942E;
}
.card {
    background: #FFFFFF;
    border: 1px solid #E0C97F;
    border-radius: 8px;
    width: 50%;
    padding: 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card h3 {
    color: #B8942E;
    margin: 0 0 6px;
}

.card p {
    margin: 2px 0;
    line-height: 1.3;
    font-size: 13px;
}

.card .cta-button {
    margin-top: 12px;
}




/* ==================================================
   FOOTER
================================================== */
footer {
    background: #2A2415;
    color: #F5EEDC;
    text-align: center;
    padding: 25px 15px;
}

footer p {
    margin: 6px 0;
    font-size: 14px;
}


/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 600px) {

    .hero {
        padding: 45px 15px;
    }

    .card {
        width: 100%;
    }

    .logo {
        max-width: 70px;
        margin-bottom: 6px;
    }

    header h1 {
        font-size: 20px;
    }

    .header-sub {
        font-size: 12px;
    }
}

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

.wa-button{
  background-color: #25D366;
  color: #fff;
  padding: 12px 18px 12px 50px; /* kiri dilebarkan */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.cs-overlay{
  position: absolute;
  left: -18px;      /* posisi menjorok */
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 6px 15px rgba(0,0,0,.35);
}
/* ==================================================
   WELCOME SECTION
================================================== */
.welcome {
    background-color: green; /* emas muda, sama dengan body */
    padding: 5px 10px;
}

.welcome h2 {
    color: #B8942E;
    font-size: 26px;
    margin-bottom: 0px;
    margin-top: 0;  
    text-align: center;
    
}

.welcome p {
    font-size: 16px;
    line-height: 1.5;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.company-name {
    font-weight: bold;
    color: #B8942E; /* emas */
    display: block;
    margin-bottom: 4px; /* perkecil jarak */
}
.company-line {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.company-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.company-logo {
    width: 25px;
    height: auto;
}

.card-video-wrapper {
    display: flex;
    justify-content: center; /* tengah horizontal */
    align-items: center;     /* tengah vertikal (jika ada tinggi) */
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    
}

.card-video-wrapper video {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.sponsor-logos {
    padding: 40px 0;
    background-color: #f9f6ef; /* emas muda */
}

.sponsor-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
    color: #333;
}

.sponsor-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sponsor-wrapper img {
    max-height: 60px;
    opacity: 0.85;
    transition: 0.3s ease;
}

.sponsor-wrapper img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.blog-section {
  padding: 60px 0;
  background: #f9f6ef;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 14px;
  line-height: 1.6;
}

.blog-link {
  display: inline-block;
  margin-top: 10px;
  color: #b08a2e;
  font-weight: bold;
  text-decoration: none;
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.btn-modal {
  background: #b08a2e;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 10px;
}

.btn-link {
  color: #b08a2e;
  font-weight: bold;
  text-decoration: none;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}
.wa-float-img {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  text-align: right;
}

.wa-trigger {
  width: 150px;
  cursor: pointer;
  animation: waPulse 1.5s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.wa-options {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.wa-option {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 8px 12px;
  border-radius: 30px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.wa-option img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.wa-option span {
  font-size: 14px;
  font-weight: 600;
}

.umroh-table {
  margin: 10px auto;
  padding: 0px;
  max-width: 100%;
}

/* PAKSA JUDUL DI TENGAH */
.umroh-table h3 {
  text-align: center !important;
  margin-bottom: 20px;
  color: #8b6b2e;
}

/* WRAPPER TABEL */
.table-wrapper {
  overflow-x: auto;
}

/* TABEL */
.umroh-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

/* HEADER */
.umroh-table th {
  background: #8b0000;
  color: #fff;
  padding: 12px;
  text-align: center;
}

/* ISI */
.umroh-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

/* HOVER */
.umroh-table tr:hover {
  background-color: #f9f5ef;
}

/* TEKS OPTIONAL / CATATAN */
.umroh-table .note {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
  text-align: center !important;
}
.social-links img {
  width: 80px;
  height: 80px;
  transition: 0.3s;
}

.social-links img:hover {
  transform: scale(1.15);
}



.map-wrapper{
    margin:20px auto;          /* CENTER HORIZONTAL */
    width:100%;
    max-width:800px;

    position:relative;
    padding-bottom:56.25%;     /* 16:9 */
    height:0;
    overflow:hidden;

    border-radius:14px;
    box-shadow:0 8px 18px rgba(0,0,0,.15);
}

.map-wrapper iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}

.actions{
    text-align:center;
    margin-top:20px;
}

.btn{
    padding:12px 22px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    font-weight:600;
}
.btn:hover{
    background:#0b5ed7;
}





