/* 
   =================================================
   Gadai Premium - Elegant Color Palette & Styling
   =================================================
*/

:root {
    /* Elegant Color Palette */
    --navy-dark: #0A192F;
    --navy-light: #112240;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #B5952F;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #8892B0;
    --bg-light: #F8F9FA;
    --wa-green: #25D366;
    --wa-green-hover: #1EBE5D;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Variables */
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.bg-light { background-color: var(--bg-light); }
.section-title { font-size: 2.2rem; margin-bottom: 40px; position: relative; padding-bottom: 15px; }
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

/* Page Headers (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
}
.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navigation */
.header {
    background-color: var(--navy-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--gold);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 100;
    overflow: hidden;
    padding: 10px 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-item {
    color: var(--navy-dark) !important;
    padding: 12px 20px !important;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--navy-light);
    color: var(--white) !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(17, 34, 64, 0.95) 100%), url('../images/hero.png') center/cover no-repeat;
    padding: 80px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 500px;
    color: var(--white);
}

.hero-title {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-icon {
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.1);
    margin-right: 15px;
    font-size: 0.9rem;
}

/* Form Styles */
.hero-form {
    flex: 1 1 400px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

/* Gold line top of form */
.hero-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.form-header {
    padding: 20px 25px 15px;
    text-align: center;
    background-color: var(--bg-light);
    border-bottom: 1px solid #EEEEEE;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.form-header p {
    color: #666;
    font-size: 0.9rem;
}

.form-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.9rem;
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDDDDD;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.split-group {
    display: flex;
    gap: 15px;
}

.form-subgroup {
    flex: 1;
}

.form-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
}

/* Content Sections (Layanan, Tentang, Hubungi) */
.content-section {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #F0F0F0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Step Icons */
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--gold);
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.service-card:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.contact-info-card {
    background: var(--navy-dark);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
}

.contact-info-card h3 {
    color: var(--gold);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item-icon {
    color: var(--gold);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--gold);
    text-align: left;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.testimonial-text {
    font-style: italic;
    color: var(--navy-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy-dark);
}

.testimonial-service {
    font-size: 0.85rem;
    color: #777;
}

/* Footer */
.footer {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #F0F0F0;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-color: var(--gold-light);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Requirements Section */
.requirements {
    padding: 80px 0;
}

.req-list-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.req-list {
    list-style: none;
}

.req-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.req-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    background-color: var(--gold);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Footer */
.footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h3 {
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact {
    flex: 1 1 300px;
}

.footer-contact h3 {
    color: var(--white);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--gold);
}

.footer-bottom {
    background-color: #060F1D;
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-wa svg {
    width: 35px;
    height: 35px;
}

.floating-wa:hover {
    background-color: var(--wa-green-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--navy-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: none; /* Hidden by default */
        gap: 15px;
    }
    
    .navbar.active {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
    }
    
    .nav-links li {
        margin: 5px 0;
    }

    .dropdown-menu {
        position: relative;
        display: none;
        box-shadow: none;
        background: transparent;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: var(--white) !important;
        padding: 10px 0 !important;
        font-size: 0.9rem;
    }
    
    .dropdown-item:hover {
        background: transparent;
        color: var(--gold) !important;
    }
    
    .nav-wa-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-form {
        width: 100%;
    }
    
    .split-group, .grid-2 {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .req-list-container {
        flex-direction: column;
        gap: 0;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   SIMULASI CARDS NO-BORDER MODERN
   ========================================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.simulasi-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #EAEAEA;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px 20px;
    text-align: center;
}

.simulasi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.simulasi-card.highlighted {
    background: var(--navy-dark);
    color: var(--white);
    position: relative;
    border: none;
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.2);
}

.simulasi-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--navy-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.simulasi-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(43, 110, 255, 0.1);
    color: var(--navy-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.simulasi-card.highlighted .simulasi-card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.simulasi-card-icon svg { width: 30px; height: 30px; }

.simulasi-subtitle {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.simulasi-card.highlighted .simulasi-subtitle {
    color: #ccc;
}

.simulasi-title {
    font-size: 1.4rem;
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 5px;
}
.simulasi-card.highlighted .simulasi-title {
    color: var(--white);
}

.simulasi-interest {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.simulasi-card.highlighted .simulasi-interest {
    color: #ddd;
}

.simulasi-cicilan {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--navy-dark);
}
.simulasi-card.highlighted .simulasi-cicilan {
    color: var(--white);
}
.simulasi-cicilan strong { font-size: 1.1rem; }

.simulasi-plafon {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: var(--navy-dark);
}
.simulasi-card.highlighted .simulasi-plafon {
    color: var(--white);
}
.simulasi-plafon strong { font-weight: 600; font-size: 1.05rem; }

.simulasi-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex: 1;
}

.simulasi-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #555;
}
.simulasi-card.highlighted .simulasi-features-list li {
    color: #eee;
}

.simulasi-features-list svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--navy-light);
}
.simulasi-card.highlighted .simulasi-features-list svg {
    color: var(--gold);
}

.btn-white {
    background-color: var(--white);
    color: var(--navy-dark);
    font-weight: 700;
}
.btn-white:hover {
    background-color: #f1f1f1;
    color: var(--navy-dark);
    transform: scale(1.02);
}

.btn-dark-blue {
    background-color: var(--navy-dark);
    color: var(--white);
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.05rem;
}

.btn-dark-blue:hover {
    background-color: var(--navy-light);
    color: var(--white);
    transform: scale(1.02);
}
