/* ========================================================
   GLOBAL RESET & BASE
   ======================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Times New Roman", Times, serif;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f1f5f9;
    color: #1a202c;
    line-height: 1.6;
}

body.dark-mode {
    background-color: #0f172a;
    color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

/* ========================================================
   TOP BAR
   ======================================================== */
.top-bar {
    background-color: #1e293b;
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .top-bar {
    background-color: #0f172a;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-phone-link {
    color: #e2e8f0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-phone-link:hover {
    color: #25d366;
}

.top-socials a {
    color: #e2e8f0;
    margin-left: 0.8rem;
    transition: color 0.3s;
}

.top-socials a:hover {
    color: #63b3ed;
}

/* ========================================================
   NAVBAR & HEADER
   ======================================================== */
nav {
    background-color: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.08);
}

body.dark-mode nav {
    background-color: #1e293b;
    border-bottom-color: #334155;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

/* 1. UKURAN LOGO NAVBAR: 48px */
.logo-img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2px;
    display: block;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

body.dark-mode .logo-text {
    color: #cbd5e1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Theme Toggle Button */
.theme-btn {
    background-color: #f1f5f9;
    color: #1a202c;
    border: 1px solid rgba(226, 232, 240, 0.8);
    width: 38px; height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 2px 5px rgba(26, 54, 93, 0.08);
}

body.dark-mode .theme-btn {
    background-color: #0f172a;
    color: #f8fafc;
    border-color: rgba(51, 65, 85, 0.8);
}

.theme-btn:hover {
    color: #3b82f6;
    border-color: #3b82f6;
}

body.dark-mode .theme-btn:hover {
    color: #60a5fa;
    border-color: #60a5fa;
}

/* Mobile Toggle */
.menu-toggle-btn {
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #1e293b;
    width: 38px; height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

body.dark-mode .menu-toggle-btn {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
    color: #cbd5e1;
}

/* User Badge */
.user-logged-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #f1f5f9;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}

body.dark-mode .user-logged-badge {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
    color: #cbd5e1;
}

.btn-logout {
    background: none;
    border: none;
    color: #e53e3e;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

.btn-logout:hover {
    color: #c53030;
}

/* ========================================================
   GLOBAL BUTTONS
   ======================================================== */
.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 0 1.5rem; min-height: 44px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

body.dark-mode .btn-primary {
    background-color: #60a5fa;
    color: #0f172a;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-secondary {
    background-color: #25d366;
    color: #ffffff;
    padding: 0 1.5rem; min-height: 44px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #1ebd56;
}

.btn-sm {
    padding: 0 1rem; min-height: 38px;
    font-size: 0.95rem;
}

.style-block {
    width: 100%;
    justify-content: center;
}

/* ========================================================
   ADMIN BAR & PANEL
   ======================================================== */
.admin-action-bar {
    background: #3b82f6;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

body.dark-mode .admin-action-bar {
    background: #0f172a;
    border: 1px solid #60a5fa;
}

.admin-btn-add {
    background-color: #ffffff;
    color: #1e293b;
    padding: 0 1rem; min-height: 38px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn-add:hover {
    background-color: #f1f5f9;
}

/* ========================================================
   MODAL STYLING
   ======================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 460px;
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

body.dark-mode .modal-box {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .modal-header {
    border-bottom-color: #334155;
}

.modal-header h3 {
    font-size: 1.25rem;
    color: #1e293b;
}

body.dark-mode .modal-header h3 {
    color: #cbd5e1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
}

body.dark-mode .modal-close {
    color: #94a3b8;
}

.modal-close:hover {
    color: #e53e3e;
}

.modal-body {
    padding: 1.5rem;
}

.btn-google {
    width: 100%;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-google i {
    color: #ea4335;
    font-size: 1.1rem;
}

.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}

body.dark-mode .divider::before {
    background-color: #334155;
}

.divider span {
    position: relative;
    background-color: #ffffff;
    padding: 0 0.8rem;
    color: #4a5568;
    font-size: 0.85rem;
    z-index: 2;
}

body.dark-mode .divider span {
    background-color: #1e293b;
    color: #94a3b8;
}

.login-error-msg {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

/* Box Tarif / Harga Khusus Sekretaris */
.price-box {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body.dark-mode .price-box {
    border-top-color: #334155;
}

.price-tag {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3b82f6;
    background-color: #f1f5f9;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
}

body.dark-mode .price-tag {
    color: #60a5fa;
    background-color: #0f172a;
}

.btn-edit-price {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
}

body.dark-mode .btn-edit-price {
    background-color: #450a0a;
    color: #fca5a5;
    border-color: #7f1d1d;
}

.btn-edit-price:hover {
    background-color: #fecaca;
}

/* ========================================================
   SIDEBAR DRAWER MENU
   ======================================================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 35px rgba(26, 54, 93, 0.15);
    border-left: 1px solid #e2e8f0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

body.dark-mode .sidebar {
    background-color: #1e293b;
    border-left-color: #334155;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

body.dark-mode .sidebar-header {
    border-bottom-color: #334155;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 3px;
    background: #fff;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    max-width: 140px;
}

body.dark-mode .sidebar-title {
    color: #cbd5e1;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.3rem;
}

body.dark-mode .sidebar-close-btn {
    color: #94a3b8;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.sidebar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }

.sidebar-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: #ffffff; border: 1px solid rgba(226, 232, 240, 0.6); border-radius: 16px; padding: 1.2rem 0.5rem; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    text-decoration: none;
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease;
}

body.dark-mode .sidebar-grid-item {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
    color: #cbd5e1;
}

.sidebar-grid-item i {
    font-size: 1.6rem;
    color: #3b82f6;
}

body.dark-mode .sidebar-grid-item i {
    color: #60a5fa;
}

.sidebar-grid-item:hover { background-color: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

body.dark-mode .sidebar-grid-item:hover {
    background-color: #1e293b;
    border-color: #475569;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero {
    padding: 4.5rem 0 4rem;
    background: linear-gradient(135deg, #eef7fc 0%, #d8ecfa 100%);
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0f172a 0%, #0f172a 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(43, 108, 176, 0.15);
    color: #3b82f6;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

body.dark-mode .badge {
    color: #60a5fa;
    background-color: rgba(56, 189, 248, 0.15);
}

.hero h1 {
    font-size: 2.6rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.25;
}

body.dark-mode .hero h1 {
    color: #cbd5e1;
}

.hero p {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

body.dark-mode .hero p {
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

body.dark-mode .hero-stats {
    border-top-color: #334155;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: #1e293b;
}

body.dark-mode .stat-item h3 {
    color: #cbd5e1;
}

.stat-item p {
    font-size: 0.9rem;
    color: #4a5568;
}

body.dark-mode .stat-item p {
    color: #94a3b8;
}

.hero-logo-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(26, 54, 93, 0.08);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .hero-logo-card {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.logo-wrapper {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. UKURAN LOGO HERO: 260px */
.hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 260px;
    height: 260px;
    min-width: 260px;
    min-height: 260px;
    max-width: 100%;
    object-fit: contain;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 16px;
    display: block;
}

.hero-logo-caption {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    margin-top: 0.8rem;
    text-transform: uppercase;
}

body.dark-mode .hero-logo-caption {
    color: #cbd5e1;
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1e293b;
    color: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

body.dark-mode .hero-card-badge {
    background-color: #60a5fa;
    color: #0f172a;
}

/* ========================================================
   SECTION TITLE & SUBTITLE
   ======================================================== */
.section-subtitle {
    color: #3b82f6;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

body.dark-mode .section-subtitle {
    color: #60a5fa;
}

.section-subtitle.center {
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 2.5rem;
}

body.dark-mode .section-title {
    color: #cbd5e1;
}

.section-title.text-left {
    text-align: left;
}

/* ========================================================
   ABOUT SECTION
   ======================================================== */
.about-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

body.dark-mode .about-section {
    background-color: #1e293b;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.dark-mode .about-card {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
}

/* 3. UKURAN LOGO ABOUT: 240px */
.about-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-symbol {
    width: 240px;
    height: 240px;
    min-width: 240px;
    min-height: 240px;
    max-width: 100%;
    object-fit: contain;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 16px;
    display: block;
}

.about-logo-caption {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    margin-top: 0.6rem;
    text-transform: uppercase;
}

body.dark-mode .about-logo-caption {
    color: #cbd5e1;
}

.about-experience {
    background-color: #1e293b;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

body.dark-mode .about-experience {
    background-color: #0f172a;
    color: #cbd5e1;
}

.exp-years {
    font-size: 2.2rem;
    font-weight: 700;
}

.about-content-col p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #4a5568;
}

body.dark-mode .about-content-col p {
    color: #94a3b8;
}

.about-features {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-top: 0.2rem;
}

body.dark-mode .feature-item i {
    color: #60a5fa;
}

.feature-item h4 {
    font-size: 1.15rem;
    color: #1e293b;
}

body.dark-mode .feature-item h4 {
    color: #cbd5e1;
}

.feature-item p {
    font-size: 0.95rem;
}

/* ========================================================
   SERVICES SECTION
   ======================================================== */
.services-section {
    padding: 5rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

body.dark-mode .card {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1); }

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #3b82f6;
    margin-bottom: 1.2rem;
}

body.dark-mode .card-icon {
    background-color: #0f172a;
    color: #60a5fa;
}

.card h3 {
    font-size: 1.35rem;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

body.dark-mode .card h3 {
    color: #cbd5e1;
}

.card p {
    color: #4a5568;
    font-size: 1rem;
    flex: 1;
}

body.dark-mode .card p {
    color: #94a3b8;
}

/* ========================================================
   GALLERY SECTION
   ======================================================== */
.gallery-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

body.dark-mode .gallery-section {
    background-color: #1e293b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}

.gallery-card { background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

body.dark-mode .gallery-card {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
}

.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1); }

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(26, 54, 93, 0.85);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
}

body.dark-mode .gallery-tag {
    background-color: rgba(56, 189, 248, 0.9);
    color: #0f172a;
}

.card-delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #e53e3e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 10;
}

.admin-mode-active .card-delete-btn {
    display: inline-flex;
}

.gallery-info {
    padding: 1.2rem;
}

.gallery-info h4 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

body.dark-mode .gallery-info h4 {
    color: #cbd5e1;
}

.gallery-info p {
    font-size: 0.95rem;
    color: #4a5568;
}

body.dark-mode .gallery-info p {
    color: #94a3b8;
}

/* ========================================================
   BAHAN BAKU & ESTIMASI HARGA (LAIN-LAIN)
   ======================================================== */
.lain-lain {
    background: linear-gradient(180deg, #f1f5f9 0%, #d5e9f8 100%);
    padding: 5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .lain-lain {
    background: linear-gradient(180deg, #0f172a 0%, #0f172a 100%);
    border-top-color: #334155;
    border-bottom-color: #334155;
}

.list-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.item-box {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .item-box {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.item-box i {
    font-size: 2rem;
    color: #3b82f6;
    margin-top: 0.2rem;
}

body.dark-mode .item-box i {
    color: #60a5fa;
}

.item-content {
    flex: 1;
}

.item-box h4 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

body.dark-mode .item-box h4 {
    color: #cbd5e1;
}

.item-box p {
    font-size: 0.95rem;
    color: #4a5568;
}

body.dark-mode .item-box p {
    color: #94a3b8;
}

/* ========================================================
   WHY US (KEUNGGULAN) SECTION
   ======================================================== */
.why-us-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

body.dark-mode .why-us-section {
    background-color: #1e293b;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-card { text-align: center; border-radius: 16px; background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

body.dark-mode .why-card {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
}

.why-img-box {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.why-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-body {
    padding: 1.8rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.why-icon {
    font-size: 2.2rem;
    color: #3b82f6;
    margin-bottom: 0.8rem;
}

body.dark-mode .why-icon {
    color: #60a5fa;
}

.why-card h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

body.dark-mode .why-card h4 {
    color: #cbd5e1;
}

.why-card p {
    font-size: 0.95rem;
    color: #4a5568;
}

body.dark-mode .why-card p {
    color: #94a3b8;
}

/* ========================================================
   CONTACT SECTION
   ======================================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

body.dark-mode .contact-card {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
}

body.dark-mode .form-group label {
    color: #cbd5e1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem; min-height: 44px; border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    background-color: #f8fafc;
    color: #1a202c;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background-color: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
    color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0077cc;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: #60a5fa;
}

.contact-info-card {
    background-color: #1e293b;
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.dark-mode .contact-info-card {
    background-color: #0f172a;
}

.info-logo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

/* 4. UKURAN LOGO FORM KONTAK: 56px */
.contact-logo-img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 8px;
    display: block;
}

.info-logo-header h4 {
    font-size: 1.3rem;
    color: #ffffff;
}

.company-desc {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 2rem;
}

body.dark-mode .company-desc {
    color: #94a3b8;
}

.info-list {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.4rem;
    color: #63b3ed;
    margin-top: 0.2rem;
}

.info-item strong {
    font-size: 1.05rem;
    display: block;
    color: #ffffff;
}

.info-item p {
    color: #e2e8f0;
    font-size: 0.95rem;
}

.contact-wa-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 700;
}

.contact-wa-link:hover {
    color: #1ebd56;
    text-decoration: underline;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    padding-top: 4rem;
    font-size: 0.95rem;
}

body.dark-mode .site-footer {
    background-color: #050a14;
    border-top-color: #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 8px;
    display: block;
}

.footer-desc {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: #cbd5e1;
    background-color: #1e293b;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

.footer-col-links h4,
.footer-col-contact h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col-links a:hover {
    color: #60a5fa;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    gap: 0.8rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-contact-list i {
    color: #60a5fa;
    margin-top: 0.2rem;
}

.footer-bottom {
    background-color: #020617;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

body.dark-mode .footer-bottom {
    background-color: #000000;
}

/* ========================================================
   RESPONSIVE LAYOUT
   ======================================================== */
@media (max-width: 992px) {

    .hero-container,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .section-title.text-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
}
h1, h2, h3, h4, h5, h6 { line-height: 1.3; }


@media (max-width: 600px) {
    .nav-actions .btn-primary {
        display: none !important;
    }
    #loginBtnOpen {
        padding: 0;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }
    #loginBtnOpen {
        font-size: 0;
    }
    #loginBtnOpen i {
        font-size: 1.1rem;
        margin: 0;
    }
}


@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary { width: 100%; justify-content: center; }
}


@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



/* SIDEBAR NEW LAYOUT */
/* ========================================================
   TOAST NOTIFICATION
   ======================================================== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background-color: #ffffff;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #1e293b;
    font-size: 0.95rem;
    min-width: 250px;
    font-weight: 700;
}
body.dark-mode .toast {
    background-color: #1e293b;
    color: #f8fafc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: #ef4444; }
.toast.active { transform: translateX(0); }
.toast-icon { font-size: 1.3rem; }
.toast.success .toast-icon { color: #22c55e; }
.toast.error .toast-icon { color: #ef4444; }



/* ========================================================
   MODAL FORM REFINEMENTS
   ======================================================== */
.modal-box {
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: none;
}
body.dark-mode .modal-box {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #334155;
}
.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 0.5rem 2rem;
}
.modal-header h3 {
    font-size: 1.4rem;
}
.modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
}
.btn-google {
    border-radius: 16px;
    padding: 0.85rem;
    font-size: 1.05rem;
    background-color: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}
body.dark-mode .btn-google {
    background-color: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
}
.btn-google:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}
body.dark-mode .btn-google:hover {
    background-color: #1e293b;
    border-color: #475569;
}
.modal-body form .btn-primary {
    border-radius: 16px;
    padding: 0.85rem;
    font-size: 1.05rem;
    margin-top: 1rem;
}
.login-error-msg {
    display: none; /* Hide the old error text */
}


body.dark-mode .sidebar-grid {
    border-bottom-color: #334155;
}


.sidebar-footer {
    padding-top: 1.5rem;
    display: flex;
}
.sidebar-btn-penawaran {
    width: 100%;
    justify-content: center;
}


.why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}
.item-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

