/* Global Styles */
:root {
    --primary-color: #1a4d2e;
    /* Hijau tua */
    --secondary-color: #b68d40;
    /* Kuning tembaga */
    --light-color: #f5f5f5;
    --dark-color: #333;
    --gray-color: #777;
    --white-color: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Update Header Styles */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

/* Overlay for mobile menu */
.mobile-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Update mobile nav styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 30px;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links a {
        color: var(--white-color);
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }
}

header.scrolled {
    background-color: rgba(26, 77, 46, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

header.scrolled .logo h1,
header.scrolled .logo p,
header.scrolled .nav-links a {
    color: var(--white-color);
}

header.scrolled .hamburger span {
    background-color: var(--white-color);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: -5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;

}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--white-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.slide.active .hero-content {
    transform: translateY(0);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Features Section */
.text-highlight {
    color: red;
    background-color: var(--secondary-color);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
}

.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-box {
    flex: 1;
    min-width: 300px;
    margin: 15px;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--white-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.promo {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    font-style: italic;
}

.description {
    margin-bottom: 20px;
    color: var(--gray-color);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-slider {
    flex: 1;
    min-width: 300px;
    margin-top: 30px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-slide.active {
    opacity: 1;
    position: relative;
}

.about-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.about .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.about .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about .dot.active {
    background-color: var(--secondary-color);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    margin: 10px;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

@media (max-width: 768px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .about-slider {
        width: 100%;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white-color);
}

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

.testimonial-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.quote {
    position: relative;
    margin-bottom: 20px;
}

.quote i {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.quote p {
    font-style: italic;
    color: var(--gray-color);
}

.client {
    display: flex;
    align-items: center;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

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

/*  */
/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
    color: #2c3e50;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-image {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.responsive-image {
    width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-info h3 {
    color: #27ae60;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-top: 3px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.contact-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #27ae60;
}

.contact-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 3px;
}

.social-links {
    margin-top: 30px;
}

.social-links h4 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #27ae60;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #2c3e50;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info {
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    max-width: 90px;
    /* Adjust size as needed */
    height: auto;
    display: block;
    border-radius: 10px;
}

/* If you want to make it responsive */
@media (max-width: 768px) {
    .footer-logo img {
        max-width: 90px;
    }
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-box {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        color: var(--white-color);
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-box {
        min-width: 100%;
    }

    .about-content {
        padding-right: 0;
    }

    .contact-form {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 8px 20px;
    }
}

/* blog */
.produk-kavling {
    padding: 60px 0;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.2em;
}

.produk-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border-left: 4px solid #27ae60;
}

.produk-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.produk-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.produk-item h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.6em;
}

.produk-keunggulan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.keunggulan-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 15px;
    background-color: #f1f8fe;
    border-radius: 8px;
}

.icon {
    font-size: 1.5em;
    color: #3498db;
    margin-top: 3px;
}

.keunggulan-item p {
    margin: 0;
    line-height: 1.6;
}

.keunggulan-item strong {
    color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .produk-keunggulan {
        grid-template-columns: 1fr;
    }
}