/* 
  Ummi Angkut - Premium Dark Theme CSS 
  Menampilkan Glassmorphism, Neon Accents, dan Animasi Lancar
*/

:root {
    /* Color Palette */
    --bg-dark: #070b14;
    --bg-darker: #04080e;
    --bg-card: rgba(16, 24, 43, 0.6);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    
    /* Brand Colors: Vibrant Neon Orange for the "4x4" rugged feel */
    --primary: #ff5a00;
    --primary-hover: #ff7326;
    --primary-glow: rgba(255, 90, 0, 0.4);
    
    --secondary: #1e293b;
    --secondary-hover: #334155;
    
    /* Layout properties */
    --blur: blur(12px);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, .logo span {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Globals */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(4, 8, 14, 0.85);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links li a:hover {
    opacity: 1;
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-darker);
    border-left: var(--border-subtle);
    z-index: 2000;
    padding: 30px;
    transition: 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    font-size: 1.8rem;
    cursor: pointer;
    text-align: right;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.close-menu:hover {
    color: var(--primary);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu ul li a {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    outline: none;
    font-family: var(--font-sans);
}

.small-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-main);
    border: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(255, 90, 0, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(0, 71, 255, 0.05) 0%, transparent 40%);
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-graphics {
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 100vh;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
    background-image: url('images/hero_navara_merah.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

/* Ambient Tech Background */
.ambient-bg {
    position: fixed;
    top: -10%;
    left: -5%;
    width: 110%;
    height: 120vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-image: url('images/tech_bg.png');
    background-size: 800px;
    background-repeat: repeat;
    filter: blur(8px) brightness(0.4);
    opacity: 0.9;
    animation: matrixRain 30s linear infinite;
}

@keyframes matrixRain {
    from { background-position: 0px -800px; } /* Falls down */
    to { background-position: 0px 0px; }
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

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

.service-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy hover */
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 90, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 90, 0, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: var(--border-subtle);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin: 0;
}

/* Booking Section */
.booking {
    background: rgba(4, 8, 14, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.booking-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.features-list li i {
    color: var(--primary);
    font-size: 1.4rem;
}

.booking-form-container {
    padding: 40px;
    position: relative;
}

/* Abstract Background behind form */
.booking-form-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
}

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

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #cbd5e1;
}

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    /* 1. brightness(0) saturate(100%) forces any start color (white/black) to pure black.
       2. The remaining filters convert that black into #ff5a00 (Orange). */
    filter: brightness(0) saturate(100%) invert(43%) sepia(82%) saturate(3361%) hue-rotate(357deg) brightness(100%) contrast(106%);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.15);
    background: rgba(15, 23, 42, 0.9);
}

select option {
    background: var(--bg-dark);
    color: white;
}

/* Footer */
footer {
    background: rgba(2, 4, 8, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAB */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Variables */
@media (max-width: 992px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-graphics {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop nav */
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}
