/* --- Global Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9fbf9;
}

/* --- Navbar --- */
nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-group h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff5e5e;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                      url('assets/Images/bannerhero\ home.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 5px;
    max-width: 850px;
    text-align: center;
    display: flex;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-top-text {

    font-size: 2.5rem;
    letter-spacing: 5px;
    font-weight: 700;
    margin: 0;

}



.hero-middle {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -10px 0;

}



.hero-middle .line {

    width: 30px;
    height: 3px;
    background-color: #ff5e5e; /* Garis merah */

}



.hero-middle .with-text {

    font-style: italic;
    font-size: 1.5rem;

}



.hero-main-title {

    font-size: 4rem !important;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0 !important;

}



.hero-bottom-text {

    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
}



.hero-description {

    font-size: 1rem !important;
    margin-bottom: 30px !important;
    font-weight: 300;

}
.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    margin: 10px 0;
}

.hero-btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-red { background-color: #ff5e5e; color: white; }
.btn-white { background-color: #d1d8e0; color: #2f3542; }

/* --- Sections & Cards --- */
.section {
    padding: 80px 10%;
    text-align: center;
}

.bg-light {
    background-color: #f1f5f1 !important;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* FIXED: Synchronized Top Images */
.img-card {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* FIXED: Smaller Bottom Product Images */
.img-product {
    width: 60%;
    max-width: 160px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
}

/* --- Footer Styling --- */
footer {
    background-color: #000 !important; /* Forces black background */
    color: white;
    padding: 40px 5%;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.social-icon {
    color: white;
    font-size: 24px;
    margin-left: 20px;
    transition: 0.3s;
}

.social-icon:hover {
    color: #82A039;
    transform: translateY(-5px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-main-title { font-size: 2.5rem; }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
/* Tentang Kami */
.hero-sub {
    height: 40vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                      url('assets/Images/bannerhero\ home.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-sub-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* --- History Section Layout --- */
.container-history {
    max-width: 1200px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    text-align: left;
}

.history-item.reverse {
    flex-direction: row-reverse;
}

.history-text {
    flex: 1;
}

.history-text h2 {
    font-size: 2.5rem;
    color: #4A5D23;
    margin-bottom: 20px;
}

.history-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.history-image {
    flex: 1;
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background-color: #e0e0e0; /* Warna dasar placeholder */
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Visi Misi Specific --- */
.vismis-header {
    margin-bottom: 50px;
}

.vismis-header h2 {
    font-size: 2.5rem;
    color: #4A5D23;
}

.line-center {
    width: 80px;
    height: 3px;
    background: #ff5e5e;
    margin: 10px auto;
}

.vismis-card {
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vismis-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #4A5D23;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.misi-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.misi-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #555;
}

.misi-list li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ff5e5e;
}

/* Navbar active link */
.nav-links a.active {
    color: #ff5e5e;
    border-bottom: 2px solid #ff5e5e;
}

/* --- Responsive Tentang Kami --- */
@media (max-width: 768px) {
    .history-item, .history-item.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-sub-content h1 {
        font-size: 2.5rem;
    }
}

/* Hubungi Kami */
/* --- Hubungi Kami Section --- */
.section-contact {
    background-image: linear-gradient(rgba(74, 93, 35, 0.8), rgba(74, 93, 35, 0.8)), 
                      url('assets/Images/bannerhero\ home.jpg'); /* Background organik transparan */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: white;
}

.contact-header p {
    opacity: 0.9;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    text-align: left;
}

/* Sisi Kiri: Info */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card .icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.info-text p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Sisi Kanan: Form (Glassmorphism) */
.contact-form-card {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.input-group {
    margin-bottom: 15px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.input-group input:focus, 
.input-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 94, 94, 0.4);
}

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* --- Responsive Hubungi Kami --- */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        order: 2; /* Info pindah ke bawah form di HP */
    }
    
    .contact-form-card {
        width: 100%;
        order: 1;
    }
}

/* Product */
/* --- Product Page Specific --- */
/* --- Product Filter Tabs --- */
/* --- Horizontal Product List --- */
.product-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-row-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.product-row-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Bagian Kiri: Info */
.product-details {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.badge-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4A5D23;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.product-details h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.product-details p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.variant-list {
    margin-bottom: 25px;
}

.variant-list strong {
    font-size: 0.9rem;
    margin-right: 10px;
}

.variant-list span {
    background: #f1f5f1;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #4A5D23;
    margin-right: 5px;
    border: 1px solid #e0e6e0;
}

/* Bagian Kanan: Foto */
.product-visual {
    flex: 1;
    background: #f9fbf9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-left: 1px solid #f0f0f0;
}

.product-visual img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .product-row-card {
        flex-direction: column; /* Jadi tumpuk atas-bawah di HP */
    }
    
    .product-visual {
        order: -1; /* Foto jadi di atas teks pada mobile */
        border-left: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .product-details {
        padding: 25px;
        text-align: center;
    }
    
    .product-details h3 {
        font-size: 1.4rem;
    }
}

/* Update pada bagian details untuk layout tanpa tombol */
.product-details {
    flex: 1.4;
    padding: 40px 50px; /* Padding lebih luas agar teks bernapas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.product-details p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px; /* Jarak ke varian lebih rapat */
    line-height: 1.6;
}

.variant-list {
    margin-top: 5px;
}

.variant-list span {
    display: inline-block;
    padding: 5px 15px;
    background: #f1f5f1;
    border: 1px solid #dce4dc;
    border-radius: 8px;
    font-size: 13px;
    color: #4A5D23;
    font-weight: 600;
    margin-right: 8px;
}

.product-visual img {
    max-width: 100%;
    max-height: 300px; /* Gambar sedikit lebih besar */
    object-fit: contain;
    filter: drop-shadow(5px 15px 25px rgba(0,0,0,0.08));
}