/* CSS VARIABLES */
:root {
    /* Primary Colors */
    --primary: #121212;
    --secondary: #ffffff;
    --accent: #d4af37;
    --light-accent: #f8f0d7;
    --text: #333333;

    /* Utility Colors */
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
    --dark-color: #0d0d0d;
    --semi-dark-color: #454545;
    --light-color: #f8f9fa;

    /* Theme Colors */
    --bronze: #cd7f32;
    --silver: #c0c0c0;
    --gold: #ffd700;
    --vip: #a020f0;
    --blue: #1a237e;

    /* Gradients */
    --gradient: linear-gradient(to bottom right, var(--primary), var(--primary), var(--secondary));
}

/* BASE STYLES */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark-color);
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* NAVIGATION */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(18, 18, 18, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(18, 18, 18, 0.95);
}

.navbar-brand {
    font-size: 1.8rem;
    color: white !important;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--accent);
    color: var(--primary) !important;
}

/* BUTTON STYLES */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #b9912d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-success {
    background-color: #25D366;
    color: var(--secondary);
}

/* LOGO STYLES */
.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.8rem;
    color: var(--secondary);
}

.logo span {
    color: var(--accent);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

/* SECTION STYLES */
section {
    padding: 40px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* HERO SECTION */
.hero-section {
    background: var(--gradient);
    padding: 150px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,218.7C960,213,1056,235,1152,234.7C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* ABOUT SECTION */
.about-section {
    background-color: white;
}

.about-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* SERVICES SECTION */
.services-section {
    background-color: #f8f9fa;
}

.service-card {
    background: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.13);
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h5 {
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 0;
}

/* PACKAGES SECTION */
.packages {
    background-color: var(--light-gray);
}

.package-card {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.package-header {
    padding: 15px;
    text-align: center;
    color: var(--secondary);
}

/* Package Theme Colors */
.bronze .package-header {
    background-color: var(--bronze);
}

.silver .package-header {
    background-color: var(--silver);
    color: var(--text);
}

.gold .package-header {
    background-color: var(--gold);
    color: var(--text);
}

.vip .package-header {
    background-color: var(--vip);
}

.package-content {
    padding: 20px;
}

.package-features {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 0.9rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 15px 0;
    color: var(--primary);
}

.package-card .btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
    width: 100%;
}

/* Recommended Package */
.package-card.recommended {
    border: 2.5px solid var(--accent);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.3s, border 0.3s;
}

.package-card.recommended:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
    border-color: #b9912d;
}

.badge-recommended {
    background: var(--accent);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

/* WHY CHOOSE US SECTION */
.why-choose-us {
    background: var(--blue);
    color: white;
}

.why-choose-us .section-header h2 {
    color: var(--accent);
}

.why-choose-us .section-header h2::after {
    background: var(--accent);
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-box h4 {
    color: white;
    margin-bottom: 15px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.8);
}

/* CONTACT SECTION */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
}

/* PORTFOLIO SECTION */
.portfolio-container {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.portfolio-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Portfolio Items */
.portfolio-item {
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.portfolio-modal-img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
}

/* GALLERY SLIDER */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls:hover {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* MODAL STYLES */
.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* FLOATING ELEMENTS */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent);
    transform: scale(1.1);
    color: var(--primary);
}

.fab-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.fab-whatsapp:hover {
    color: white;
    transform: scale(1.1);
}

/* ANIMATIONS */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.15);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes photoPop {
    0% {
        transform: scale(0.85) rotate(-3deg);
        opacity: 0;
    }

    80% {
        transform: scale(1.05) rotate(1deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.floating-icon {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.7;
    z-index: 2;
    animation: floatIcon 3.5s ease-in-out infinite;
    pointer-events: none;
}

.icon-1 {
    top: 10%;
    left: 8%;
    color: #00bcd4;
    /* cyan */
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    color: #1e88e5;
    /* biru */
    animation-delay: 1s;
}

.icon-3 {
    bottom: 18%;
    left: 12%;
    color: #4caf50;
    /* hijau */
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    right: 12%;
    color: #ff9800;
    /* oranye */
    animation-delay: 2.5s;
}

.icon-5 {
    top: 50%;
    left: 50%;
    color: #e25555;
    /* merah */
    animation-delay: 1s;
}


.main-photo-animate {
    animation: photoPop 1.2s cubic-bezier(.68, -0.55, .27, 1.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

/* FOOTER */
footer {
    background-color: #0a0a0a;
    color: var(--secondary);
    padding: 60px 0 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--secondary);
    font-size: 1.8rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
}

/* Default untuk desktop/web view */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
    /* Rata kiri */
}

/* Mobile: center */
@media (max-width: 767.98px) {
    .social-links {
        justify-content: center;
    }
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.footer-links h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--secondary);
}

/* Default rata kiri */
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
    transform: none;
}

/* Mobile: center */
@media (max-width: 767.98px) {
    .footer-links h4 {
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* RESPONSIVE STYLES */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {

    /* Logo Responsive */
    .logo h1 {
        gap: 6px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Navigation */
    .navbar {
        padding: 10px 0;
    }

    .nav-link {
        margin: 5px 0;
    }

    /* Components */
    .feature-box {
        padding: 20px 15px;
    }

    .footer {
        text-align: center;
    }

    /* Floating Elements */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 80px;
        right: 20px;
    }

    .fab-whatsapp {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    /* Gallery */
    .gallery-slider {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 120px 0 60px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .gallery-slider {
        height: 250px;
    }
}
