/*
Theme Name: BaturetnoStudio
Theme URI: https://baturetnostudio.com
Author: Baturetno Studio
Author URI: https://baturetnostudio.com
Description: Tema WordPress premium karya Baturetno Studio, didesain khusus untuk situs berita, media online, portal digital, dan brand Indonesia dengan tampilan modern, responsive, serta SEO-friendly.
Version: 1.0.0
Requires at least: 5.7
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: berita, blog, corporate, media, responsive, SEO, custom-background, custom-logo, custom-menu, editor-style, translation-ready
Text Domain: baturetnostudio
*/

/* ===== CSS RESET BATURETNO STUDIO THEME ===== */

/* Box sizing universal */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin/padding */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Set base font and background */
body {
  line-height: 1.5;
  font-family: Arial, Helvetica, 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #232323;
}

/* Remove list styles and quotes */
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* Reset tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove underline on links */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove button input border/outline for base styling */
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* Images responsive baseline */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Remove focus outline (accessibility handled in custom style) */
:focus {
  outline: 0;
}



/** CSS INTI **/

/* Variabel Warna */
:root {
    --color-primary: #b1de4d; /* Hijau Cerah dari Logo */
    --color-secondary: #222;  /* Abu Gelap/Hampir Hitam */
    --color-background: #fff; /* Putih */
    --color-text-light: #f4f4f4; /* Teks di background gelap */
    --color-text-dark: #333; /* Teks di background terang */
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-background);
}

/* Utilitas */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

.bg-light {
    background-color: #f8f8f8;
}

.highlight-color {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-text-light);
}

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

.mt-3 {
    margin-top: 20px;
}

/* Tombol */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
}

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

.btn-contact {
    background-color: var(--color-primary);
    color: var(--color-secondary) !important;
    padding: 8px 15px;
    border-radius: 4px;
    margin-left: 15px;
}

.btn-contact:hover {
    opacity: 0.9;
}

.btn-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: padding 0.3s ease;
}

.btn-link:hover {
    padding-left: 5px;
}

/* Header & Navigasi */
#header {
    background-color: var(--color-secondary);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.logo .highlight-color {
    color: var(--color-primary);
}

#navbar a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 400;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px;
}

#navbar a:hover, #navbar a.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Sticky Header Effect (ditambahkan di JS) */
.header-scrolled {
    background-color: rgba(34, 34, 34, 0.95);
    padding: 10px 0;
}

/* Hero Section */
.hero-section {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    padding: 150px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: left;
	background-image: url('https://baturetnostudio.com/wp-content/uploads/2025/10/code.webp');
	background-size: cover;
}

.hero-content {
    max-width: 800px;
}

.slogan {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Judul Section */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* Template Section */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.template-card {
    background-color: var(--color-background);
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.template-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Layanan Section */
.layanan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.layanan-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 200px;
    border-bottom: 3px solid var(--color-primary);
    transition: background-color 0.3s ease;
}

.layanan-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.icon-layanan {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.layanan-card h3 {
    font-size: 1rem;
    font-weight: 400;
}

/* Tentang Kami Section */
.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: left;
}

/* Blog Section */
.placeholder-content {
    background-color: #eee;
    padding: 50px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
    color: #888;
}

/* Kontak Section */
.contact-info {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 30px 0;
    font-size: 0.9rem;
    text-align: center;
}

footer p {
    margin-bottom: 5px;
}

/* --- Animasi Efek Scroll (Reveal) --- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Media Queries (Responsif) --- */
@media (max-width: 992px) {
    .main-title {
        font-size: 3rem;
    }
    .description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px 0;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .section-padding {
        padding: 60px 0;
    }

    /* Navigasi Mobile */
    #navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--color-secondary);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-200%);
        transition: transform 0.3s ease-in-out;
    }

    #navbar.active {
        transform: translateY(0);
        padding-bottom: 10px;
    }

    #navbar a {
        display: block;
        text-align: center;
        padding: 15px 0;
        margin: 0;
    }

    .menu-toggle {
        display: block;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--color-text-light);
        margin: 4px 0;
        transition: all 0.3s ease;
    }

    /* Animasi Menu Toggle */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
	
	.layanan-card {
		width: 138px;
	}
}

