* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(44, 83, 100, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 26px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* HEADER */
header {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 42px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

header p {
    font-size: 18px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* SECTIONS */
.section {
    display: none;
    max-width: 1400px;
    margin: 0 auto 50px;
    width: 100%;
    padding: 0 40px;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5364, #0891b2);
    border-radius: 2px;
}

/* PRODUCT GRID */
.mobil-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
    padding: 10px;
}

.mobil-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(8, 145, 178, 0.1);
}

.mobil-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(8, 145, 178, 0.25);
    border-color: rgba(8, 145, 178, 0.3);
}

/* Foto Mobil - Posisi Atas, Lebih Besar, Menarik */
.mobil-info {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    overflow: hidden;
    position: relative;
}

/* Overlay gelap saat hover */
.mobil-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobil-card:hover .mobil-info::before {
    opacity: 1;
}

/* Styling gambar */
.mobil-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobil-card:hover .mobil-info img {
    transform: scale(1.1);
}

/* Detail Mobil */
.mobil-detail {
    padding: 25px;
    background: white;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-of-type {
    border-bottom: none;
}

.detail-label {
    color: #0891b2;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #2d3748;
    font-weight: 500;
    text-align: right;
}

.harga {
    font-size: 24px;
    font-weight: bold;
    color: #0891b2;
    text-align: right;
    margin: 15px 0 10px;
}

/* Tombol Aksi */
.mobil-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 25px 25px;
}

.mobil-action button {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-detail {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    color: #0f766e;
    border: 2px solid #14b8a6;
    order: 1;
}

.btn-detail:hover {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-beli {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: 2px solid transparent;
    order: 2;
    font-size: 15px;
    padding: 16px 20px;
}

.btn-beli:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.4);
}

/* ABOUT SECTION */
.about-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-text h3 {
    font-size: 26px;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.feature-item {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    padding: 16px 20px;
    border-radius: 12px;
    color: #0f766e;
    font-weight: 600;
    font-size: 14px;
    border-left: 4px solid #14b8a6;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

/* CONTACT SECTION */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid #14b8a6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.2);
}

.contact-item h4 {
    font-size: 18px;
    color: #0891b2;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-item p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
}

/* MODAL */
.modal {
    display: none !important;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close,
.close-detail {
    color: #a0aec0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 20px;
}

.close:hover,
.close-detail:hover {
    color: #0891b2;
    transform: rotate(90deg);
}

.modal-content h2 {
    color: #2d3748;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
}

.modal-content p {
    color: #4a5568;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

/* FORM */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    background-color: #f7fafc;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0891b2;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-end;
}

.btn-submit,
.btn-cancel {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-submit {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    flex: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.btn-cancel {
    background-color: #e2e8f0;
    color: #0891b2;
}

.btn-cancel:hover {
    background-color: #cbd5e0;
}

#cancelBtn {
    background-color: #e2e8f0;
    color: #0891b2;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

#cancelBtn:hover {
    background-color: #cbd5e0;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #cbd5e0;
    padding: 50px 40px 25px;
    margin-top: 80px;
    border-top: 4px solid #14b8a6;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 22px;
}

.footer-section h4 {
    font-size: 16px;
}

.footer-section p,
.footer-section ul li {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #14b8a6;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background-color: #14b8a6;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(20, 184, 166, 0.2);
    font-size: 13px;
    color: #a0aec0;
}

/* ADMIN PANEL */
.admin-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.admin-panel.hidden {
    display: none !important;
}

.admin-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.admin-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.admin-close:hover {
    color: #0891b2;
    transform: rotate(90deg);
}

.admin-content h2 {
    color: #2d3748;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
}

.admin-info {
    background: #f0fdfa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 5px solid #14b8a6;
}

.admin-info p {
    margin-bottom: 12px;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

.admin-btn {
    width: 100%;
    padding: 14px 25px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .section {
        padding: 0 20px;
    }

    .mobil-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .mobil-info {
        height: 250px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .admin-content {
        padding: 25px 20px;
    }

    header h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .mobil-info {
        height: 220px;
    }

    .mobil-detail {
        padding: 20px;
    }

    .mobil-action {
        padding: 0 20px 20px;
    }
}