/* ===================================
   RUNZY NGLZ - MODERN STYLING
   Warna: Ungu, Biru, Hitam
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a2e;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --text-light: #ffffff;
    --text-gray: #a1a1aa;
    --text-muted: #71717a;
    --accent-color: #7c3aed;
    --card-background: #1a1a2e;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(124, 58, 237, 0.2);
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--primary-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR STYLES ===== */
nav {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--white);
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-profile-pic:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

/*.nav-brand:hover {
    transform: scale(1.05);
}*/

.nama-store {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0000, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nama-store h2 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}
/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-gray);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-version {
    font-size: 1rem;
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-quote {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-container {
    margin: 2.5rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    margin-left: 2rem;
    margin-right: 2rem;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

.about-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    line-height: 1.8;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-section .section-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.content-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    line-height: 1.8;
}

/* ===== MAIN CONTENT AREA ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-hover);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* ===== PRODUCT CARD (NEW STYLE) ===== */
.products-grid .product-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 5px solid var(--primary-purple);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.products-grid .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
    border-top-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
}

.product-card .product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.3rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ===== OLD PRODUCT CARD ===== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 5px solid var(--primary-purple);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-blue);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-purple);
    font-weight: 800;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* ===== BUTTON STYLES ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: rgba(255, 255, 255, 0.8) !important;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-purple);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
    border-top-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
}

.contact-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--primary-purple);
    transition: color 0.3s ease;
}

.contact-card:hover .contact-icon {
    color: var(--primary-blue);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== SECTION STYLES ===== */
.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    border-radius: 2px;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-black) 0%, #2d3748 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-purple);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-purple);
    border-radius: 50%;
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

/* ===== OLD FOOTER (untuk kompatibilitas) ===== */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== BADGE & LABEL ===== */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-primary {
    background-color: var(--primary-purple);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Page fade-in animation */
body {
    opacity: 0;
    animation: fadeInBody 0.5s ease 0.5s forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

/* Carousel Styles */
.testimoni-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimoni-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.testimoni-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimoni-slide.active {
    display: block;
    opacity: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    background: linear-gradient(45deg, var(--accent-color), #0f3460);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Image Hover Effects */
.testimoni-img, .konten-img {
    transition: all 0.3s ease;
}

.testimoni-card:hover .testimoni-img,
.konten-card:hover .konten-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 600px;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-version {
        font-size: 0.9rem;
    }

    .hero-quote {
        font-size: 1.1rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-brand-container {
        order: -1;
        flex-direction: row;
        gap: 0.5rem;
    }

    .nav-profile-pic {
        width: 40px;
        height: 40px;
    }

    .nav-brand {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1.5rem 1rem;
    }
}

/* ===== ANIMATIONS ===== */

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animation for buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Floating Animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Initial hidden state for animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Hover animations */
.skill-card, .service-card, .testimoni-card, .konten-card {
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.4);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(15, 52, 96, 0.5);
}

.testimoni-card:hover, .konten-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(15, 52, 96, 0.3);
}

.btn-primary:hover, .btn-service:hover, .btn-contact:hover {
    animation: pulse 0.6s ease-in-out;
}

.profile-img {
    animation: floating 3s ease-in-out infinite;
}

/* Stagger animation for grid items */
.skills-grid .skill-card:nth-child(1) { animation-delay: 0.1s; }
.skills-grid .skill-card:nth-child(2) { animation-delay: 0.2s; }
.skills-grid .skill-card:nth-child(3) { animation-delay: 0.3s; }

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }

.testimoni-grid .testimoni-card:nth-child(1) { animation-delay: 0.1s; }
.testimoni-grid .testimoni-card:nth-child(2) { animation-delay: 0.2s; }
.testimoni-grid .testimoni-card:nth-child(3) { animation-delay: 0.3s; }

.konten-grid .konten-card:nth-child(1) { animation-delay: 0.1s; }
.konten-grid .konten-card:nth-child(2) { animation-delay: 0.2s; }
.konten-grid .konten-card:nth-child(3) { animation-delay: 0.3s; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Section */
.header-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

/* Animated Stars Background */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: stars 50s linear infinite;
}

.stars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

.stars2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: stars2 100s linear infinite;
}

.stars2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 50px 20px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 100px 60px, #ccc, transparent),
        radial-gradient(1px 1px at 150px 90px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 200px 40px, #eee, transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: twinkle 6s ease-in-out infinite alternate-reverse;
}

.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: stars3 150s linear infinite;
}

.stars3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 30px 50px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 80px 100px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 120px 20px, rgba(255,255,255,0.6), transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes stars {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

@keyframes stars2 {
    from { transform: translateY(0px); }
    to { transform: translateY(-200px); }
}

@keyframes stars3 {
    from { transform: translateY(0px); }
    to { transform: translateY(-300px); }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 3;
}

.header-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text p {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--secondary-dark);
}

.about-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.services-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.services-section > p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(124, 58, 237, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-purple);
    margin-bottom: 2rem;
    display: inline-block;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: 20px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
    border-color: var(--accent-purple);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(37, 99, 235, 0.2));
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-purple);
    color: var(--accent-blue);
}

.service-card h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.btn-service {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
}

/* Testimoni Section */
.testimoni-section {
    padding: 5rem 0;
    background: var(--secondary-dark);
}

.testimoni-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimoni-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.testimoni-card:hover {
    transform: translateY(-5px);
}

.testimoni-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.testimoni-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimoni-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Konten Section */
.konten-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.konten-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.konten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.konten-card {
    background: var(--primary-dark);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.konten-card:hover {
    transform: translateY(-5px);
}

.konten-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.konten-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.konten-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer Section */
.footer-section {
    background: var(--secondary-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--accent-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-info p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-gray);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-support h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-support p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-contact {
    background: linear-gradient(45deg, var(--accent-color), #0f3460);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-blue);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Carousel Styles */
.testimoni-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimoni-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.testimoni-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimoni-slide.active {
    display: block;
    opacity: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    background: linear-gradient(45deg, var(--accent-color), #0f3460);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Image Hover Effects */
.testimoni-img, .konten-img {
    transition: all 0.3s ease;
}

.testimoni-card:hover .testimoni-img,
.konten-card:hover .konten-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .header-text h1 {
        font-size: 2.5rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .header-buttons {
        justify-content: center;
    }

    .services-grid,
    .testimoni-grid,
    .konten-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }


@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .header-text p {
        font-size: 1.2rem;
    }

    .about-section h2,
    .services-section h2,
    .testimoni-section h2,
    .konten-section h2 {
        font-size: 2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }
}