/* ========================================
   WALIMAH PLANNER - WEDDING PLANNING WEBSITE
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #b28541 0%, #cba467 100%);
  color: #fff;
  border: 2px solid #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a31d1d 0%, #a31d1d 100%);
  border-color: #000;
}

.btn-secondary {
  background: linear-gradient(135deg, #a31d1d 0%, #a31d1d 100%);
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #8a1a1a 0%, #8a1a1a 100%);
  border-color: #fff;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  width: 100%;
}

/* Desktop Header */
.header-desktop {
  display: block;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  flex: 0 0 25%;
  padding: 10px 0;
}

.logo-img {
  max-width: 100px;
  height: auto;
}

.header-nav {
  flex: 0 0 40%;
  margin-right: -150px;
  margin-left: 4.8%;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  gap: 60px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item a {
  color: #333;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-item a:hover,
.nav-item.current a {
  color: #b18849;
}

.nav-item.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  color: #333;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #b18849;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.header-contact {
  flex: 0 0 20%;
  text-align: right;
  margin-right: 9.6%;
  margin-left: 9.6%;
}

/* Mobile Header */
.header-mobile {
  display: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
  margin-bottom: 0;
}

.header-mobile .header-row {
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header-mobile .header-logo {
  flex: 0 0 80%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.logo-img-mobile {
  max-width: 40px;
  height: auto;
}

.logo-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #b18849;
  text-align: left;
  margin: 0;
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #b18849;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger Menu Active State */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
  padding-top: 80px;
  overflow-y: auto;
  margin-top: 0;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #333;
  padding: 20px 25px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  color: #b18849;
  background: rgba(177, 136, 73, 0.05);
  padding-left: 30px;
}

.mobile-nav-item i {
  font-size: 20px;
  color: #b18849;
  width: 25px;
  text-align: center;
}

.mobile-nav-item span {
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}



/* ========================================
   MAIN CONTENT
   ======================================== */
main {
  margin-top: 0;
  padding-top: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  margin-top: 64px;
  margin-bottom: 20px;
}

.hero-image {
  text-align: center;
}

/* Hero Section Responsive */
@media screen and (max-width: 640px) {
  .hero-section {
    margin-top: 80px;
    margin-bottom: 15px;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (min-width: 641px) and (max-width: 1024px) {
  .hero-section {
    margin-top: 70px;
    margin-bottom: 18px;
  }
}

.hero-img {
  width: 1200px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  padding: 40px 0;
}

.about-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-text {
  flex: 0 0 33.333%;
  padding-right: 2%;
  padding-left: 2%;
}

.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 20px 0;
  color: #333;
}

.about-text p {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  text-align: justify;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   SLIDING IMAGES
   ======================================== */
.sliding-images {
  flex: 0 0 66.666%;
  padding-right: 2.88%;
  padding-left: 2.88%;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: none;
}

.slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  gap: 20px;
}

.slide-img {
  width: 40%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  flex: 1;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
  padding: 40px 0;
  display: none;
}

.gallery-section.active {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item {
  text-align: center;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.gallery-controls {
  text-align: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #fff;
  color: #333;
  padding: 60px 0;
}

.footer-wrapper {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Left Section - Logo & Description */
.footer-left {
  flex: 1;
  background: #f8f6f2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-description p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  text-align: center;
  margin: 0;
}

.footer-description strong {
  color: #b18849;
  font-weight: 600;
}

/* Right Section - Package Lists */
.footer-right {
  flex: 1;
  background: linear-gradient(135deg, #b18849 0%, #cba467 100%);
  padding: 40px;
  color: #fff;
}

.footer-packages {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-packages-row {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.footer-package-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-package-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-package-section li {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #fff;
  opacity: 0.9;
}

/* Footer Responsive */
@media screen and (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    margin: 0 20px;
  }
  
  .footer-left,
  .footer-right {
    padding: 30px;
  }
  
  .footer-logo-img {
    max-width: 100px;
  }
  
  .footer-description p {
    font-size: 13px;
  }
  
  .footer-packages-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-package-section h3 {
    font-size: 13px;
  }
  
  .footer-package-section li {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 40px 0;
  }
  
  .footer-left,
  .footer-right {
    padding: 25px;
  }
  
  .footer-logo-img {
    max-width: 80px;
  }
  
  .footer-description p {
    font-size: 12px;
  }
  
  .footer-package-section h3 {
    font-size: 12px;
  }
  
  .footer-package-section li {
    font-size: 11px;
  }
}

/* ========================================
   WHATSAPP WIDGET
   ======================================== */
.wa-widget {
  position: fixed;
  right: 15px;
  bottom: 61px;
  z-index: 1000;
}

.wa-btn-popup {
  position: relative;
  cursor: pointer;
}

.wa-btn-popup-icon {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.wa-btn-popup-icon::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488"/></svg>') no-repeat center;
  background-size: contain;
}

.wa-btn-popup:hover .wa-btn-popup-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* WhatsApp Widget Responsive */
@media screen and (max-width: 640px) {
  .wa-widget {
    right: 10px;
    bottom: 50px;
  }
  
  .wa-btn-popup-icon {
    width: 50px;
    height: 50px;
  }
  
  .wa-btn-popup-icon::before {
    width: 20px;
    height: 20px;
  }
}

@media screen and (min-width: 641px) and (max-width: 1024px) {
  .wa-widget {
    right: 12px;
    bottom: 55px;
  }
  
  .wa-btn-popup-icon {
    width: 55px;
    height: 55px;
  }
  
  .wa-btn-popup-icon::before {
    width: 22px;
    height: 22px;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large screens (desktop) */
@media screen and (min-width: 1025px) {
  .header-mobile {
    display: none;
  }
  
  .header-desktop {
    display: block;
  }
  
  .about-content {
    flex-direction: row;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium screens (tablet) */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  .header-mobile {
    display: none;
  }
  
  .header-desktop {
    display: block;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .image-slider {
    height: 350px;
  }
  
  .slide.active {
    flex-direction: column;
    gap: 15px;
  }
  
  .slide-img {
    width: 100%;
    height: 48%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  /* New sections tablet styles */
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .mua-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .venue-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .about-us-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .advantage-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* Small screens (mobile) */
@media screen and (max-width: 640px) {
  /* Header Mobile Styles */
  .header-desktop {
    display: none;
  }
  
  .header-mobile {
    display: block;
    height: auto;
    min-height: 70px;
  }
  
  .header-mobile .header-row {
    padding: 0 15px;
  }
  
  .hamburger-menu {
    width: 28px;
    height: 28px;
  }
  
  .hamburger-line {
    width: 22px;
    height: 2.5px;
  }
  
  .mobile-nav {
    width: 260px;
    padding-top: 70px;
  }
  
  .mobile-nav-item {
    padding: 18px 20px;
  }
  
  .mobile-nav-item span {
    font-size: 15px;
  }
  
  .mobile-nav-item i {
    font-size: 18px;
    width: 22px;
  }
  
  .logo-img-mobile {
    max-width: 35px;
  }
  
  .logo-text {
    font-size: 12px;
  }
  

  
  /* Hero Section Mobile */
  .hero-img {
    width: 100%;
  }
  
  /* About Section Mobile */
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-text {
    padding: 0 20px;
    text-align: center;
  }
  
  .about-text h2 {
    font-size: 1.5rem;
  }
  
  .sliding-images {
    padding: 0 20px;
    display: block;
    width: 100%;
  }
  
  .image-slider {
    width: 100%;
    height: 300px;
    display: block;
    position: relative;
    overflow: hidden;
  }
  
  /* Ensure slides are visible on mobile */
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .image-slider {
    height: 300px;
    display: block;
  }
  
  .slide.active {
    flex-direction: column;
    gap: 10px;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 10;
  }
  
  .slide-img {
    width: 100%;
    height: 48%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* Gallery Mobile */
  .gallery-header h2 {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
  }
  
  /* Footer Mobile */
  .footer-header h2 {
    font-size: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-logo-img {
    max-width: 120px;
  }
  
  /* Navigation Mobile */
  .nav-menu {
    gap: 30px;
  }
  
  .header-contact {
    margin-right: 4.8%;
    margin-left: 4.8%;
  }
  
  /* Package Grid Mobile */
  .package-header h2 {
    font-size: 1.5rem;
  }
  
  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  
  .package-item {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .package-img {
    width: 100% !important;
    height: 360px !important;
    object-fit: cover !important;
    border-radius: 15px !important;
  }
  
  .package-item h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px 0;
  }
  
  .package-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .package-item .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  
  /* Force package image height on mobile */
  .package-selection-section .package-item .package-img {
    height: 360px !important;
    min-height: 350px !important;
  }
  
  /* Advantages Mobile */
  .advantages-content {
    padding: 0 20px;
  }
  
  .advantages-header h2 {
    font-size: 1.5rem;
  }
  
  .advantage-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .advantage-img {
    width: 100%;
    max-width: 100%;
  }
  
  /* Challenges Mobile */
  .challenges-header h2 {
    font-size: 1.5rem;
  }
  
  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  
  .challenge-item {
    padding: 15px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    hyphens: auto;
    min-height: auto;
    height: auto;
  }
  
  .challenge-item h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #333;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .challenge-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
    color: #666;
    word-wrap: break-word;
    hyphens: auto;
    text-align: left;
    padding: 0 5px;
  }
  
  .challenges-cta {
    margin: 0 15px;
    padding: 30px 15px;
    width: calc(100% - 30px);
    box-sizing: border-box;
  }
  
  /* MUA Gallery Mobile */
  .mua-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
  }
  
  .mua-gallery-img {
    height: 200px;
  }
  
  /* Venue Grid Mobile */
  .venue-header h2 {
    font-size: 1.5rem;
  }
  
  .venue-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }
  
  /* About Us Mobile */
  .about-us-header h2 {
    font-size: 1.5rem;
  }
  
  .about-us-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  
  /* Section Headers Mobile */
  .package-selection-header h2,
  .advantages-header h2,
  .challenges-header h2,
  .mua-header h2,
  .venue-header h2,
  .about-us-text h2 {
    font-size: 1.5rem;
  }
  
  /* General Mobile H2 */
  h2 {
    font-size: 1.5rem !important;
  }
  
  /* Container Mobile */
  .container {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Responsive challenges section */
  .challenges-section {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ========================================
   TABLET RESPONSIVE STYLES
   ======================================== */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  /* Header Tablet */
  .header-row {
    padding: 0 30px;
  }
  
  .nav-menu {
    gap: 40px;
  }
  
  .header-contact {
    margin-right: 6%;
    margin-left: 6%;
  }
  
  /* Mobile Header Tablet */
  .header-mobile .header-row {
    padding: 0 25px;
  }
  
  .hamburger-menu {
    width: 32px;
    height: 32px;
  }
  
  .hamburger-line {
    width: 26px;
    height: 3px;
  }
  
  .mobile-nav {
    width: 300px;
    padding-top: 80px;
  }
  
  .mobile-nav-item {
    padding: 22px 28px;
  }
  
  .mobile-nav-item span {
    font-size: 16px;
  }
  
  .mobile-nav-item i {
    font-size: 20px;
    width: 25px;
  }
  
  .logo-img-mobile {
    max-width: 45px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  

  
  /* Hero Section Tablet */
  .hero-section {
    margin-top: 80px;
  }
  
  /* About Section Tablet */
  .about-content {
    gap: 40px;
  }
  
  .about-text h2 {
    font-size: 2.2rem;
  }
  
  .sliding-images {
    padding: 0 30px;
  }
  
  .image-slider {
    height: 350px;
  }
  
  /* Gallery Tablet */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 30px;
  }
  
  /* Package Grid Tablet */
  .package-grid {
    gap: 25px;
    padding: 0 30px;
  }
  
  .package-item {
    max-width: 100%;
  }
  
  .package-img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }
  
  .package-item h3 {
    font-size: 1.3rem;
    margin: 18px 0 12px 0;
  }
  
  .package-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  
  .package-item .btn {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  /* Force package image height on tablet */
  .package-selection-section .package-item .package-img {
    height: 320px !important;
    min-height: 320px !important;
  }
  
  /* Advantages Tablet */
  .advantages-content {
    padding: 0 30px;
  }
  
  /* Challenges Tablet */
  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 30px;
  }
  
  .challenge-item {
    padding: 25px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
  }
  
  .challenge-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
  }
  
  .challenge-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: #666;
  }
  
  /* MUA Gallery Tablet */
  .mua-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 30px;
  }
  
  /* Venue Grid Tablet */
  .venue-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 30px;
  }
  
  /* About Us Tablet */
  .about-us-content {
    gap: 40px;
  }
  
  /* Container Tablet */
  .container {
    padding: 0 30px;
  }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-item a:focus,
.mobile-nav-item:focus {
  outline: 2px solid #b18849;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary,
  .btn-secondary {
    border: 2px solid #000;
  }
  
  .footer {
    background: #000;
    color: #fff;
  }
}

/* ========================================
   PACKAGE SELECTION SECTION
   ======================================== */
.package-selection-section {
  background-color: #fff;
}

.package-header {
  background: linear-gradient(135deg, #b18849 0%, #cba467 100%);
  padding: 80px 0;
  color: #fff;
}

.package-header h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.package-header p {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
}

.package-content {
  padding: 80px 0;
  background-color: #fff;
}

.package-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.package-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 250px;
  max-width: 250px;
}

.package-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.package-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.package-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin: 20px;
  text-align: center;
}

.package-item .btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
  background: linear-gradient(135deg, #b18849 0%, #cba467 100%);
  border: none;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.package-item .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(177, 136, 73, 0.3);
}

/* Mobile styles */
@media screen and (max-width: 640px) {
  .package-header {
    padding: 60px 0;
  }
  
  .package-header h2 {
    font-size: 2rem;
  }
  
  .package-content {
    padding: 60px 0;
  }
  
  .package-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .package-item {
    flex: 0 0 100%;
    max-width: 320px;
  }
}

/* Tablet styles */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  .package-header {
    padding: 70px 0;
  }
  
  .package-content {
    padding: 70px 0;
  }
  
  .package-grid {
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .package-item {
    flex: 0 0 45%;
    max-width: 290px;
  }
}

/* ========================================
   ADVANTAGES SECTION
   ======================================== */
.advantages-section {
  padding: 60px 0;
  background-color: #ffdab9;
}

.advantages-header {
  text-align: center;
  margin-bottom: 40px;
}

.advantages-header h2 {
  font-size: 2.5rem;
  color: #333;
}

.advantages-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}



.advantage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.advantage-text h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.advantage-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   CHALLENGES SECTION
   ======================================== */
.challenges-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.challenges-header {
  text-align: center;
  margin-bottom: 40px;
}

.challenges-header h2 {
  font-size: 2.5rem;
  color: #333;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.challenge-item {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.challenge-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.challenge-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.challenges-cta {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 40px;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(177, 136, 73, 0.1);
  position: relative;
  overflow: hidden;
}

.challenges-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b18849 0%, #cba467 50%, #b18849 100%);
}

.challenges-cta h3 {
  font-size: 2.2rem;
  color: #1f2937;
  margin-bottom: 35px;
  line-height: 1.3;
  font-weight: 700;
  position: relative;
}

.challenges-cta h3 strong {
  color: #b18849;
  background: linear-gradient(135deg, #b18849 0%, #cba467 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.challenges-cta .btn {
  font-size: 1.1rem;
  padding: 10px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(135deg, #b18849 0%, #cba467 100%);
  border: none;
  color: #fff;
  box-shadow: 0 8px 25px rgba(177, 136, 73, 0.3);
  position: relative;
  overflow: hidden;
}

.challenges-cta .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.challenges-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(177, 136, 73, 0.4);
}

.challenges-cta .btn:hover::before {
  left: 100%;
}

/* Mobile styles */
@media screen and (max-width: 640px) {
  .challenges-cta {
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .challenges-cta h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .challenges-cta .btn {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* Tablet styles */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  .challenges-cta {
    padding: 50px 30px;
  }
  
  .challenges-cta h3 {
    font-size: 2rem;
  }
}

/* ========================================
   MUA GALLERY SECTION
   ======================================== */
.mua-gallery-section {
  padding: 60px 0;
  background-color: #fff;
}

.mua-header {
  text-align: center;
  margin-bottom: 40px;
}

.mua-header h2 {
  font-size: 2.5rem;
  color: #333;
}

.mua-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.mua-gallery-item {
  text-align: center;
}

.mua-gallery-item.hidden {
  display: none;
}

.mua-gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.mua-gallery-img:hover {
  transform: scale(1.05);
}

.mua-gallery-controls {
  text-align: center;
  margin-top: 40px;
}

.mua-controls {
  text-align: center;
}

/* MUA Gallery Responsive */
@media screen and (max-width: 640px) {
  .mua-gallery-section {
    padding: 40px 0;
  }
  
  .mua-header h2 {
    font-size: 2rem;
  }
  
  .mua-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
  }
  
  .mua-gallery-img {
    height: 200px;
  }
  
  .mua-gallery-controls {
    margin-top: 30px;
  }
}

@media screen and (min-width: 641px) and (max-width: 1024px) {
  .mua-gallery-section {
    padding: 50px 0;
  }
  
  .mua-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 30px;
  }
  
  .mua-gallery-img {
    height: 250px;
  }
}

/* ========================================
   VENUE COVERAGE SECTION
   ======================================== */
.venue-coverage-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.venue-header {
  text-align: center;
  margin-bottom: 40px;
}

.venue-header h2 {
  font-size: 2.5rem;
  color: #333;
}

.venue-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.venue-item {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.venue-item:hover {
  transform: translateY(-5px);
}

.venue-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.venue-item h3 {
  font-size: 1.2rem;
  color: #333;
}

/* Venue Coverage Responsive */
@media screen and (max-width: 640px) {
  .venue-coverage-section {
    padding: 40px 0;
  }
  
  .venue-header h2 {
    font-size: 2rem;
  }
  
  .venue-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .venue-item {
    max-width: 320px;
    width: 100%;
  }
}

@media screen and (min-width: 641px) and (max-width: 1024px) {
  .venue-coverage-section {
    padding: 50px 0;
  }
  
  .venue-grid {
    gap: 20px;
  }
  
  .venue-item {
    flex: 0 0 45%;
    max-width: 300px;
  }
}

/* ========================================
   ABOUT US SECTION
   ======================================== */
.about-us-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-us-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-us-text {
  flex: 1;
  max-width: 500px;
}

.about-us-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
}

.gallery-address-title {
  font-size: 1.8rem;
  color: #b18849;
  margin-bottom: 20px;
  font-weight: 600;
}

.gallery-address-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.about-us-map {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us-map iframe {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: 300px;
}

/* Mobile styles */
@media screen and (max-width: 640px) {
  .about-us-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-us-text {
    max-width: 100%;
    text-align: center;
  }
  
  .about-us-text h2 {
    font-size: 2rem;
  }
  
  .gallery-address-title {
    font-size: 1.5rem;
  }
  
  .about-us-map iframe {
    width: 100%;
    height: 300px;
  }
}

/* Tablet styles */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  .about-us-content {
    gap: 40px;
  }
  
  .about-us-text {
    max-width: 400px;
  }
  
  .about-us-map iframe {
    width: 100%;
    height: 350px;
  }
}


/* Section button WA */
.button-wa {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 99999999;
}

.button-wa a {
    display: inline-flex;
    align-items: center;
    background-color: #b18849;
    padding: 8px 62px 8px 20px;
    /* ruang kiri lebih lebar */
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    position: relative;
}

.button-wa .text-label {
    margin-right: 40px;
    /* ruang kosong agar logo muat di kanan */
    white-space: nowrap;
}

.button-wa img {
    width: 70px;
    position: absolute;
    right: -20px;
    /* biar nempel keluar dari oval */
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 767px) {
    .button-wa a {
        font-size: 12px;
        padding: 3px 5px 3px 16px;
    }

    .button-wa img {
        width: 45px;
        right: -12px;
        right: -10px;
    }
  
  	.package-content .package-grid .package-img {
        margin-bottom: -30px;
    }
}