/*
Theme Name: Pesat
Theme URI: https://pesat.id
Author: Erick Wellem
Description: Custom WordPress theme for Pesat ported from Next.js project.
Version: 1.0.0
Text Domain: pesat
*/

:root {
    --font-helvetica-neue: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 0.75rem;
    --background: #fdf8e7;
    --foreground: #231f20;
    --card: #ffffff;
    --card-foreground: #231f20;
    --popover: #ffffff;
    --popover-foreground: #231f20;
    --primary: #7aff12;
    --primary-foreground: #231f20;
    --secondary: #6663fd;
    --secondary-foreground: #ffffff;
    --muted: #f0f0f0;
    --muted-foreground: #666666;
    --accent: #7aff12;
    --accent-foreground: #231f20;
    --border: #e0e0e0;
    --input: #e0e0e0;
    --ring: #7aff12;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-helvetica-neue);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Section Utilities */
.section {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 1rem;
    }
}

.section-muted {
    background-color: rgba(240, 240, 240, 0.5);
}

.section-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

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

.max-w-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

/* Impact Stats */
.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3rem;
    }
}

/* Page Hero Section */
.page-hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 8rem 0;
    }
}

.page-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
    z-index: 5;
}

.page-hero-content {
    position: relative;
    z-index: 10;
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 3rem;
    }
}

.page-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Content Styles */
.prose {
    line-height: 1.75;
    font-size: 1.125rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose h1,
.prose h2,
.prose h3 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Additional Utilities */
.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-muted-50 {
    background-color: rgba(240, 240, 240, 0.5);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-4xl {
    max-width: 56rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.italic {
    font-style: italic;
}

.font-semibold {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}