/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    background-color: #F5E6C8;
    color: #5C3A21;
    scroll-padding-top: 70px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 2rem;
    background: #ffffff;
    border-bottom: 3px solid #D4A017;
    box-shadow: 0 4px 18px rgba(92,58,33,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logoatas {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.logo-black {
    color: #3E2723 !important;
}

.logo-green {
    color: #D4A017 !important;
}

.menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: #3E2723;
}

.navbar-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2;
    gap: 2rem;
}

.navbar-right ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
}

.navbar-right ul li a {
    color: #5C3A21 !important;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.navbar-right ul li a:hover {
    color: #D4A017 !important;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons a {
    margin-left: 1rem;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.login-btn,
.auth-buttons a {
    color: #ffffff !important;
    border: 2px solid #D4A017 !important;
    background: #D4A017;
    transition: 0.3s;
}

.login-btn:hover,
.auth-buttons a:hover {
    color: #ffffff !important;
    background: #8B5A2B;
    border-color: #8B5A2B !important;
}

/* HERO SECTION */
.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #FFF8E7 0%, #F5E6C8 100%);
}

.content-left {
    flex: 1;
    max-width: 500px;
}

.content-left h1 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    color: #3E2723;
    line-height: 1.2;
}

.content-left p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5C3A21;
    line-height: 1.7;
}

.green {
    color: #D4A017;
}

.content-left button {
    padding: 0.75rem 1.5rem;
    background: #D4A017;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.content-left button:hover {
    background: #8B5A2B;
    transform: translateY(-2px);
}

.content img {
    max-width: 400px;
    width: 100%;
    margin-top: 2rem;
}

/* FEATURES SECTION */
.features-section {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #FFF8E7, #F5E6C8);
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #3E2723;
}

.subtitle {
    color: #5C3A21;
    margin-bottom: 2rem;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-box {
    background-color: #FFFDF7;
    padding: 2rem;
    border-radius: 15px;
    width: 300px;
    border: 1px solid #E5C887;
    box-shadow: 0 8px 22px rgba(92,58,33,0.14);
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(92,58,33,0.2);
}

.feature-box img {
    height: 50px;
    margin-bottom: 1rem;
}

.feature-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #3E2723;
}

/* PRODUK SECTION */
#produk {
    background: linear-gradient(
        135deg,
        #FFFDF7 0%,
        #FFF4D9 35%,
        #F7E3B5 70%,
        #E8C875 100%
    );
    padding: 4rem 2rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(139,90,43,0.12);
}

#produk h4 {
    color: #3E2723;
    font-size: 2rem;
    font-weight: 700;
    border-left: 6px solid #D4A017;
    padding-left: 15px;
}

#produk .text-success {
    color: #8B5A2B !important;
    font-weight: 700;
    font-size: 1.1rem;
}

#produk .text-primary {
    color: #D4A017 !important;
    font-weight: 700;
}

#produk .card {
    background: #ffffff;
    border: 1px solid #F0D89B !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(92,58,33,0.08);
}

#produk .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(92,58,33,0.18);
}

#produk .btn-outline-primary {
    color: #8B5A2B !important;
    border: 2px solid #D4A017 !important;
    border-radius: 12px;
    font-weight: 600;
}

#produk .btn-outline-primary:hover {
    background: linear-gradient(
        90deg,
        #D4A017,
        #E6B422
    ) !important;
    color: white !important;
}

/* ABOUT SECTION */
.section, .about-container {
    display: flex;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background-color: #FFF8E7;
}

.section img, .container img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3E2723;
    border-left: 6px solid #D4A017;
    padding-left: 14px;
}

.text-content p {
    line-height: 1.8;
    color: #5C3A21;
    text-align: justify;
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(90deg, #3E2723, #5C3A21, #8B5A2B);
    color: white;
    padding: 2.5rem 2rem;
    flex-wrap: wrap;
}

.footer-left .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-left span {
    color: #D4A017;
}

.footer-right .social-icons img {
    width: 30px;
    margin-right: 1rem;
    transition: 0.3s;
}

.footer-right .social-icons img:hover {
    transform: scale(1.15);
}

/* SIDEBAR */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #FFF8E7;
    box-shadow: 2px 0 8px rgba(0,0,0,0.25);
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
    z-index: 2000;
}

.sidebar a {
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-size: 18px;
    display: block;
    color: #5C3A21;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #F5E6C8;
}

.sidebar .closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: #5C3A21;
}

/* BOOTSTRAP OVERRIDE */
.text-primary {
    color: #D4A017 !important;
}

.text-success {
    color: #8B5A2B !important;
}

.btn-primary {
    background-color: #D4A017 !important;
    border-color: #D4A017 !important;
    color: white !important;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #8B5A2B !important;
    border-color: #8B5A2B !important;
}

.btn-outline-primary {
    color: #8B5A2B !important;
    border-color: #D4A017 !important;
}

.btn-outline-primary:hover {
    background-color: #D4A017 !important;
    color: white !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
        background: #ffffff;
        border-bottom: 3px solid #D4A017;
    }

    .logoatas {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
    }

    .navbar-right {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 1rem;
    }

    .navbar-right ul {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .auth-buttons {
        justify-content: center;
        width: 100%;
    }

    .content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .content-left h1 {
        font-size: 2.2rem;
    }

    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .section, .container {
        flex-direction: column;
        text-align: center;
    }

    .text-content p {
        text-align: center;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
}