/*
Theme Name: DIPA PUTRA
Theme URI: https://dipaputra.com
Author: Medin
Author URI: https://medin.com
Description: Tema WordPress custom untuk perusahaan DIPA PUTRA yang bergerak di bidang penerbitan, konveksi, digital printing, catering, ATK, dan offsets.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dipa-putra
*/

/* Import semua file CSS */
@import url('assets/css/header.css');
@import url('assets/css/beranda.css');
@import url('assets/css/produk.css');
@import url('assets/css/single.css');
@import url('assets/css/footer.css');
@import url('assets/css/responsive.css');
@import url('assets/css/search.css');

:root {
    --primary-color: #e30613;
    --secondary-color: #333;
    --text-color: #555;
    --light-bg: #f9f9f9;
    --dark-bg: #222;
    --white: #fff;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease forwards;
}