/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #002366;
    --primary-dark: #001a4d;
    --text: #002366;
    --surface: #ffffff;
    --surface-muted: #f7f9ff;
    --border: #dee3f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.brand-logo {
    height: 40px;
    width: auto;
    display: inline-block;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-menu a {
    color: white;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.navbar-menu a:hover {
    text-decoration: none;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-menu a.active::after {
    width: 100%;
}

.btn-admin {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid white;
}

.btn-admin:hover {
    background: rgba(255,255,255,0.3);
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.navbar-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

.brand-text {
    display: inline;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 44, 105, 0.45) 0%, rgba(1, 23, 63, 0.85) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255,255,255,0.08), transparent 45%);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
    transform: scale(1.02);
    filter: brightness(0.88);
}

.hero-bg.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 100%;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 52px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.hero-content p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 640px;
}

.hero-buttons {
    margin-top: 32px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hero-buttons .btn-hero {
    min-width: 180px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    width: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.hero-buttons .btn-search {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}

.hero-buttons .btn-search:hover {
    background: rgba(255,255,255,0.22);
}

.hero-buttons .btn-reset {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
}

.hero-buttons .btn-reset:hover {
    background: rgba(255,255,255,0.16);
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: -20px 0 40px 0;
    position: relative;
    z-index: 10;
}

.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.filter-item select,
.filter-item input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filter-item input:focus,
.filter-item select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 35, 102, 0.12);
}

.button-item {
    display: flex;
    align-items: flex-end;
}

.btn-search,
.btn-reset {
    padding: 10px 20px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-search {
    background: var(--primary);
    border: none;
}

.btn-search:hover {
    background: var(--primary-dark);
}

.btn-reset {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-reset:hover {
    background: #f2f5ff;
}

/* Why Us Section */
.why-us {
    background: var(--surface);
    padding: 60px 20px;
}

.why-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

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

.why-us-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.why-us-icon {
    font-size: 0;
    margin-bottom: 15px;
}

.why-us-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    display: inline-block;
}

.why-us-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.why-us-card p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Paket Section */
.paket-section {
    padding: 60px 20px;
}

.paket-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

.paket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.paket-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.paket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.paket-image {
    width: 100%;
    height: 200px;
    background: #f7f8ff;
    overflow: hidden;
}

.paket-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.paket-card:hover .paket-image img {
    transform: scale(1.1);
}

.paket-content {
    padding: 20px;
}

.paket-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.paket-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
    min-height: 50px;
}

.paket-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.paket-price {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-detail {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-detail:hover {
    background: var(--primary-dark);
}

/* Testimonial Section */
.testimonial-section {
    background: var(--surface);
    padding: 60px 20px;
}

.testimonial-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.testimonial-content {
    color: #3b4c7a;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.testimonial-author-info h4 {
    color: var(--primary);
    margin-bottom: 3px;
}

.testimonial-author-info .rating {
    color: var(--primary);
    font-size: 14px;
}

/* Contact Section */
.kontak-section {
    padding: 60px 20px;
}

.kontak-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.kontak-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.kontak-info p {
    margin-bottom: 15px;
    color: #3b4c7a;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    padding: 10px 15px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-dark);
}

.kontak-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontak-form input,
.kontak-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.kontak-form input:focus,
.kontak-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 35, 102, 0.12);
}

.btn-submit {
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 50px 20px 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
    color: #f4f8ff;
}

.footer-column p,
.footer-column li,
.footer-column a {
    color: #dfe7ff;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.footer-column a:hover {
    opacity: 0.85;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.footer-social a {
    color: #dfe7ff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
}

.footer-social a:hover {
    background: rgba(255,255,255,0.16);
}

.footer-map-frame {
    margin-top: 18px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    max-height: 180px;
}

.footer-map-frame iframe {
    width: 100%;
    min-height: 160px;
    height: 160px;
    border: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
    text-align: center;
    color: #c1d4ff;
    font-size: 14px;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 30px 20px 20px;
    }
}



.whatsapp-float img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00c851;
    box-shadow: 0 0 0 0 rgba(0, 200, 81, 0.5);
    animation: whatsapp-buzz 2.4s infinite ease-out;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

@keyframes whatsapp-buzz {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 81, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(0, 200, 81, 0);
    }
}

@media (max-width: 780px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding: 0;
        width: 56px;
        height: 56px;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
        padding: 0;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: #f7f8ff;
    padding: 15px 0;
}

.breadcrumb a {
    color: var(--primary);
}

/* Detail Page */
.detail-section {
    padding: 40px 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.detail-image {
    position: sticky;
    top: 80px;
}

.detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.detail-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.detail-info h1 {
    color: var(--primary);
    margin-bottom: 15px;
}

.detail-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.badge.badge-secondary {
    background: var(--primary-dark);
}

.badge.badge-tertiary {
    background: var(--primary);
}

.detail-price {
    border-top: 2px solid #ecf0f1;
    border-bottom: 2px solid #ecf0f1;
    padding: 20px 0;
    margin: 20px 0;
}

.label-price {
    color: #7f8c8d;
    font-size: 14px;
}

.detail-price h2 {
    color: var(--primary);
    font-size: 32px;
}

.detail-description,
.detail-highlight,
.detail-includes {
    margin-bottom: 25px;
}

.detail-description h3,
.detail-highlight h3,
.detail-includes h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.detail-highlight ul,
.detail-includes ul {
    list-style: none;
}

.detail-highlight li,
.detail-includes li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.detail-highlight li::before,
.detail-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.btn-booking {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.25);
}

.detail-itinerary,
.detail-gallery {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.detail-itinerary h3,
.detail-gallery h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.itinerary-day {
    padding: 20px;
    background: #f4f6ff;
    border-left: 4px solid var(--primary);
    margin-bottom: 15px;
    border-radius: 4px;
}

.itinerary-day h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.similar-packages {
    background: var(--surface);
    padding: 60px 20px;
}

.similar-packages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-menu {
        gap: 15px;
        font-size: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

    .why-us-grid,
    .paket-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image {
        position: static;
    }

    .paket-section h2,
    .why-us h2,
    .testimonial-section h2,
    .kontak-section h2,
    .similar-packages h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.18);
        padding-top: 10px;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

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

    .navbar-menu a::after {
        display: none;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

    .why-us-grid,
    .paket-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image {
        position: static;
    }

    .paket-section h2,
    .why-us h2,
    .testimonial-section h2,
    .kontak-section h2,
    .similar-packages h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .filter-section {
        margin: -10px 0 30px 0;
        padding: 20px 0;
    }

    .filter-item,
    .button-item {
        width: 100%;
    }

    .btn-search,
    .btn-reset {
        width: 100%;
    }

    .kontak-grid,
    .why-us-grid,
    .paket-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .admin-container {
        display: block;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .admin-content {
        margin-left: 0;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .brand-text {
        display: none;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 12px;
        background: var(--primary);
        border-top: 1px solid rgba(255,255,255,0.18);
        padding-top: 10px;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a {
        display: block;
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

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

    .navbar-menu a::after {
        display: none;
    }

    .hero {
        padding: 70px 15px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .detail-section,
    .similar-packages,
    .testimonial-section,
    .kontak-section,
    .why-us,
    .paket-section {
        padding: 30px 15px;
    }
}
