/* ===================================
   STYLE.CSS - General Styles
   =================================== */

/* CSS Variables */
:root {
    --primary: #0f49bd;
    --accent-gold: #FFDF00;
    --background-light: #f6f6f8;
    --background-dark: #101622;
    --text-dark: #0d121b;
    --text-gray: #4c669a;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--primary);
    font-weight: 700;
    border: 2px solid var(--primary);
    border-radius: 12px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background-color: var(--accent-gold);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: white;
    transform: scale(1.05);
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Sections */
.section {
    padding: 96px 0;
}

.section-alt {
    background-color: white;
}

.section-label {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.section-divider {
    width: 96px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 999px;
    margin-bottom: 24px;
}

.section-intro {
    margin-bottom: 48px;
}

.section-action {
    text-align: center;
    margin-top: 48px;
}

/* Text Utilities */
.text-gold {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

/* Hero Section Bagian awal Backround */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Background will be set dynamically via inline style */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 73, 189, 0.45);
}

/* Gradasi transisi di bagian bawah hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 128px;
    background: linear-gradient(to bottom, rgba(15, 73, 189, 0) 0%, #f6f6f8 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px;
    max-width: 1024px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 32px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: 80px 24px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Product Card */
.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-price {
    position: absolute;
    top: 16px;
    right: 0;
    background-color: var(--accent-gold);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 8px 0 0 8px;
    box-shadow: var(--shadow);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.cta-info {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 700;
}

/* Utilities */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }