/* =========================================
   1. PENGATURAN DASAR HALAMAN TANGKI AIR
   ========================================= */
body.tangki-page {
    background-color: #f4f7fa;
    color: #333;
}

/* Override padding main dari style.css agar proporsional di semua ukuran layar */
main.tangki-main {
    padding: 35px 20px 80px 20px !important;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* =========================================
   2. HERO & 4 KEUNGGULAN LAYANAN
   ========================================= */
.tangki-hero {
    background: linear-gradient(135deg, #0b283d 0%, #103A57 60%, #154c73 100%);
    border-radius: 20px;
    padding: 45px 35px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(11, 40, 61, 0.15);
    margin-bottom: 40px;
}

.tangki-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.5);
    color: #72efdd;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 25px;
    margin-bottom: 15px;
}

.tangki-hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
    line-height: 1.25;
}

.tangki-hero > p {
    font-size: 1.02rem;
    color: #d0e2f0;
    max-width: 800px;
    margin: 0 auto 35px auto;
    line-height: 1.65;
}

/* Grid 4 Keunggulan di dalam Hero */
.keunggulan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: left;
}

.keunggulan-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.keunggulan-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.14);
}

.keunggulan-icon {
    width: 46px;
    height: 46px;
    background: #00B4D8;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.35);
}

.keunggulan-teks h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.keunggulan-teks p {
    font-size: 0.85rem;
    color: #c4d9e8;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   3. FORMULIR PEMESANAN & VISUAL RADIO CARD
   ========================================= */
.tangki-form-section {
    margin-bottom: 55px;
}

.form-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(11, 40, 61, 0.08);
    border: 1px solid #e2e8f0;
    max-width: 920px;
    margin: 0 auto;
}

.form-card-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #e2e8f0;
}

.form-card-header h2 {
    color: #0b283d;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-card-header h2 i {
    color: #00B4D8;
}

.form-card-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.t-form-group {
    margin-bottom: 22px;
}

.t-form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b283d;
    margin-bottom: 8px;
}

.t-form-group input[type="text"],
.t-form-group select,
.t-form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background-color: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
}

.t-form-group input[type="text"]:focus,
.t-form-group select:focus,
.t-form-group textarea:focus {
    border-color: #00B4D8;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.12);
}

/* Desain Kartu Pilihan Kapasitas Liter (Radio Card) */
.liter-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 6px;
}

.liter-card {
    cursor: pointer;
    position: relative;
    margin: 0 !important;
}

.liter-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.liter-card-box {
    border: 2px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
}

.liter-card:hover .liter-card-box {
    border-color: #00B4D8;
    background: #f0f9ff;
}

/* Efek Saat Kartu Kapasitas Dipilih */
.liter-card input[type="radio"]:checked + .liter-card-box {
    border-color: #366B2B;
    background: #eaf3e8;
    box-shadow: 0 8px 20px rgba(54, 107, 43, 0.15);
    transform: translateY(-3px);
}

.liter-check {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #cbd5e1;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.liter-card input[type="radio"]:checked + .liter-card-box .liter-check {
    color: #366B2B;
}

.liter-populer-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #00B4D8;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.liter-icon {
    font-size: 2rem;
    color: #0b283d;
    margin-bottom: 4px;
}

.liter-card input[type="radio"]:checked + .liter-card-box .liter-icon {
    color: #366B2B;
}

.liter-angka {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0b283d;
}

.liter-ket {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.4;
    font-weight: 500;
}

.catatan-harga {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    color: #64748b;
}

.catatan-harga i {
    color: #00B4D8;
}

/* Tombol Submit WhatsApp */
.btn-submit-tangki {
    width: 100%;
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-submit-tangki:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* =========================================
   4. GALERI PORTOFOLIO ARMADA (4 KOLOM DESKTOP)
   ========================================= */
.tangki-galeri-section {
    padding-top: 10px;
}

.galeri-header {
    text-align: center;
    margin-bottom: 30px;
}

.galeri-header h2 {
    color: #0b283d;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.galeri-header p {
    color: #64748b;
    font-size: 0.98rem;
}

.tangki-galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.galeri-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.galeri-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(11, 40, 61, 0.12);
}

.galeri-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeri-card:hover img {
    transform: scale(1.05);
}

.galeri-caption {
    padding: 12px 14px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0b283d;
    background: #ffffff;
    border-top: 3px solid #00B4D8;
}

/* =========================================
   5. RESPONSIVE TABLET & MOBILE (<= 768px)
   ========================================= */
@media (max-width: 992px) {
    .keunggulan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    main.tangki-main {
        padding: 20px 12px 60px 12px !important;
    }

    .tangki-hero {
        padding: 30px 18px;
        border-radius: 16px;
        margin-bottom: 28px;
    }

    .tangki-hero h1 {
        font-size: 1.55rem;
    }

    .tangki-hero > p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .keunggulan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .keunggulan-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 15px;
    }

    .keunggulan-icon {
        flex-shrink: 0;
    }

    .form-card-wrapper {
        padding: 25px 18px;
        border-radius: 16px;
    }

    .form-card-header h2 {
        font-size: 1.35rem;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Radio Card Liter Bertumpuk Rapi di HP */
    .liter-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .liter-card-box {
        padding: 16px;
    }

    .btn-submit-tangki {
        font-size: 0.98rem;
        padding: 14px;
    }

    .galeri-header h2 {
        font-size: 1.4rem;
    }

    /* Galeri Armada 2 Kolom di HP */
    .tangki-galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .galeri-card img {
        height: 140px;
    }

    .galeri-caption {
        font-size: 0.78rem;
        padding: 9px 8px;
    }
}