/*
Theme Name: Tugas Kuliah Custom Theme
Template: blocksy
Version: 1.0.1
*/

/* 1. TOMBOL (Force Modern Style - Support Elementor) */
button,
input[type="submit"],
.ct-button,
.wp-block-button__link,
.add_to_cart_button,
.elementor-button {
    border-radius: 50px !important;
    background: linear-gradient(45deg, #212121, #4a4a4a) !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border: none !important;
    padding: 12px 35px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

/* Efek Hover */
button:hover, .elementor-button:hover, .add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    background: linear-gradient(45deg, #000000, #333333) !important;
}

/* 2. KARTU PRODUK (WooCommerce) */
.product, .type-product {
    background: white;
    border-radius: 12px !important;
    padding: 15px !important;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}

/* 3. HILANGKAN COPYRIGHT BAWAAN */
.ct-footer-copyright {
    display: none !important;
}

/* 4. FONT BODY */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* --- 1. VISUAL UPGRADE: IMAGES --- */
/* Membuat semua gambar di konten lebih estetik (rounded & shadow halus) */
.elementor-image img, 
.wp-block-image img,
.entry-content img {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
/* Efek hover pada gambar biar interaktif */
.elementor-image img:hover, .wp-block-image img:hover { 
    transform: scale(1.02); 
}
/* Fix gambar raksasa di halaman About */
.entry-content img { 
    max-width: 100%; 
    height: auto; 
    margin-top: 20px; 
    margin-bottom: 20px; 
}

/* --- 2. TYPOGRAPHY: READABILITY --- */
/* Membuat paragraf tidak terlalu lebar (mata lelah) & spasi enak */
body, p { 
    line-height: 1.8 !important; /* Spasi antar baris lebih lega */
    color: #444; /* Jangan hitam pekat, abu gelap lebih elegan */
}
/* Membatasi lebar teks di halaman About/Blog biar seperti Medium.com */
.page-content, .entry-content { 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
}
/* Headings lebih tegas */
h1, h2, h3, h4 { 
    color: #111; 
    letter-spacing: -0.5px; /* Modern style: spasi huruf agak rapat */
    margin-bottom: 1.5rem; 
}

/* --- 3. INPUT FORM (Contact) --- */
/* Bikin form contact jadi modern (gak kotak kaku) */
input[type="text"], input[type="email"], textarea { 
    border-radius: 12px !important; 
    padding: 15px !important; 
    border: 1px solid #ddd !important; 
    background-color: #f9f9f9 !important; 
}
input:focus, textarea:focus { 
    background-color: #fff !important; 
    border-color: #333 !important; 
    outline: none; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
}
