/* ==========================================
   CSS DESIGN SYSTEM - MIDNIGHT LUXURY (GRADSNAP)
   ========================================== */

:root {
    /* Color Palette */
    --bg-dark: #0f0717; /* Deep Purple Black */
    --bg-card: rgba(28, 15, 48, 0.7); /* Deep Purple Glass */
    --bg-card-hover: rgba(43, 23, 73, 0.85);
    --primary: #d4af37; /* Warm Gold */
    --primary-light: #f3cf65;
    --primary-dark: #aa8416;
    --secondary: #7c3aed; /* Violet/Purple */
    --secondary-light: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.15);
    --gold-glow: rgba(212, 175, 55, 0.15);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    /* Layout Constants */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Custom Cursor Effects (Premium Feel) */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, background-color 0.3s;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Containers & Common Layout Elements */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Moving & Breathing Section Dividers ("Timbul Tenggelam") */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 25%, 
        var(--secondary) 50%, 
        var(--primary-light) 75%, 
        transparent 100%
    );
    background-size: 200% 100%;
    z-index: 10;
    pointer-events: none;
    animation: moveGradient 6s linear infinite, borderBreathe 4s ease-in-out infinite alternate;
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes borderBreathe {
    0% {
        opacity: var(--min-opacity, 0.15);
        filter: blur(0.5px) drop-shadow(0 0 2px var(--glow-color, var(--primary)));
    }
    100% {
        opacity: var(--max-opacity, 0.75);
        filter: blur(1.5px) drop-shadow(0 0 8px var(--glow-color, var(--primary)));
    }
}

/* Opacity & Color Tone Tuning for Different Sections */
.hero-section::after {
    --min-opacity: 0.25;
    --max-opacity: 0.8;
    --glow-color: rgba(212, 175, 55, 0.5); /* Gold Glow */
}

.features-section::after {
    --min-opacity: 0.15;
    --max-opacity: 0.45;
    --glow-color: rgba(124, 58, 237, 0.3); /* Violet Glow */
}

.packages-section::after {
    --min-opacity: 0.2;
    --max-opacity: 0.65;
    --glow-color: rgba(212, 175, 55, 0.4); /* Gold Glow */
}

.portfolio-section::after {
    --min-opacity: 0.15;
    --max-opacity: 0.55;
    --glow-color: rgba(124, 58, 237, 0.35); /* Violet Glow */
}

.booking-section::after {
    display: none; /* Merges into footer without line */
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header h2 span {
    color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 10px;
    color: white;
}

.logo-icon i {
    width: 20px;
    height: 20px;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-image: linear-gradient(to right, rgba(15, 7, 23, 0.98) 25%, rgba(15, 7, 23, 0.75) 50%, rgba(15, 7, 23, 0.2) 80%, rgba(15, 7, 23, 0.1) 100%), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding-top: 50px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 650px; /* Increased from 580px for a more balanced layout */
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.badge i,
.badge svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
    stroke-width: 2.5px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem; /* Reduced from 2.8rem to prevent clipping and improve spacing */
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 20px;
    text-align: left;
}

/* Premium Word-by-Word Blast-In Animation */
.hero-title-blast .blast-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 45px, 0) scale(0.3);
    filter: blur(10px);
    animation: wordBlastIn 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    transform-origin: center bottom;
    white-space: nowrap;
    margin: 0 0.08em 0.15em 0.08em; /* Symmetric spacing for perfect text centering */
}

@keyframes wordBlastIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 45px, 0) scale(0.3) rotate(-4deg);
        filter: blur(12px);
        text-shadow: 0 0 40px rgba(124, 58, 237, 0);
    }
    45% {
        text-shadow: 0 0 35px var(--primary-light), 0 0 70px var(--secondary);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        filter: blur(0);
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
}

/* Staggered Delay for Words */
.hero-title-blast .blast-word:nth-child(1) { animation-delay: 0.1s; }
.hero-title-blast .blast-word:nth-child(2) { animation-delay: 0.22s; }
.hero-title-blast .blast-word:nth-child(3) { animation-delay: 0.34s; }
.hero-title-blast .blast-word:nth-child(4) { animation-delay: 0.46s; }
.hero-title-blast .blast-word:nth-child(5) { 
    animation-delay: 0.65s;
    animation-duration: 1.3s;
    animation-timing-function: cubic-bezier(0.34, 1.6, 0.64, 1); /* Explosive Overshoot */
}

/* Premium Text with Rotating Gradient Shine */
.premium-blast {
    position: relative;
    display: inline-block;
    color: transparent !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 25%, #fff 50%, var(--primary-light) 75%, var(--primary) 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: wordBlastIn 1.3s cubic-bezier(0.34, 1.6, 0.64, 1) 0.65s forwards, premiumTextShine 5s linear infinite !important;
    z-index: 10;
    padding: 0 8px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-blast:hover {
    transform: scale(1.08);
}

@keyframes premiumTextShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shockwave expansion rings */
.premium-blast .blast-ring {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 105%;
    height: 105%;
    border: 2px solid var(--primary);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
    filter: blur(1px);
}

/* Background radial glow expansion */
.premium-blast::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(124, 58, 237, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: -2;
    filter: blur(8px);
}

/* Triggered Shockwaves */
.premium-blast.trigger-blast .ring-1 {
    animation: shockwaveRing 1.3s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

.premium-blast.trigger-blast .ring-2 {
    animation: shockwaveRing 1.3s cubic-bezier(0.1, 0.8, 0.1, 1) 0.2s forwards;
}

.premium-blast.trigger-blast .ring-3 {
    animation: shockwaveRing 1.3s cubic-bezier(0.1, 0.8, 0.1, 1) 0.4s forwards;
}

.premium-blast.trigger-blast::after {
    animation: shockwaveGlow 1.3s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

@keyframes shockwaveRing {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        border-color: var(--primary);
        box-shadow: 0 0 15px var(--gold-glow);
        opacity: 0.9;
        filter: blur(0px);
    }
    50% {
        opacity: 0.6;
        border-color: var(--secondary-light);
        box-shadow: 0 0 25px var(--accent-glow);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.4);
        border-color: var(--secondary);
        box-shadow: 0 0 40px rgba(124, 58, 237, 0);
        opacity: 0;
        filter: blur(6px);
    }
}

@keyframes shockwaveGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.95;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* Sparkle Particle Styling (Created dynamically by JS) */
.blast-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
}

.blast-sparkle {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 9999;
    mix-blend-mode: screen;
    animation: particleFly 1.2s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes particleFly {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
        box-shadow: 0 0 0px var(--color-shadow);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.4) rotate(45deg);
        box-shadow: 0 0 12px var(--color-shadow);
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0) rotate(270deg);
        opacity: 0;
        filter: blur(1.5px);
    }
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.12rem; /* Increased from 1.05rem */
    margin-bottom: 28px; /* Increased from 24px */
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 40px; /* Increased from 32px */
    margin-bottom: 32px; /* Increased from 24px */
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem; /* Increased from 1.6rem */
    font-weight: 700;
    color: var(--primary-light);
}

.stat-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Custom Scroll Reveal Animations for Hero */
.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   FEATURES / WHY US SECTION
   ========================================== */
.features-section {
    background: linear-gradient(180deg, rgba(15, 7, 23, 0.95) 0%, rgba(23, 13, 36, 0.7) 50%, rgba(15, 7, 23, 0.95) 100%);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px var(--gold-glow);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 12px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-icon i {
    width: 28px;
    height: 28px;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--text-dark);
    transform: scale(1.05);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   PACKAGES SECTION & CALCULATOR
   ========================================== */
.packages-section {
    position: relative;
    overflow: hidden;
}

/* Floating blurred colorful spheres for 20M website backdrop */
.packages-decor-1,
.packages-decor-2,
.packages-decor-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
    mix-blend-mode: screen;
    animation: float-glow 12s ease-in-out infinite;
}

.packages-decor-1 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: 10%;
    left: -50px;
    animation-duration: 10s;
}

.packages-decor-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary);
    bottom: 15%;
    right: -100px;
    animation-duration: 14s;
    animation-delay: -3s;
}

.packages-decor-3 {
    width: 180px;
    height: 180px;
    background: var(--primary-light);
    top: 40%;
    left: 45%;
    animation-duration: 8s;
    animation-delay: -5s;
}

@keyframes float-glow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.08);
    }
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Floating Card Wrappers */
.package-card-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: float-card 6s ease-in-out infinite;
}

.package-card-wrapper:nth-child(1) {
    animation-delay: 0s;
}
.package-card-wrapper:nth-child(2) {
    animation-delay: 1.8s;
}
.package-card-wrapper:nth-child(3) {
    animation-delay: 3.6s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .package-card-wrapper {
        animation: none !important;
    }
}

.package-card {
    height: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-lg);
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.package-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.package-badge.popular {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: var(--text-dark);
}

.package-card.featured {
    border-color: rgba(212, 175, 55, 0.4);
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05) 0%, rgba(15, 22, 38, 0.8) 70%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: scale(1.02);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.package-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.package-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.package-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.package-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    min-height: 48px;
}

.package-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.package-features li i.checked {
    color: #27c93f;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.package-features li i.unchecked {
    color: rgba(255, 255, 255, 0.15);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Calculator Area */
.calculator-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.calculator-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 32px 40px;
}

.calculator-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calculator-header h3 i {
    color: var(--primary);
}

.calculator-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.calculator-body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    background: rgba(7, 9, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Custom Number Input (Plus-Minus) */
.number-input {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 9, 14, 0.6);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.btn-number {
    width: 48px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-number:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.number-input input {
    width: 60px;
    height: 44px;
    text-align: center;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    outline: none;
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Custom Checkbox Design */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
    font-size: 0.95rem;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    background: rgba(7, 9, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.checkbox-label:hover input ~ .custom-checkbox {
    border-color: var(--primary);
}

.checkbox-label input:checked ~ .custom-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid var(--text-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.checkbox-label input:checked ~ .custom-checkbox::after {
    opacity: 1;
}

/* Summary Card Output */
.summary-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.summary-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-item span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 18px 0;
}

.total-price-section {
    margin-bottom: 30px;
}

.total-price-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.total-price-section h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
}

/* ==========================================
   PORTFOLIO GALLERY SECTION
   ========================================== */
.portfolio-section {
    background: rgba(9, 12, 19, 0.85);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 9, 14, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.portfolio-overlay p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.portfolio-overlay .tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-light);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================
   BOOKING FORM SECTION
   ========================================== */
.booking-section {
    overflow: hidden;
}

.booking-glow {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.booking-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-info h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.booking-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-icon i {
    width: 20px;
    height: 20px;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Booking Form Container Box */
.booking-form-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.booking-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.total-booking-box {
    background: rgba(7, 9, 14, 0.7);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.total-booking-box span:first-child {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-total-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-light);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
    background: rgba(5, 6, 10, 0.9);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--text-main);
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-dark);
}

.footer-links h4,
.footer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-info .copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 20px;
}

/* ==========================================
   3D PARTICLE BACKDROP CANVAS
   ========================================== */
#three-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

/* ==========================================
   PREMIUM SCROLL REVEAL ANIMATIONS
   ========================================== */
/* Initial states of reveal styles */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Revealed states triggered by Intersection Observer */
.reveal-fade-up.revealed,
.reveal-fade-in-left.revealed,
.reveal-fade-in-right.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered load delays for children elements */
.reveal-fade-up[style*="--delay: 1"],
.reveal-fade-in-left[style*="--delay: 1"],
.reveal-fade-in-right[style*="--delay: 1"] {
    transition-delay: 0.1s;
}

.reveal-fade-up[style*="--delay: 2"],
.reveal-fade-in-left[style*="--delay: 2"],
.reveal-fade-in-right[style*="--delay: 2"] {
    transition-delay: 0.25s;
}

.reveal-fade-up[style*="--delay: 3"],
.reveal-fade-in-left[style*="--delay: 3"],
.reveal-fade-in-right[style*="--delay: 3"] {
    transition-delay: 0.4s;
}

.reveal-fade-up[style*="--delay: 4"],
.reveal-fade-in-left[style*="--delay: 4"],
.reveal-fade-in-right[style*="--delay: 4"] {
    transition-delay: 0.55s;
}

/* Performance optimizations for mobile devices that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-fade-up,
    .reveal-fade-in-left,
    .reveal-fade-in-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 1024px) {
    .hero-section {
        background-image: linear-gradient(to bottom, rgba(15, 7, 23, 0.65) 0%, rgba(15, 7, 23, 0.25) 45%, rgba(15, 7, 23, 0.85) 100%), url('assets/girl.jpg');
        background-position: center center;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        min-height: calc(100vh - 80px);
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .calculator-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .booking-info {
        text-align: center;
    }
    
    .contact-methods {
        align-items: center;
    }

    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .package-card {
        padding: 36px 24px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .navbar {
        padding: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .nav-cta {
        display: none; /* Hide button on mobile, show menu toggle */
    }
    
    .mobile-toggle {
        display: block;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 1.45rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
    }
    
    .package-card {
        padding: 32px 24px;
    }
    
    .package-card h3 {
        font-size: 1.5rem;
    }
    
    .package-price {
        font-size: 2.1rem;
    }
    
    .package-features {
        margin-bottom: 28px;
    }
    
    .package-features li {
        font-size: 0.88rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem; /* Perfectly sized for portrait Android screen widths */
    }
    
    .hero-content p {
        font-size: 0.95rem; /* Make paragraph text more compact on small screens */
    }

    .packages-grid {
        gap: 20px;
    }
    
    .package-card {
        padding: 24px 18px; /* Tighter padding for mobile screens */
    }
    
    .package-card h3 {
        font-size: 1.35rem;
    }
    
    .package-price {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }
    
    .package-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
        min-height: auto; /* Allow auto height on very small screens */
    }
    
    .package-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 12px;
        width: fit-content;
    }
}
