/* Styles untuk halaman Apparalang dengan animasi */
.hunting-section {
    background-color: rgba(230, 240, 250, 0.85); /* Warna dasar dengan sedikit transparansi */
    flex: 1;
    padding: 30px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    font-family: 'Montserrat', sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Background image dengan parallax efek */
.hunting-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/tes.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1;
    /* Hapus animasi dan tambahkan filter: blur(0) */
    filter: blur(0);
    transform: scale(1);
}

.hunting-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    animation: slideDown 0.7s ease-out;
}

@keyframes slideDown {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.hunting-title h2 {
    display: inline-block;
    background-color: #55788a;
    color: white;
    padding: 15px 50px;
    border-radius: 15px;
    font-size: 32px;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.hunting-title h2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Efek shimmer untuk title */
.hunting-title h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.hunting-title h2:hover::after {
    left: 100%;
    transition: all 0.5s ease;
}

.hunting-content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2; /* Memastikan konten di atas background */
}

.hunting-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hunting-image img {
    max-width: 30%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 10px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.hunting-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-width: 12px;
    border-color: rgba(255, 255, 255, 0.9);
}

.hunting-description {
    background-color: rgba(224, 232, 240, 0.9);
    border-radius: 15px;
    padding: 25px 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
    position: relative;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    overflow: hidden;
}

.hunting-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(224, 232, 240, 0.95);
}

/* Efek highlight pada paragraf */
.hunting-description p {
    color: #304258;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.hunting-description p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #55788a;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.3s ease;
}

.hunting-description:hover p::before {
    opacity: 1;
    transform: scaleY(1);
}

.hunting-description p:last-child {
    margin-bottom: 0;
}

/* Animasi untuk back button */
.back-button-container {
    text-align: center;
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.back-button {
    display: inline-block;
    background-color: #55788a;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #4a6b7d, #3c5a6c);
    transition: all 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.back-button:hover::before {
    width: 100%;
}

/* Tambahan efek ripple untuk elemen interaktif */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Header dan Footer font styles */
header, footer {
    font-family: 'Montserrat', sans-serif;
}

header .logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

footer p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 900px) {
    .hunting-image img {
        max-width: 60%;
        transition: all 0.3s ease;
    }
    
    .hunting-description {
        padding: 20px 25px;
    }
    
    .hunting-description p {
        font-size: 15px;
    }
    
    .hunting-title h2 {
        font-size: 28px;
        padding: 12px 30px;
    }
    
    .back-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Menghapus background image pada mobile */
@media (max-width: 768px) {
    .hunting-section::before {
        background-image: none; /* Hapus background image */
    }
    
    .hunting-section {
        background-color: rgba(230, 240, 250, 1); /* Warna dasar tanpa transparansi */
    }
}

@media (max-width: 600px) {
    .hunting-image img {
        max-width: 80%;
    }
    
    .hunting-title h2 {
        font-size: 24px;
        padding: 10px 25px;
    }
}

/* Animasi untuk header - sama seperti halaman lain */
@keyframes headerSlideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Header styling untuk animasi */
  body.loaded header {
    animation: headerSlideDown 0s ease-out forwards;
  }