/* --- Global & Typography Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #ffffff; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    background-image: url('../images/wallpaper.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* --- Header & Navigation --- */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px;
}

.logo-container .logo {
    height: 100px;
    width: auto;
    max-width: 100%;
    /* Kode untuk menyamarkan background */
    background-color: transparent;
    mix-blend-mode: darken; /* Efek baru untuk menyamarkan area putih */
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.1)); /* Tambahkan sedikit bayangan agar menonjol */

}.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.navbar a {
    text-decoration: none;
    color: #004d80;
    margin: 5px 15px;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.3s ease-in-out;
    white-space: nowrap;
}

.navbar a:hover {
    color: #007bff;
}

/* --- Halaman Beranda --- */
.main-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(0, 50, 100, 0.568); 
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.general-description-home {
    text-align: center;
}

.general-description-home h1,
.general-description-home h2,
.general-description-home p {
    color: #ffffff;
}

.general-description-home .btn {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.general-description-home .btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px; 
    padding: 0 20px;
}

/* --- Halaman Tentang Kami --- */
.general-description-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px; /* Tambahkan padding agar ada ruang di dalam kotak */
    background-color: rgba(0, 50, 100, 0.6); /* Latar belakang transparan */
    border-radius: 12px; /* Sudut melengkung */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Bayangan untuk efek 3D */
    text-align: center;
}

.general-description-full h2 {
    font-size: 2em; /* Ukuran font lebih kecil */
    font-weight: 700;
    margin-bottom: 15px; /* Jarak lebih kecil */
    text-align: center;
    color: #ffffff;
}

.general-description-full p {
    font-size: 1em; /* Ukuran font lebih kecil */
    line-height: 1.6;
    margin-bottom: 15px; /* Jarak lebih kecil */
    text-align: justify;
}

.contact-info {
    margin: 20px auto 0; /* Jarak dari atas lebih kecil */
    padding: 20px;
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #444;
}

.contact-info h3 {
    color: #004d80;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-info p {
    color: #555;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Jarak antar tombol lebih kecil */
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 350px;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.contact-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

.contact-button.whatsapp {
    background-color: #25D366;
}

.contact-button.website {
    background-color: #007bff;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* --- Halaman Pengiriman Ikan --- */
.header-komoditas {
    text-align: center;
    margin-bottom: 50px;
}

.header-komoditas h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.header-komoditas h2 {
    font-size: 1.2em;
    font-weight: 400;
    color: #f0f0f0;
}

.main-menu-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.menu-item-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    flex-basis: calc(33.333% - 20px); 
    max-width: 300px;
}

.menu-item {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.menu-item-link:hover .menu-item {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.menu-icon {
    font-size: 3.5em;
    color: #007bff;
    margin-bottom: 20px;
}

.menu-item h3 {
    color: #004d80;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.menu-item p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Umum untuk Kartu (Beranda & Pengiriman Ikan) --- */
.card {
    background-color: rgba(255, 255, 255, 0.95); 
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 100%;
    max-width: 250px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

.card h3 {
    color: #004d80;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 600;
}

.card p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-card {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-card:hover {
    background-color: #0056b3;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 25px;
    background-color: #002147;
    color: #ecf0f1;
    margin-top: 40px;
}

/* --- Styling untuk Kontainer Kalkulator --- */
.calculator-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    color: #444;
}

.calculator-container h1 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #004d80;
}

.calculator-container p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* --- Styling untuk Grup Input (Label & Input) --- */
.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #004d80;
}

.input-group select,
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.input-group select:focus,
.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

/* --- Styling untuk Tombol Hitung --- */
#calculate-btn {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#calculate-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

#calculate-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: translateY(0);
}

/* --- Styling untuk Kotak Hasil --- */
.result-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #e9f5ff;
    border: 2px solid #007bff;
    border-radius: 10px;
    color: #004d80;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
}

/* --- Styling Tautan Inline di Beranda --- */
.inline-link {
    color: #ffffff; /* Warna teks putih */
    text-decoration: underline; /* Garis bawah standar */
    font-weight: 600; /* Teks tebal */
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: #007bff; /* Berubah warna saat kursor diarahkan */
}
/* --- Styling untuk Tombol Sosial Media --- */
.contact-button.youtube {
    background-color: #FF0000;
}

.contact-button.instagram {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.contact-button.facebook {
    background-color: #1877F2;
}
/* Pastikan tautan bisa diklik */
.download-link {
    pointer-events: auto !important;
    cursor: pointer !important;
}
.download-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff; /* Biru terang, bisa disesuaikan */
    color: #fff; /* Warna teks putih */
    text-decoration: none; /* Menghilangkan garis bawah */
    border-radius: 50px; /* Membuat sudut melengkung, untuk efek pil */
    font-weight: 600; /* Membuat teks lebih tebal */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-link:hover {
    background-color: #0056b3; /* Warna lebih gelap saat disentuh */
    transform: translateY(-2px); /* Efek tombol terangkat */
}