/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: #333; background: #f8f8f8; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-full { width: 100%; }
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; text-align: center; color: #222; letter-spacing: -0.03em; }
.section-desc { text-align: center; color: #666; margin-bottom: 60px; font-size: 1.1rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* --- NAVBAR --- */
.navbar { background: #fff; box-shadow: 0 2px 12px rgba(44,62,80,0.06); position: sticky; top: 0; z-index: 100; }
.nav-flex { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 90px; }
#nav-list { display: flex; align-items: center; gap: 24px; list-style: none; }
#nav-list li { position: relative; }
#nav-list li a { font-size: 1.05rem; font-weight: 500; color: #232946; padding: 8px 12px; transition: color 0.2s; }
#nav-list li a:hover { color: #0057b8; }
.tombol-menu { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: 24px; }
.tombol-menu .garis { width: 28px; height: 3px; background: #232946; border-radius: 2px; }
.tombol-login { background: #0057b8; color: #fff !important; padding: 8px 22px; border-radius: 6px; font-weight: 600; margin-left: 18px; transition: background 0.2s; }
.tombol-login:hover { background: #003e7e; }
.login-mobile { display: none; }
.login-desktop { display: inline-block; }

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 10px);
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(44,62,80,0.12);
    border-radius: 12px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease, visibility 0.3s;
    border: 1px solid #e0e7ef;
}
.dropdown.open .dropdown-content, .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}
.dropdown-content li { width: 100%; }
.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    color: #232946;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
    background: #f0f4fa;
    color: #0057b8;
    padding-left: 25px;
}

.dropdown.open > a .fa-caret-down {
    transform: rotate(180deg);
}
.dropdown > a .fa-caret-down {
    transition: transform 0.3s ease;
}

/* --- HERO --- */

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .layanan-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .inovasi-grid { grid-template-columns: repeat(2, 1fr); } /* Adjusted for 2 columns on larger tablets */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-flex { height: 60px; }
  .tombol-menu { display: flex; z-index: 210; position: relative; }
  #nav-list { position: fixed; top: -100vh; left: 0; width: 100vw; height: auto; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 80px 0 20px 0; box-shadow: 0 2px 16px rgba(44,62,80,0.10); transition: top 0.4s ease-in-out; z-index: 200; }
  #nav-list.active { top: 0; }
  #nav-list li { width: 100%; border-bottom: 1px solid #f0f0f0; }
  #nav-list li a { display: block; width: 100%; padding: 16px 28px; font-size: 1.1rem; }
  .login-desktop { display: none; }
  .login-mobile { display: block; margin: 18px 0 0 0; }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #f7f7fa;
    transform: none; /* Reset transform for mobile */
    top: auto; /* Reset top for mobile */
    left: auto; /* Reset left for mobile */
    min-width: auto; /* Reset min-width for mobile */
    padding-left: 20px; /* Add some left padding for nested items */
  }
  .dropdown.open .dropdown-content { display: block; }
  .dropdown-content li a { padding: 12px 32px; }
  .layanan-grid, .inovasi-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-section { height: 320px; }
  .section { padding: 36px 0 24px 0; }
  .berita-card { flex-direction: column; }
  .berita-card-thumb { width: 100%; height: 180px; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px 0 18px 0; }
  .footer-social { justify-content: flex-start; margin-top: 12px; }
}
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .section-title { font-size: 1.3rem; }
  .hero-content h1 { font-size: 1.4rem; }
  .layanan-card { padding: 18px 8px 16px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; padding: 18px 0 8px 0; }
  .footer-social { justify-content: flex-start; margin-top: 8px; }
  .footer-social-link { font-size: 1.5rem; }
}

/* --- HERO --- */
.hero-section {
    position: relative;
    height: 600px; /* Increased height for more impact */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('asset/banner-hero.jpg'); /* Darker overlay */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff; /* Ensure text is white */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Add text shadow for readability */
}
.hero-overlay { display: none; } /* Remove separate overlay as it's in background gradient */
.hero-content { position: relative; z-index: 3; text-align: center; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 4.5rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.05em; line-height: 1.1; }
.hero-content p { font-size: 1.6rem; margin-bottom: 40px; opacity: 0.9; }
.hero-cta { display: none; } /* Ensure CTA is hidden */

/* --- LAYANAN/PAKET --- */
.layanan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 32px; }
.layanan-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(44,62,80,0.10); padding: 32px 18px 28px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: box-shadow 0.2s, transform 0.2s; }
.layanan-card:hover { box-shadow: 0 8px 32px rgba(44,62,80,0.16); transform: translateY(-4px) scale(1.03); }
.layanan-icon { font-size: 2.8rem; color: #0057b8; margin-bottom: 18px; }
.layanan-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.layanan-card p { font-size: 1rem; color: #555; margin-bottom: 18px; }
.layanan-btn { background: #0057b8; color: #fff; padding: 8px 20px; border-radius: 6px; font-weight: 600; font-size: 1rem; transition: background 0.2s; }
.layanan-btn:hover { background: #003e7e; }

/* --- GALLERY --- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid div { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(44,62,80,0.08); }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; }

/* --- QUOTE --- */
.quote {
    background: linear-gradient(135deg, #343a40, #212529); /* Darker, luxurious gradient */
    color: #f8f9fa; /* Light text for contrast */
    font-size: 1.8rem; /* Larger font size */
    font-weight: 500;
    text-align: center;
    border-radius: 15px; /* Slightly more rounded corners */
    margin: 80px auto; /* More vertical spacing and center alignment */
    padding: 60px 40px; /* Increased padding */
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); /* More prominent shadow */
    max-width: 900px; /* Constrain width for better readability */
    position: relative;
    overflow: hidden;
    font-style: italic; /* Italicize quote */
    line-height: 1.4;
}
.quote::before, .quote::after {
    content: '\201C'; /* Opening quote mark */
    font-size: 8rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1;
}
.quote::after {
    content: '\201D'; /* Closing quote mark */
    top: auto;
    bottom: -30px;
    right: 20px;
    left: auto;
}
.quote p {
    position: relative;
    z-index: 2;
    margin: 0;
}

/* --- INOVASI --- */
.inovasi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed to 4 columns */
    gap: 40px; /* Increased gap */
    margin-top: 60px;
}
.inovasi-card {
    background: #fff;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer, more pronounced shadow */
    overflow: hidden;
    transition: all 0.4s ease-in-out; /* Smoother transition */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
}
.inovasi-card:hover {
    transform: translateY(-10px) scale(1.02); /* More pronounced hover */
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}
.inovasi-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.inovasi-img {
    width: 100%;
    height: 220px; /* Increased image height */
    object-fit: cover;
    border-bottom: none; /* Remove border */
    transition: transform 0.4s ease-in-out;
}
.inovasi-card:hover .inovasi-img {
    transform: scale(1.05);
}
.inovasi-info {
    padding: 25px; /* Increased padding */
    text-align: left; /* Align text to left */
    flex-grow: 1; /* Allow info section to grow */
}
.inovasi-info h6 {
    font-size: 1.4rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
    line-height: 1.3;
}
.inovasi-info span {
    font-size: 0.95rem;
    color: #777;
    display: block; /* Ensure span takes full width */
    margin-top: 5px;
}
.inovasi-empty {
    width: 100%;
    text-align: center;
    color: #888;
    padding: 50px 0;
    font-size: 1.2rem;
}

/* --- PRODUK UMKM --- */
.produk-umkm-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.produk-umkm-grid .produk-card {
    max-width: 45%; /* Adjust as needed for spacing */
    flex-basis: 45%;
}

@media (max-width: 900px) {
    .produk-umkm-grid {
        flex-direction: column;
        align-items: center;
    }
    .produk-umkm-grid .produk-card {
        max-width: 80%;
        flex-basis: 80%;
    }
}

@media (max-width: 600px) {
    .produk-umkm-grid .produk-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* --- PRODUK UMKM --- */
.produk-umkm-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.produk-umkm-grid .produk-card {
    max-width: 45%; /* Adjust as needed for spacing */
    flex-basis: 45%;
}

@media (max-width: 900px) {
    .produk-umkm-grid {
        flex-direction: column;
        align-items: center;
    }
    .produk-umkm-grid .produk-card {
        max-width: 80%;
        flex-basis: 80%;
    }
}

@media (max-width: 600px) {
    .produk-umkm-grid .produk-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* --- PRODUK UMKM --- */
.produk-umkm-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.produk-umkm-grid .produk-card {
    max-width: 45%; /* Adjust as needed for spacing */
    flex-basis: 45%;
}

@media (max-width: 900px) {
    .produk-umkm-grid {
        flex-direction: column;
        align-items: center;
    }
    .produk-umkm-grid .produk-card {
        max-width: 80%;
        flex-basis: 80%;
    }
}

@media (max-width: 600px) {
    .produk-umkm-grid .produk-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* --- PRODUK UMKM --- */
.produk-umkm-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.produk-umkm-grid .produk-card {
    max-width: 45%; /* Adjust as needed for spacing */
    flex-basis: 45%;
}

@media (max-width: 900px) {
    .produk-umkm-grid {
        flex-direction: column;
        align-items: center;
    }
    .produk-umkm-grid .produk-card {
        max-width: 80%;
        flex-basis: 80%;
    }
}

@media (max-width: 600px) {
    .produk-umkm-grid .produk-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* --- PRODUK UMKM --- */
.produk-umkm-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.produk-umkm-grid .produk-card {
    max-width: 45%; /* Adjust as needed for spacing */
    flex-basis: 45%;
}

@media (max-width: 900px) {
    .produk-umkm-grid {
        flex-direction: column;
        align-items: center;
    }
    .produk-umkm-grid .produk-card {
        max-width: 80%;
        flex-basis: 80%;
    }
}

@media (max-width: 600px) {
    .produk-umkm-grid .produk-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* --- PRODUK UMKM --- */
.produk-umkm-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.produk-umkm-grid .produk-card {
    max-width: 45%; /* Adjust as needed for spacing */
    flex-basis: 45%;
}

@media (max-width: 900px) {
    .produk-umkm-grid {
        flex-direction: column;
        align-items: center;
    }
    .produk-umkm-grid .produk-card {
        max-width: 80%;
        flex-basis: 80%;
    }
}

@media (max-width: 600px) {
    .produk-umkm-grid .produk-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* --- BERITA SECTION --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Flexible columns */
    gap: 40px; /* Increased gap */
    margin-top: 60px;
}

.berita-card {
    background: #fff;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer, more pronounced shadow */
    overflow: hidden;
    transition: all 0.4s ease-in-out; /* Smoother transition */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    height: 100%;
}

.berita-card:hover {
    transform: translateY(-10px) scale(1.02); /* More pronounced hover */
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.berita-card-thumb {
    width: 100%;
    height: 220px; /* Increased image height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-bottom: 1px solid #eee; /* Subtle separator */
}

.berita-card-body {
    padding: 25px; /* Increased padding */
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between; /* Distribute space */
    flex-grow: 1;
}

.berita-card-body h4 {
    font-size: 1.4rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 5px;
    color: #222;
    line-height: 1.3;
}

.berita-card-body h4 a {
    transition: color 0.3s ease;
}

.berita-card-body h4 a:hover {
    color: #007bff; /* Highlight on hover */
}

.berita-card-body .berita-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.berita-card-body p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #007bff; /* Blue for read more */
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
    transform: translateX(5px); /* Subtle movement */
}

/* --- FOOTER --- */
footer {
  background: #0077b6; /* Darker background */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.15); /* More prominent shadow */
  padding: 60px 0 30px 0; /* Increased padding */
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
  gap: 40px; /* Increased gap */
  max-width: 1200px;
  margin: 0 auto;
  color: #f8f8f8;
}
.footer-grid h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 0.5px;
  position: relative;
}
.footer-grid h5::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff; /* Accent color */
    margin-top: 10px;
}
.footer-grid p {
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-grid a { color: #ccc; transition: color 0.2s; }
.footer-grid a:hover { color: #007bff; }
.footer-grid iframe { border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: none; }
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;
  align-items: center;
}
.footer-social-link {
  font-size: 1.8rem;
  color: #fff;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1); /* Subtle background for icons */
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.footer-social-link:hover {
  color: #007bff;
  transform: translateY(-3px) scale(1.1);
  background: rgba(0,123,255,0.2);
}
.footer-bottom {
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    padding: 20px 0 0 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .layanan-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .inovasi-grid { grid-template-columns: repeat(2, 1fr); } /* Adjusted for 2 columns on larger tablets */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-flex { height: 60px; }
  .tombol-menu { display: flex; z-index: 210; position: relative; }
  #nav-list { position: fixed; top: -100vh; left: 0; width: 100vw; height: auto; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 80px 0 20px 0; box-shadow: 0 2px 16px rgba(44,62,80,0.10); transition: top 0.4s ease-in-out; z-index: 200; }
  #nav-list.show { top: 0; }
  #nav-list li { width: 100%; border-bottom: 1px solid #f0f0f0; }
  #nav-list li a { display: block; width: 100%; padding: 16px 28px; font-size: 1.1rem; }
  .login-desktop { display: none; }
  .login-mobile { display: block; margin: 18px 0 0 0; }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #f7f7fa;
    transform: none; /* Reset transform for mobile */
    top: auto; /* Reset top for mobile */
    left: auto; /* Reset left for mobile */
    min-width: auto; /* Reset min-width for mobile */
    padding-left: 20px; /* Add some left padding for nested items */
  }
  .dropdown.open .dropdown-content { display: block; }
  .dropdown-content li a { padding: 12px 32px; }
  .layanan-grid, .inovasi-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-section { height: 320px; }
  .section { padding: 36px 0 24px 0; }
  .berita-card { flex-direction: column; }
  .berita-card-thumb { width: 100%; height: 180px; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px 18px; }
  .footer-social { justify-content: flex-start; margin-top: 12px; }
}
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .section-title { font-size: 1.3rem; }
  .hero-content h1 { font-size: 1.4rem; }
  .layanan-card { padding: 18px 8px 16px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; padding: 18px 0 8px 0; }
  .footer-social { justify-content: flex-start; margin-top: 8px; }
  .footer-social-link { font-size: 1.5rem; }
}

/* --- HAMBURGER & CLOSE BUTTON FOR MOBILE MENU --- */
.tombol-menu .garis {
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}
.tombol-menu.is-active .garis:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.tombol-menu.is-active .garis:nth-child(2) {
    opacity: 0;
}
.tombol-menu.is-active .garis:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.nav-close-mobile, #close-mobile-menu {
    display: none !important;
}
@media (min-width: 901px) {
  .tombol-menu.is-active {
    display: none;
  }
}

/* --- ADMIN GALERI GRID --- */
.galeri-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.galeri-grid-admin img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  margin-bottom: 0;
  background: #fff;
}
@media (max-width: 600px) {
  .galeri-grid-admin {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .galeri-grid-admin img { height: 110px; }
}

/* Admin Dashboard Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

.admin-sidebar {
    width: 250px;
    background: #1e3a8a;
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.admin-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-sidebar h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #eebbc3;
    font-size: 1.5em;
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-menu li {
    margin-bottom: 5px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(255,255,255,0.1);
    border-left-color: #e85d04;
}

.admin-menu i {
    margin-right: 10px;
    width: 20px;
}

.admin-logout {
    margin-top: 30px;
    padding: 0 20px;
}

.admin-logout a {
    display: flex;
    align-items: center;
    color: #eebbc3;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.admin-logout a:hover {
    color: white;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card h2 {
    margin-bottom: 20px;
    color: #1e3a8a;
    font-size: 1.8em;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1e3a8a;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.admin-table .aksi a {
    color: #1e3a8a;
    text-decoration: none;
    margin-right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.admin-table .aksi a:hover {
    background: #e3f2fd;
}

.btn-tambah {
    display: inline-block;
    background: #e85d04;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

.btn-tambah:hover {
    background: #d14500;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 5px;
}

input[type="text"],
input[type="file"],
textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

input[type="file"] {
    padding: 8px;
}

button[type="submit"] {
    background: #e85d04;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    align-self: flex-start;
}

button[type="submit"]:hover {
    background: #d14500;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #1e3a8a;
        font-size: 24px;
        cursor: pointer;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 32px;
}

.contact-info {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    border: 1.5px solid #e0e7ef;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fca311, #e85d04);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4fa 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e7ef;
    position: relative;
}

.contact-item:hover {
    background: linear-gradient(135deg, #e0e7ef 0%, #d0d8e8 100%);
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(44,62,80,0.15);
    border-color: #fca311;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.6rem;
    color: #fca311;
    margin-right: 18px;
    margin-top: 4px;
    min-width: 28px;
    text-align: center;
    background: rgba(252, 163, 17, 0.1);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: rgba(252, 163, 17, 0.2);
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #232946;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.contact-form {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    border: 1.5px solid #e0e7ef;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fca311, #e85d04);
}

.contact-form h3 {
    color: #232946;
    margin-bottom: 28px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #232946;
    margin-bottom: 10px;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #b8c1ec;
    border-radius: 10px;
    font-size: 1rem;
    background: #f5f6fa;
    transition: all 0.3s ease;
    color: #232946;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fca311;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(252, 163, 17, 0.15);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #fca311 0%, #e85d04 100%);
    color: #232946;
    border: none;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #e85d04 0%, #d1451e 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.4);
}

.btn-submit:hover::before {
    left: 100%;
}

.map-container {
    margin-top: 32px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    border: 1.5px solid #e0e7ef;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fca311, #e85d04);
    z-index: 1;
}

.map-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Footer Improvements */
.footer-bottom {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
}

/* Message Styles */
.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Status Styles for Contact Messages */
.status-unread {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-read {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-replied {
    background: #27ae60;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Responsive for Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }
}

/* Gallery Page Styles */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(44,62,80,0.15);
}

.gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    padding: 24px;
    color: #fff;
    width: 100%;
}

.gallery-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gallery-info p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.gallery-info .detail-hint {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-info .detail-hint::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info .detail-hint::after {
    transform: translateX(5px);
}

/* Info Grid for Gallery Page */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.info-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1.5px solid #e0e7ef;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(44,62,80,0.12);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fca311 0%, #e85d04 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(252, 163, 17, 0.3);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #232946;
    margin-bottom: 12px;
}

.info-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

    .gallery-image {
        height: 220px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-card {
        padding: 24px 20px;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-image {
        height: 200px;
    }

    .gallery-info {
        padding: 16px;
    }

    .gallery-info h3 {
        font-size: 1.1rem;
    }

    .gallery-info p {
        font-size: 0.9rem;
    }
}

/* --- GALLERY PREVIEW --- */
.gallery-preview {
    margin-top: 60px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-bottom: 60px;
}

.preview-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow */
    transition: all 0.4s ease-in-out;
    height: 280px; /* Consistent height */
    cursor: pointer;
}

.preview-item:hover {
    transform: translateY(-10px) scale(1.02); /* More pronounced hover */
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.preview-item:hover img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* Gradient overlay */
    color: #fff;
    padding: 30px 25px;
    transform: translateY(0); /* Always visible overlay */
    transition: background 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
}

.preview-item:hover .preview-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.preview-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.preview-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.5;
}

.preview-cta {
    text-align: center;
}

.btn-gallery {
    background: linear-gradient(45deg, #007bff, #0056b3); /* Blue gradient */
    color: #fff; /* White text */
    padding: 15px 40px;
    border-radius: 50px; /* Pill shape */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0,123,255,0.2);
}

.btn-gallery:hover {
    background: linear-gradient(45deg, #0056b3, #003f7f);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,123,255,0.3);
}

/* Responsive Preview */
@media (max-width: 900px) {
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .preview-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .preview-item {
        height: 160px;
    }

    .preview-overlay {
        padding: 16px;
    }

    .preview-overlay h3 {
        font-size: 1rem;
    }

    .preview-overlay p {
        font-size: 0.8rem;
    }
}

/* --- LOGIN PAGE --- */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.12);
    text-align: center;
}

.login-container h2 {
    color: #232946;
    margin-bottom: 32px;
    font-size: 1.8rem;
    font-weight: 700;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.login-container input {
    padding: 12px 16px;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.login-container input:focus {
    outline: none;
    border-color: #0057b8;
}

.login-container button {
    background: #0057b8;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-container button:hover {
    background: #003e7e;
}

.back-to-website {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e0e7ef;
}

.back-to-website a {
    color: #0057b8;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-website a:hover {
    color: #003e7e;
    text-decoration: underline;
}

/* --- PRODUK PAGE --- */
.produk-hero {
    background: linear-gradient(rgba(44,62,80,0.6), rgba(44,62,80,0.6)), url('asset/IMG_7487.JPG');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produk-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.produk-grid .produk-card {
    flex: 0 0 calc(50% - 10px); /* Two columns with gap */
    max-width: calc(50% - 10px);
}

@media (max-width: 900px) {
    .produk-grid .produk-card {
        flex: 0 0 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
}

.produk-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.produk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44,62,80,0.12);
    border-color: #0057b8;
}

.produk-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.produk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.produk-content {
    padding: 14px;
}

.produk-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #232946;
    margin-bottom: 6px;
    line-height: 1.2;
}

.produk-deskripsi {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.produk-harga {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0057b8;
    margin-bottom: 12px;
}

.produk-actions {
    display: flex;
    gap: 6px;
}

.produk-actions .btn-primary {
    background: #25d366;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.produk-actions .btn-primary:hover {
    background: #128c7e;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}

    .produk-actions .btn-primary i {
    font-size: 0.9rem;
}

/* Minimalist Back to Home Button */
.btn-back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #0057b8; /* Primary blue color */
    background-color: transparent;
    border: 2px solid #0057b8; /* Outline style */
    border-radius: 8px; /* Slightly rounded corners */
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 87, 184, 0.1); /* Subtle shadow */
}

.btn-back-home:hover {
    color: #fff;
    background-color: #0057b8; /* Fill on hover */
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.3); /* More pronounced shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.btn-back-home i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.no-produk {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-produk i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-produk h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #666;
}

.no-produk p {
    font-size: 1rem;
    color: #999;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #232946;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-content .tombol {
    background: #0057b8;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-content .tombol:hover {
    background: #003e7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.3);
}

/* Footer styles for produk page */
.footer {
    background: #232946;
    color: #fff;
    padding: 48px 0 24px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #00aaff;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0057b8;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #003e7e;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive design for produk page */
@media (max-width: 900px) {
    .produk-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .produk-hero {
        height: 280px;
    }

    .produk-content {
        padding: 14px;
    }

    .produk-image {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .produk-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .produk-hero {
        height: 220px;
    }

    .produk-content {
        padding: 12px;
    }

    .produk-image {
        height: 140px;
    }

    .produk-content h3 {
        font-size: 1rem;
    }

    .produk-harga {
        font-size: 1.1rem;
    }

    .produk-deskripsi {
        font-size: 0.85rem;
    }

    .produk-actions .btn-primary {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .produk-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .produk-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Detail Produk Page */
.detail-produk-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.detail-produk-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.detail-produk-image {
    height: 500px;
    overflow: hidden;
}

.detail-produk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-produk-info {
    padding: 40px;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0057b8;
}

.detail-produk-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.produk-harga-detail {
    margin-bottom: 30px;
}

.produk-harga-detail .harga {
    font-size: 2rem;
    font-weight: 700;
    color: #0057b8;
    background: linear-gradient(135deg, #0057b8, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.produk-deskripsi-detail {
    margin-bottom: 40px;
}

.produk-deskripsi-detail h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
}

.produk-deskripsi-detail p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.produk-actions-detail {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive Design untuk Detail Produk */
@media (max-width: 900px) {
    .detail-produk-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .detail-produk-image {
        height: 300px;
    }

    .detail-produk-info {
        padding: 30px;
    }

    .detail-produk-info h1 {
        font-size: 2rem;
    }

    .produk-harga-detail .harga {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .detail-produk-section {
        padding: 60px 0;
    }

    .detail-produk-content {
        margin: 0 16px;
        border-radius: 12px;
    }

    .detail-produk-image {
        height: 250px;
    }

    .detail-produk-info {
        padding: 24px;
    }

    .detail-produk-info h1 {
        font-size: 1.8rem;
    }

    .produk-actions-detail {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-secondary {
        justify-content: center;
    }
}

/* Inovasi Card Hover Effects */
.inovasi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44,62,80,0.15);
}

.inovasi-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive for Detail Inovasi */
@media (max-width: 768px) {
    .detail-inovasi-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .detail-inovasi h1 {
        font-size: 2rem !important;
    }

    .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .breadcrumb span {
        margin: 0 5px;
    }
}