/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2a7d5a;
    --primary-light: #3a9d6e;
    --secondary-color: #f5f5f5;
    --accent-color: #ff9a3c;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --footer-bg: #1a4d3c;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* ================== LOGO CUSTOM ================== */
/* Styling untuk logo custom di header */
.logo-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    box-shadow: 0 3px 8px rgba(42, 125, 90, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
}

.custom-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-top {
    color: var(--white);
    text-decoration: none;
    background-color: #25D366;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.whatsapp-top:hover {
    background-color: #128C7E;
}

/* Header */
.header {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo dengan ikon custom */
.logo-with-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    padding: 12px 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/gallery/banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 140px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-hero {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-hero:hover {
    background-color: #e6891e;
}

/* About Section */
.about {
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ================== PRODUCTS SECTION ================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-name {
    padding: 20px 20px 10px;
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    min-height: 60px;
}

.product-price {
    padding: 0 20px 20px;
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: auto;
}

/* Categories */
.categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-width: 150px;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-3px);
}

.category-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Opening Hours */
.hours-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.hours-table th, .hours-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.hours-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.hours-table tr:nth-child(even) {
    background-color: var(--secondary-color);
}

.hours-table tr:hover {
    background-color: #e8f5e9;
}

.hours-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact */
.contact {
    background-color: var(--secondary-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    transition: background-color 0.3s;
}

.social-btn:hover {
    background-color: var(--primary-light);
}

/* ================== FOOTER STYLES ================== */
.footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

/* Styling untuk logo custom di footer */
.footer-logo-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 5px;
}

.footer-custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* CSS untuk penyesuaian layout identitas */
/* CSS untuk penyesuaian layout identitas */
.footer-creator {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.4;
}

.footer-creator strong {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 5px;
}

.footer-nim {
    margin-top: 5px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.footer-nim strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Footer yang diperluas */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
}

.footer-logo-with-icon {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-label {
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--white);
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.footer-menu {
    list-style: none;
    margin-bottom: 25px;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--accent-color);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.payment-text {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.payment-icons i {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-icons i:hover {
    opacity: 1;
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-bar-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-with-icon {
        margin-bottom: 10px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo-with-icon {
        flex-direction: column;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-logo-container {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-creator {
        text-align: center;
        margin-top: 8px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .why-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-container {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
}