/*
Theme Name: Inkubisnis Darunnajah
Theme URI: https://inkubisnis.darunnajah.ac.id/
Author: IT Darunnajah
Author URI: https://darunnajah.ac.id
Description: Theme custom untuk Inkubisnis Darunnajah - Inkubator bisnis berbasis pesantren untuk santri, alumni, dan UMKM warga Darunnajah dengan pendekatan kewirausahaan syariah.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inkubisnis
Tags: business, education, islamic, incubator
*/

/* ====== RESET & BASE ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ====== VARIABLES (Darunnajah Brand Color) ====== */
:root {
    --primary: #0a5c2e;       /* Hijau Darunnajah */
    --primary-dark: #074721;
    --primary-light: #1a8047;
    --accent: #f4b41a;        /* Emas */
    --accent-dark: #d99c0e;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--dark); }
h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
p { margin-bottom: 1rem; color: var(--gray); }

/* ====== CONTAINER ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== HEADER / NAVBAR ====== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo img { height: 50px; }
.site-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.site-logo .logo-text span { color: var(--accent); }

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}
.main-nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.btn-contact {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 30px;
    font-weight: 600;
}
.btn-contact:hover { background: var(--primary-dark); }
.btn-contact::after { display: none; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #053419 100%);
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(244,180,26,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(circle, rgba(244,180,26,0.15) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.hero-badge {
    display: inline-block;
    background: rgba(244,180,26,0.2);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(244,180,26,0.4);
}
.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 620px;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* ====== BUTTONS ====== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244,180,26,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ====== SECTION COMMON ====== */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .subtitle {
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ====== EKOSISTEM SECTION ====== */
.ekosistem {
    background: var(--light-gray);
}
.ekosistem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.ekosistem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    text-align: center;
    border-bottom: 4px solid transparent;
}
.ekosistem-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.ekosistem-card .icon {
    width: 80px; height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 2rem;
}
.ekosistem-card h3 { margin-bottom: 15px; color: var(--primary); }

/* ====== KOMUNITAS SECTION ====== */
.komunitas {
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.komunitas::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(10,92,46,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.komunitas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.komunitas-image { position: relative; }
.komunitas-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.komunitas-image::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    background: var(--accent);
    border-radius: 20px;
    z-index: -1;
}
.komunitas-text .subtitle {
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: block;
}
.komunitas-text h2 { margin-bottom: 20px; font-size: 2.3rem; }
.komunitas-text ul { margin: 25px 0; }
.komunitas-text ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    color: var(--dark);
}
.komunitas-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 10px;
    width: 24px; height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ====== ANGKA / STATS ====== */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(244,180,26,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(244,180,26,0.06) 0%, transparent 40%);
    opacity: 1;
}
.stats .section-header h2 { color: var(--white); }
.stats .section-header p { color: rgba(255,255,255,0.85); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
}
.stat-card .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}
.stat-card .label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* ====== ABOUT SECTION ====== */
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 { margin-bottom: 25px; }
.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-images img { border-radius: 15px; box-shadow: var(--shadow); }
.about-images img:nth-child(2) { margin-top: 40px; }

/* ====== ARTIKEL / NEWS ====== */
.artikel { background: var(--light-gray); }
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.artikel-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}
.artikel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.artikel-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.artikel-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.artikel-card:hover .artikel-thumb img { transform: scale(1.1); }
.artikel-body { padding: 25px; }
.artikel-date {
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.artikel-body h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.artikel-body h3 a:hover { color: var(--primary); }
.artikel-body p {
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.read-more:hover { color: var(--accent-dark); }

/* ====== CTA SECTION ====== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.cta h2 {
    color: var(--white);
    font-size: 2.3rem;
    margin-bottom: 20px;
}
.cta p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
}
.footer-col p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 50px; filter: brightness(0) invert(1); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
}
.social-links a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .ekosistem-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .komunitas-content, .about-content { grid-template-columns: 1fr; }
    .artikel-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 80px; left: 0; right: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }
    .main-nav.active { transform: translateY(0); }
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    .main-nav ul li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    .ekosistem-grid, .artikel-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    section { padding: 60px 0; }
}
