* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0A0A0F;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: #00D4FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: #00D4FF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.highlight {
    color: #00D4FF;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #00D4FF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00D4FF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #0A0A0F 0%, #0D0D1A 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    color: #00D4FF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.glitch-text {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 0 #00D4FF; }
    95% { text-shadow: 0 0 0 #00D4FF; }
    96% { text-shadow: -2px 0 #00D4FF, 2px 0 #ff00ff; }
    97% { text-shadow: 2px 0 #00D4FF, -2px 0 #ff00ff; }
    98% { text-shadow: -1px 0 #00D4FF, 1px 0 #ff00ff; }
    99% { text-shadow: 0 0 0 #00D4FF; }
}

.hero-desc {
    font-size: 1.2rem;
    color: #aaaaaa;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #00D4FF, #0099cc);
    color: #0A0A0F;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-right: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-outline {
    display: inline-block;
    border: 2px solid #00D4FF;
    color: #00D4FF;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #00D4FF;
    color: #0A0A0F;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0,212,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0D0D1A;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00D4FF;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #aaaaaa;
    margin-bottom: 20px;
}

.read-more {
    color: #00D4FF;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.read-more:hover {
    letter-spacing: 1px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #0A0A0F;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #00D4FF;
    color: #0A0A0F;
    border-color: #00D4FF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 20px;
    transition: 0.5s;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: #00D4FF;
    margin-bottom: 10px;
}

.portfolio-overlay a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0D0D1A;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: #aaaaaa;
    margin-bottom: 30px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.skill-tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #00D4FF;
}

.about-quote {
    background: rgba(0, 212, 255, 0.05);
    padding: 20px;
    border-left: 3px solid #00D4FF;
    border-radius: 10px;
}

.about-quote i {
    color: #00D4FF;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0A0A0F;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-card:hover {
    border-color: #00D4FF;
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2rem;
    color: #00D4FF;
    margin-bottom: 15px;
}

.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00D4FF;
}

/* Footer */
.footer {
    background: #050508;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: #666;
}

.social-links a {
    color: #666;
    margin-left: 20px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #00D4FF;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
/* LIGHTBOX MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 2px solid #00D4FF;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: #00D4FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    width: fit-content;
    margin: 0 auto;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #00D4FF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.modal-close:hover {
    color: #fff;
    text-shadow: 0 0 10px #00D4FF;
}

/* Random Section */
.random {
    padding: 100px 0;
    background: #0A0A0F;
}

.random-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.random-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.random-card:hover {
    transform: translateY(-10px);
    border-color: #00D4FF;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.random-card i {
    font-size: 3rem;
    color: #00D4FF;
    margin-bottom: 15px;
}

.random-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.random-card p {
    color: #aaaaaa;
    margin-bottom: 20px;
}

.random-link {
    color: #00D4FF;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.random-link:hover {
    letter-spacing: 1px;
}

/* Random Section Styling */
.random-btn {
    background: transparent;
    border: 1px solid #00D4FF;
    color: #00D4FF;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 15px;
}

.random-btn:hover {
    background: #00D4FF;
    color: #0A0A0F;
}

.random-img-container {
    margin: 15px 0;
}

.random-img-container img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Modal untuk Link */
.link-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.link-modal-content {
    background: #0D0D1A;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    border: 1px solid #00D4FF;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.link-modal-content h3 {
    color: #00D4FF;
    margin-bottom: 20px;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin: 15px 0;
}

.link-list a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: 0.3s;
}

.link-list a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00D4FF;
    padding-left: 20px;
}

.link-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #00D4FF;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#imageModalRandom {
    z-index: 10000;
}

/* Gallery Modal (Pilih gambar) */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    background: #0D0D1A;
    margin: 5% auto;
    padding: 25px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 15px;
    border: 1px solid #00D4FF;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.gallery-modal-content h3 {
    color: #00D4FF;
    margin-bottom: 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #00D4FF;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #00D4FF;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}