/*
Theme Name: BATU Teknologi Kreatif
Theme URI: https://batuteknologi.web.id
Author: BATU Teknologi Kreatif
Description: Custom theme for BATU Teknologi Kreatif - Software House & Digital Consultant
Version: 2.0
Text Domain: batuteknologi
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

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

#navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.06);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 26px;
    color: #6366f1;
    line-height: 1;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-weight: 400;
    color: #6366f1;
}

#navbar.scrolled .logo-text {
    color: #1e293b;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 4px 0;
}

#navbar.scrolled .nav-links a {
    color: #475569;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6366f1;
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #6366f1;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.3s;
    display: block;
}

#navbar.scrolled .hamburger span {
    background: #1e293b;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-cta {
    display: inline-block;
    padding: 8px 20px;
    background: #6366f1;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: #4f46e5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

#navbar.scrolled .nav-cta {
    color: #fff !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0c0a1d 0%, #1a1a3e 40%, #0f0c29 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(99,102,241,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(79,70,229,0.06) 0%, transparent 50%);
}

.hero-shapes {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #6366f1;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 140px 0 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    color: #a5b4fc;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(32px, 5.5vw, 60px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 20px);
    color: #a5b4fc;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: clamp(14px, 1.6vw, 17px);
    color: rgba(255,255,255,0.55);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.btn-primary:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.hero-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Clients */
.clients {
    padding: 48px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.clients-label {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.client-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.client-item i {
    font-size: 18px;
    color: #cbd5e1;
}

/* Section Header */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.08);
    color: #6366f1;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-header p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

/* About */
.about {
    background: #fff;
    padding: 100px 0;
}

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

.about-visual {
    position: relative;
}

.about-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.about-image-placeholder i {
    font-size: 80px;
    color: rgba(255,255,255,0.15);
}

.about-exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #6366f1;
    color: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(99,102,241,0.3);
}

.about-exp-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.about-exp-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text .section-tag {
    margin-bottom: 12px;
}

.about-text h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-text > p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1e293b;
}

.about-feature i {
    color: #10b981;
    font-size: 16px;
}

/* Services */
.services {
    background: #f8fafc;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.service-card:hover {
    border-color: #6366f1;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.1);
}

.service-card.featured {
    border-color: #6366f1;
    box-shadow: 0 4px 20px rgba(99,102,241,0.08);
}

.service-card.featured .service-card-bg {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #6366f1;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99,102,241,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: #6366f1;
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-icon i {
    font-size: 20px;
    color: #6366f1;
    transition: color 0.3s;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.service-card > p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-list li {
    font-size: 13px;
    color: #64748b;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.service-cta i {
    font-size: 12px;
    transition: transform 0.3s;
}

.service-cta:hover {
    gap: 10px;
}

.service-cta:hover i {
    transform: translateX(3px);
}

/* Process */
.process {
    background: #fff;
}

.process-steps {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-num {
    font-size: 40px;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
    min-width: 60px;
    opacity: 0.3;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

.process-connector {
    text-align: center;
    padding: 8px 0;
    padding-left: 60px;
}

.process-connector i {
    color: #6366f1;
    font-size: 16px;
    opacity: 0.3;
}

/* Portfolio */
.portfolio {
    background: #f8fafc;
}

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

.portfolio-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.portfolio-img {
    height: 200px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-img i {
    font-size: 48px;
    color: rgba(255,255,255,0.12);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99,102,241,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-view {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    transition: all 0.3s;
}

.portfolio-view:hover {
    background: #fff;
    color: #6366f1;
    border-color: #fff;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1e293b;
}

.portfolio-info p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.6;
}

.portfolio-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(99,102,241,0.08);
    color: #6366f1;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 28px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.testimonial-stars {
    margin-bottom: 14px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 14px;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.testimonial-author h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.testimonial-author span {
    font-size: 12px;
    color: #94a3b8;
}

/* Contact */
.contact {
    background: #f8fafc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99,102,241,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 18px;
    color: #6366f1;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.contact-form-wrapper {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* Footer */
.footer {
    background: #0f0c29;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-social a:hover {
    background: #6366f1;
    color: #fff;
    transform: translateY(-2px);
}

.footer-links h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #a5b4fc;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 280px;
        height: 100%;
        background: #fff;
        flex-direction: column;
        padding: 90px 32px 32px;
        gap: 16px;
        box-shadow: -4px 0 40px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links a {
        color: #475569 !important;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 0;
    }

    .hero-stats {
        gap: 32px;
    }

    section {
        padding: 64px 0;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-exp-badge {
        right: 0;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}
