@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #F4F1EA;
    color: #2C3E50;
    min-height: 100vh;
    padding: 20px;
}

/* ==========================================
   1. STYLING LANDING PAGE (index.php)
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #2D3B36;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #2D3B36;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #4A5568;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #2D3B36;
}

.btn-header {
    background: #2D3B36;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

.btn-header:hover {
    background: #1E2824;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tagline {
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #1A202C;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: #2D3B36;
}

.hero-desc {
    font-size: 16px;
    color: #4A5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-action {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 40px;
}

.btn-primary {
    background: #2D3B36;
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.btn-secondary {
    color: #2D3B36;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #CBD5E0;
    border: 2px solid #F4F1EA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-left: -10px;
}
.avatar-1 { background: #E07A5F; margin-left: 0; }
.avatar-2 { background: #3D405B; }
.avatar-3 { background: #81B29A; }

.proof-text {
    font-size: 13px;
    color: #4A5568;
    font-weight: 600;
}

.proof-text span {
    display: block;
    font-weight: 400;
    color: #718096;
}

.hero-right {
    background: #EAE3D2;
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    position: relative;
    overflow: hidden; /* Penting agar gambar tidak keluar dari sudut lengkung */
}

.hero-badge-top, .hero-badge-bottom {
    background: #FFFFFF;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: fit-content;
}

.hero-badge-bottom {
    display: flex;
    flex-direction: column;
}

/* Form Section di Landing Page */
.form-section {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    border: 1px solid #EAE3D2;
    box-shadow: 0 12px 40px rgba(0,0,0,0.03);
}

.form-info .subhead {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 15px;
    line-height: 1.3;
}

.form-info h2 span {
    color: #2D3B36;
}

.form-info p {
    color: #4A5568;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.help-box {
    background: #FAF8F5;
    border: 1px solid #EBE4D8;
    padding: 20px;
    border-radius: 14px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.help-icon {
    font-size: 24px;
}

.help-text span {
    display: block;
    font-size: 12px;
    color: #718096;
}

.help-text strong {
    font-size: 14px;
    color: #2D3B36;
}

.help-text small {
    display: block;
    font-size: 11px;
    color: #A0AEC0;
}

.form-wrapper {
    background: #FAF8F5;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #EBE4D8;
}

.form-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: #2D3B36;
    font-size: 14px;
}

.step {
    color: #718096;
    font-size: 12px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4A5568;
    margin-bottom: 6px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: #FFFFFF;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    color: #2D3748;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #2D3B36;
    box-shadow: 0 0 0 3px rgba(45, 59, 54, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 13px;
    background: #2D3B36;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #1E2824;
}

.alert-msg {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}

.alert-success {
    background: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.alert-error {
    background: #FFF5F5;
    color: #C53030;
    border: 1px solid #FEB2B2;
}


/* ==========================================
   2. STYLING LOGIN / DASHBOARD / GENERAL FORM
   ========================================== */
.container, .catalog-container, .order-container, .order-page-container {
    width: 100%;
    max-width: 1100px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #EAE3D2;
    margin: 30px auto;
}

.form-box {
    max-width: 420px;
    margin: 0 auto;
}

.form-box h2 {
    color: #2D3B36;
    text-align: center;
    margin-bottom: 24px;
    font-size: 26px;
}

.input-box {
    margin-bottom: 20px;
}

.input-box label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4A5568;
    margin-bottom: 8px;
}

.input-box input, 
.input-box select, 
.input-box textarea {
    width: 100%;
    padding: 12px 16px;
    background: #FAF8F5;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    outline: none;
    color: #2D3748;
    font-size: 14px;
}

.btn, .btn-rent {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2D3B36;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.btn:hover, .btn-rent:hover {
    background: #1E2824;
}

.toggle-link {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #718096;
}

.toggle-link a {
    color: #2D3B36;
    font-weight: 600;
    text-decoration: none;
}

.alert {
    background: #FFF5F5;
    color: #C53030;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #FEB2B2;
}