/* 
   Unyu-unyu Boneka 
   Modern B2B Corporate Website
*/

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --accent: #f59e0b;
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
p { font-size: 1.125rem; color: var(--text-muted); }
.text-gradient { background: linear-gradient(90deg, var(--primary), #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-center { text-align: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
}

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

.brand { font-size: 1.5rem; font-weight: 700; }
.brand-unyu { color: var(--primary); }
.brand-boneka { color: var(--text-dark); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); }
.btn-primary-nav { background: var(--primary); color: var(--white); padding: 10px 20px; font-size: 0.9rem; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-large { padding: 18px 40px; font-size: 1.25rem; }

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    color: var(--white);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

.hero p { color: rgba(255,255,255,0.8); }

.blur-blob {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
    animation: blob-float 10s ease infinite alternate;
}
.blob-1 { background: var(--primary); top: -200px; left: -200px; }
.blob-2 { background: #ec4899; bottom: -200px; right: -200px; animation-delay: -5s; }

@keyframes blob-float { from { transform: translate(0,0); } to { transform: translate(100px, 100px); } }

.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.hero-cta-group { display: flex; gap: 16px; margin-top: 32px; }

.hero-meta {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
}

.meta-item { font-size: 0.9rem; color: var(--text-muted); }
.meta-item strong { display: block; color: var(--text-dark); font-size: 1.5rem; }

.visual-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.v-card {
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
    overflow: hidden; /* Ensure image stays inside */
}
.v-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v-card:hover { transform: translateY(-10px); }
.v-card.big { grid-row: span 2; background: var(--bg-alt); }

/* Clients */
.clients { padding: 40px 0; background: var(--bg-alt); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.flex-center { text-align: center; }
.section-subtitle { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); letter-spacing: 2px; margin-bottom: 24px; }
.client-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; }
.client-name { font-weight: 700; color: var(--text-muted); font-size: 1.2rem; opacity: 0.6; }

/* Services */
.services { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.service-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.service-card:hover { background: var(--white); border-color: var(--primary); box-shadow: var(--shadow); }

.s-icon { font-size: 3rem; margin-bottom: 24px; }
.s-list { list-style: none; margin-top: 24px; }
.s-list li { margin-bottom: 12px; position: relative; padding-left: 24px; font-weight: 600; }
.s-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); }

/* Portfolio */
.portfolio { padding: 100px 0; background: #0f172a; color: var(--white); }
.portfolio p { color: #94a3b8; }
.portfolio .section-header h2 { color: var(--white); }

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

.portfolio-item {
    background: #1e293b;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
}
.portfolio-item:hover { transform: scale(1.03); }

.p-img {
    height: 300px;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.p-content { padding: 24px; }
.p-tag { display: inline-block; margin-top: 8px; font-size: 0.8rem; border: 1px solid #475569; padding: 4px 10px; border-radius: 100px; color: #94a3b8; }

/* CTA Banner */
.cta-banner { padding: 120px 0; background: var(--primary); color: var(--white); }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }

/* Footer */
.footer { padding: 80px 0 40px; background: var(--bg-alt); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 100px; margin-bottom: 60px; }
.footer-brand p { margin-top: 16px; max-width: 300px; }
.footer-links { display: flex; gap: 80px; }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-col strong { margin-bottom: 12px; }
.f-col a { text-decoration: none; color: var(--text-muted); transition: color 0.2s; }
.f-col a:hover { color: var(--primary); }

.footer-bottom { border-top: 1px solid #e2e8f0; padding-top: 32px; color: var(--text-muted); font-size: 0.9rem; }

/* Mobile */
@media (max-width: 968px) {
    .container { padding: 0 30px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { justify-content: center; }
    .hero-meta { justify-content: center; }
    .hero-image-wrap { margin-top: 40px; }
    .service-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
