/* ==========================================
   PENGATURAN WARNA & FONT
   ========================================== */
:root {
    --primary-color: #005f73; /* Biru Air Teal */
    --secondary-color: #4CAF50; /* Hijau Segar */
    --accent-color: #25d366;  /* Hijau WhatsApp */
    --dark-color: #264653;
    --light-color: #f1faee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8fbff;
    color: #333;
}

/* NAVIGASI BERWARNA & MODERN */
/* default (atas halaman) */
header {
    background: rgba(14, 171, 233, 0.9);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 95, 115, 0.1);
    border-bottom: 3px solid var(--primary-color);
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* saat discroll */
header.scrolled {
    background: linear-gradient(135deg, #005F73, #0A9396);
    padding: 5px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Link Navigasi */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li a {
    color: #ffffff  !important; /* Warna Kuning Emas agar terlihat premium */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Agar teks lebih tegas */
}

/* EFEK WARNA SAAT MOUSE MENYENTUH (HOVER) */
.nav-links li a:hover {
    color: #FF3131 !important; /* Berubah jadi Merah Terang */
}

/* Garis bawah merah yang muncul saat hover */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    /* Gradasi dari Merah Gelap ke Merah Terang */
    background: linear-gradient(90deg, #8B0000, #FF0000); 
    transition: width 0.3s ease;
    border-radius: 10px;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Mengatur tampilan logo agar sejajar dengan teks */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800; /* Membuat teks lebih tebal agar terlihat premium */
    font-size: 1.4rem;
    
    /* Mengubah warna teks menjadi kuning */
    color: #ffffff !important; 
    
    /* Memberikan sedikit bayangan agar teks tetap jelas terbaca */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Sedikit membesar saat disentuh mouse */
    color: #FF3131 !important; /* Opsional: Berubah jadi putih saat di-hover */
}

.logo-img {
    height: 45px; /* Sesuaikan tinggi logo */
    width: auto;
    object-fit: contain;
    /* Jika logo asli Anda berwarna gelap, Anda bisa menambahkan filter agar lebih cerah: */
    /* filter: brightness(0) invert(1); */ 
}


/* HERO SECTION */
.hero {
  height: 100vh;
  background: url("images/Background.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-text {
  position: relative;
  z-index: 1;
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* TOMBOL WHATSAPP */
.btn-whatsapp {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    background: #1eb954;
}

/* BLOG STYLING ===================================*/
/* --- BACKGROUND HALAMAN BAWAH LAUT --- */
.ocean-page {
    /* Gradasi Biru Laut dengan Gambar Pemandangan Dasar Laut */
    background: linear-gradient(rgba(2, 62, 138, 0.6), rgba(0, 119, 182, 0.7)), 
                url('images/Background\ Laut.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Background tetap diam saat scroll */
    min-height: 100vh;
    margin: 0;
}

.blog-section {
    padding: 120px 0 60px;
}

.section-title {
    text-align: center;
    color: #ffffff !important;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    font-size: 2.8rem;
}

/* --- KARTU BLOG INTERAKTIF --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.95); /* Putih bersih transparan */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatEffect 6s ease-in-out infinite; /* Efek mengapung */
}

/* Efek Hover: Mengangkat, Glow Biru, dan Perubahan Warna */
.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 180, 216, 0.5);
}

.blog-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.1); /* Zoom gambar saat hover */
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF3131;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin: 10px 0;
    color: #005F73;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: #FF3131; /* Judul berubah merah saat hover */
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #FF3131;
    text-decoration: none;
    font-weight: bold;
}

.read-more i {
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more i {
    transform: translateX(8px); /* Panah bergeser saat hover */
}

/* Animasi Mengapung (Floating) */
@keyframes floatEffect {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}






/* PENGATURAN NAVIGASI KHUSUS PONSEL (TEXT ONLY) */
@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Logo di atas, menu di bawah */
        padding: 10px 5px;
    }

    .logo {
        font-size: 1.2rem; /* Mengecilkan ukuran nama toko */
        margin-bottom: 10px;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap; /* Agar menu otomatis turun ke baris baru jika tidak muat */
        justify-content: center;
        gap: 8px; /* Jarak antar menu kecil agar tidak boros tempat */
        padding: 0;
        width: 100%;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        font-size: 0.85rem; /* Ukuran teks lebih kecil supaya muat banyak */
        padding: 5px 8px;
        color: #FFD700 !important; /* Tetap kuning sesuai keinginan Anda */
        white-space: nowrap; /* Mencegah satu kata terpotong ke bawah */
    }

    /* Khusus tombol WA di navigasi agar lebih ramping */
    .btn-wa-nav {
        font-size: 0.8rem !important;
        padding: 4px 10px !important;
        background: #25d366;
        border-radius: 4px;
        color: white !important;
    }
}



/* TENTANG KAMI */
.feature-section {
    max-width: 1100px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px;
    flex-wrap: wrap;
}

.feature-image { flex: 1; min-width: 300px; }
.feature-image img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-content { flex: 1; min-width: 300px; }
.feature-content h2 { color: var(--primary-color); font-size: 2rem; margin-bottom: 20px; }
.feature-content p { margin-bottom: 15px; line-height: 1.8; color: #555; }

/* Animasi Denyut (Pulse) */
.btn-pulse {
    position: relative;
    animation: pulse-blue 2s infinite; /* Menggunakan durasi 2 detik secara terus-menerus */
    box-shadow: 0 0 0 0 rgba(0, 95, 115, 0.7); /* Warna awal mengikuti --primary-color */
    border: none;
    transition: transform 0.2s ease;
}

.btn-pulse:hover {
    transform: scale(1.05); /* Sedikit membesar saat kursor di atasnya */
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 95, 115, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(0, 95, 115, 0); /* Bayangan melebar dan memudar */
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 95, 115, 0);
    }
}

/* Jika ingin tombol warna hijau WhatsApp yang berdenyut */
.btn-cta-wa.btn-pulse {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}/* Jika ingin tombol warna hijau WhatsApp yang berdenyut */
.btn-cta-wa.btn-pulse {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}/* Jika ingin tombol warna hijau WhatsApp yang berdenyut */
.btn-cta-wa.btn-pulse {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* KEUNGGULAN */
.why-us-section { padding: 80px 20px; background: #eef7f9; text-align: center; }
.why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 40px auto 0; }
.why-card { background: white; padding: 40px 25px; border-radius: 15px; transition: 0.3s; border-bottom: 5px solid var(--secondary-color); }
.why-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.icon-check { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 20px; }

/* KATALOG */
.services-section { padding: 80px 20px; text-align: center; }
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; }
.service-card { width: 350px; background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: left; }
.card-image { height: 200px; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-icon { position: absolute; bottom: -25px; left: 20px; background: var(--primary-color); color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid white; }
.card-body { padding: 40px 20px 25px; }
.btn-service-wa { display: block; background: #ffd700; color: #333; text-align: center; padding: 10px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 20px; }

/* Efek Hover pada Kartu Katalog */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek membal yang halus */
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02); /* Kartu naik ke atas dan sedikit membesar */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Bayangan jadi lebih tebal */
    border-color: var(--primary-color);
}

/* Efek pada Gambar di dalam Kartu */
.card-image img {
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1); /* Gambar ikan sedikit nge-zoom */
}

/* Efek pada Icon Bulat */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color); /* Berubah warna saat kartu di-hover */
    transform: rotate(360deg); /* Ikon berputar sekali */
}

/* Efek pada Tombol Tanya Harga */
.btn-service-wa {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-service-wa:hover {
    background-color: var(--accent-color) !important; /* Hijau WhatsApp */
    color: white !important;
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* HARGA */
.price-section { padding: 80px 20px; text-align: center; background: white; }
.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.price-card { background: #f9f9f9; padding: 30px; border-radius: 15px; width: 300px; border-top: 5px solid var(--primary-color); }
.price { font-size: 1.5rem; font-weight: bold; color: var(--secondary-color); margin: 15px 0; }

/* KONSULTASI & CTA - PERBAIKAN */
.not-found-section {
    padding: 80px 20px;
    background-color: #e3f2fd;
    text-align: center;
}

.btn-consult {
    display: inline-block;
    background-color: var(--primary-color); /* Perbaikan variabel */
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

/* CTA SECTION */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(2, 62, 138, 0.9), rgba(2, 62, 138, 0.9)), 
                url('https://images.unsplash.com/photo-1524704654690-b56c05c78a00?q=80&w=1000') center/cover;
    text-align: center;
    color: white;
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-color);
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

/* Pastikan elemen awal tersembunyi */
.animate-up, .animate-left, .animate-right, .animate-bottom, .slide-up {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-out;
}

.animate-up, .slide-up { transform: translateY(50px); }
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }
.animate-bottom { transform: translateY(-50px); }

/* Class untuk memunculkan elemen */
.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(0, 0) !important;
}



/* TESTIMONIAL SECTION */
.testimonial-section {
    padding: 80px 20px;
    background-color: var(--light-color);
    text-align: center;
}

.section-subtitle {
    margin-bottom: 40px;
    color: #666;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid transparent;
}

/* Efek Hover Mouse */
.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 95, 115, 0.15);
}

.testi-rating {
    color: #ffd700; /* Warna Bintang Emas */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testi-text {
    font-style: italic;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testi-user h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testi-user span {
    font-size: 0.85rem;
    color: #888;
}

/* Hiasan Tanda Kutip */
.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 80px;
    color: rgba(0, 95, 115, 0.05);
    font-family: serif;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 10px;
    scrollbar-width: none; /* Sembunyikan scrollbar */
}

.testimonial-container::-webkit-scrollbar { display: none; }

.testimonial-card {
    min-width: calc(33.333% - 14px); /* Tampil 3 kartu di desktop */
    background: white;
    padding: 30px;
    border-radius: 15px;
    scroll-snap-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
    transition: 0.3s;
}

.testimonial-card:hover { transform: translateY(-5px); border: 1px solid var(--primary-color); }

@media (max-width: 992px) { .testimonial-card { min-width: calc(50% - 10px); } } /* 2 kartu di tablet */
@media (max-width: 600px) { .testimonial-card { min-width: 100%; } } /* 1 kartu di HP */

.slide-btn {
    background: var(--primary-color);
    color: white; border: none;
    width: 45px; height: 45px;
    border-radius: 50%; cursor: pointer;
    transition: 0.3s; flex-shrink: 0;
}
.slide-btn:hover { background: var(--secondary-color); }

/* MAPS */
.maps-section { padding: 80px 20px; text-align: center; background: #f4f4f4; }
.maps-container { max-width: 900px; margin: 0 auto; background: white; padding: 20px; border-radius: 20px; }
.maps-container iframe { width: 100%; height: 400px; border-radius: 15px; border: none; }



/* FOOTER */
.main-footer { background: #1a3a44; color: white; padding: 60px 20px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-section h3 { color: #ffd700; margin-bottom: 20px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; color: #ccc; }
.copyright-bar { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; font-size: 0.9rem; color: #888; }

/* WA FLOAT */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: var(--accent-color); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-decoration: none; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* ANIMASI DASAR */
.animate-up, .animate-left, .animate-right, .animate-bottom { opacity: 0; transition: 1s all ease; }
.animate-up { transform: translateY(40px); }
.animate-left { transform: translateX(-40px); }
.animate-right { transform: translateX(40px); }
.animate-bottom { transform: translateY(40px); }

.show { opacity: 1; transform: translate(0, 0); }
