/*
Theme Name: DIY Umpan Buatan
Theme URI: https://diyumpanbuatan.local
Description: Professional WordPress theme for DIY fishing lure crafting website. Elegant design showcase for custom handmade fishing umpan.
Version: 1.0.0
Author: DIY Umpan Buatan
Author URI: https://diyumpanbuatan.local
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: diy-umpan
Domain Path: /languages
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

:root {
    --primary: #1a472a;
    --primary-light: #2d6a42;
    --secondary: #d4a574;
    --secondary-light: #e8c9a8;
    --accent: #8b7355;
    --light-bg: #f8f6f3;
    --dark-text: #1a1a1a;
    --gray-text: #666;
}

/* ============ HEADER & NAVIGATION ============ */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 80px 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
    margin: 0 0.5rem;
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--secondary);
}

.cta-btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-btn-outline:hover {
    background-color: #fff;
    color: var(--primary);
}

/* ============ CONTAINER & SECTION ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 60px 2rem;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ============ KEUNGGULAN / FEATURES ============ */
.advantages {
    background-color: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: #fff;
    padding: 2rem;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.advantage-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============ TENTANG KAMI ============ */
.about {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============ PRODUK / GALLERY ============ */
.produk {
    background-color: var(--light-bg);
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.produk-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.produk-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.produk-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.produk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produk-card:hover .produk-image img {
    transform: scale(1.05);
}

.produk-info {
    padding: 1.5rem;
}

.produk-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.produk-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.produk-spec {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.produk-price {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.produk-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.produk-btn:hover {
    background-color: var(--primary-light);
}

/* ============ KONTAK SECTION ============ */
.kontak {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.kontak .section-title {
    color: #fff;
}

.kontak .section-title::after {
    background-color: var(--secondary);
}

.kontak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.kontak-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.kontak-item h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.kontak-item p, .kontak-item a {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.kontak-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontak-item a:hover {
    color: #fff;
}

/* ============ FOOTER ============ */
footer {
    background-color: var(--primary);
    color: #fff;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .produk-grid {
        grid-template-columns: 1fr;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 1rem;
    }

    .header-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 0.5rem;
    }
}
