/* RESET & VARIABLES */
:root {
    --bg-color: #0d0f12; /* Sangat gelap, hampir hitam, sedikit kebiruan */
    --bg-alt: #13161a;
    --text-main: #f0f0f0;
    --text-muted: #a0aab2;
    --primary-color: #FF7300; /* Warna Vectra */
    --primary-hover: #e66800;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(20, 23, 28, 0.7);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary {
    background: linear-gradient(135deg, #ff7300, #e64000);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 115, 0, 0.3);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #e64000, #ff7300);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.btn-primary:hover::before {
    opacity: 1;
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 115, 0, 0.5);
    color: white;
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}
.btn-primary-small {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-size: 14px;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}
nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: white;
}
.nav-links a.btn-primary-small { color: white; }

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset for navbar */
    overflow: hidden;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}
.hero-text-side {
    text-align: left;
}
.hero h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
}
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), #ff9944);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}
.hero-image-side {
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.hero-illustration {
    width: 100%;
    max-width: 650px;
    mix-blend-mode: screen; /* Menyembunyikan background hitam */
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%); /* Memudarkan sisi gambar agar menyatu */
    filter: contrast(1.15) brightness(1.1); /* Menjaga warna oranye tetap cerah */
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2313161a' fill-opacity='1' d='M0,160L80,144C160,128,320,96,480,106.7C640,117,800,171,960,186.7C1120,203,1280,181,1360,170.7L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

/* SECTIONS COMMON */
section {
    padding: 80px 0; /* Dikurangi agar jarak antar bagian tidak terlalu jauh */
}
.section-header {
    margin-bottom: 45px; /* Dikurangi agar lebih dekat dengan konten */
}
.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ABOUT */
.about {
    background-color: var(--bg-color); /* Ubah ke warna dasar agar lebih bersih */
    position: relative;
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 115, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 115, 0, 0.2);
}
.section-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.8;
}
.about-checklist {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}
.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
}
.about-visuals-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 115, 0, 0.4);
    background: rgba(255, 115, 0, 0.05);
    box-shadow: 0 10px 30px rgba(255, 115, 0, 0.1);
}
.stat-card.staggered {
    transform: translateY(40px);
}
.stat-card.staggered:hover {
    transform: translateY(30px);
}
.stat-icon {
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.2), rgba(255, 115, 0, 0.05));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--primary-color);
    border: 1px solid rgba(255, 115, 0, 0.2);
}
.stat-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
}
.stat-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Berjejer ke pinggir */
    gap: 25px;
}
.service-card {
    background: rgba(20, 23, 28, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    
    /* Pengaturan formasi standar (tengah) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.service-card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    filter: blur(60px);
    opacity: 0;
    top: -50px;
    right: -50px;
    transition: opacity 0.5s ease;
}
.service-card:hover .service-card-glow {
    opacity: 0.3;
}
.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 115, 0, 0.4);
    box-shadow: 0 20px 40px rgba(255, 115, 0, 0.1);
}
.service-icon {
    flex-shrink: 0;
    margin-bottom: 25px; /* Dikembalikan untuk layout rata tengah */
    background: rgba(255, 115, 0, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0; 
    position: relative;
    z-index: 1;
}

/* PORTFOLIO */
.portfolio {
    background-color: var(--bg-alt);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 item sejajar ke samping */
    gap: 20px;
}
.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-alt);
}
.portfolio-img {
    width: 100%;
    height: auto; /* Gambar akan proporsional penuh dari atas sampai bawah */
    display: block;
    transition: transform 0.6s ease;
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-info {
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}
.portfolio-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.portfolio-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
/* FITUR VISIT */
.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}
.visit-btn:hover {
    background: var(--primary-hover);
}
.visit-btn span {
    font-size: 16px;
    transition: transform 0.3s ease;
}
.visit-btn:hover span {
    transform: translate(3px, -3px);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(20, 23, 28, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 115, 0, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.info-text p {
    color: var(--text-muted);
    line-height: 1.5;
}
.social-links-container h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 10px;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 115, 0, 0.3);
}
.contact-map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    /* Memberikan efek border/glow ringan pada iframe */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* Mengubah Google Maps biasa menjadi Dark Mode */
.contact-map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(95%);
    transition: filter 0.4s ease;
}

/* Sedikit mencerahkan saat di-hover */
.contact-map-container iframe:hover {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(100%);
}

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

/* FOOTER */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links p {
    color: #666;
    font-size: 0.9rem;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid, .portfolio-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .contact-map-container { min-height: 300px; margin-top: 20px; }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .portfolio-item { height: 300px; }
    .contact-grid { padding: 30px 20px; }
    .wa-btn { font-size: 1rem; padding: 12px 15px; }
}
