* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --hijau-primary: #2d5016;
    --hijau-secondary: #4a7c2c;
    --hijau-light: #7fb069;
    --putih: #ffffff;
    --abu-batu: #8b9091;
    --abu-light: #f2f4f3;
    --text-dark: #2c3e50;
    --accent: #ffc107;
    --dark: #333;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: var(--putih);
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(135deg, var(--hijau-primary), var(--hijau-secondary));
    color: #fff;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    left: 0;
    bottom: -5px;
    transition: width .3s;
}

nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(45, 80, 22, 0.6), rgba(74, 124, 44, 0.7)),
        url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=1200&h=600&fit=crop");
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    padding: 8rem 2rem 6rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h3 {
    font-size: 2rem;
    color: var(--hijau-primary);
    display: inline-block;
    border-bottom: 3px solid var(--hijau-light);
    padding-bottom: 0.5rem;
}

.section-title p {
    color: var(--abu-batu);
}

/* SEARCH BAR */
.search-wrapper {
    background: linear-gradient(135deg, #3a7b3f, #2e5b33);
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    color: white;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.search-wrapper h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.search-wrapper form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.search-wrapper input[type="text"],
.search-wrapper select {
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 1rem;
    width: 220px;
}

.search-wrapper button {
    background: var(--accent);
    border: none;
    border-radius: 25px;
    color: var(--dark);
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.search-wrapper button:hover {
    background: #ffd85c;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.3rem;
}

.card-content h4 {
    color: var(--hijau-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid var(--abu-light);
    padding-top: 0.7rem;
}

.card-price {
    font-weight: 700;
    color: var(--hijau-primary);
}

.card-duration {
    color: var(--abu-batu);
    font-size: 0.9rem;
}

/* BUTTON */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--hijau-secondary);
    color: #fff;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: var(--hijau-primary);
    transform: scale(1.02);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow: auto;
    padding: 2rem;
}

.modal-content {
    background: #fff;
    border-radius: 14px;
    max-width: 700px;
    margin: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--hijau-primary), var(--hijau-secondary));
    color: #fff;
    padding: 2rem;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

.price-box {
    text-align: center;
    background: var(--abu-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.price-box .price {
    font-size: 2rem;
    color: var(--hijau-primary);
    font-weight: 700;
}

/* FORM */
.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    font-weight: 600;
    color: var(--hijau-primary);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--abu-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
    background: #fff;
}

input:focus,
textarea:focus {
    border-color: var(--hijau-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 124, 44, 0.15);
}

textarea {
    resize: vertical;
}

/* FOOTER */
footer {
    background: linear-gradient(180deg, #24430e 0%, #2d5016 100%);
    color: #fff;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #c5ffb3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p,
.footer-col a {
    color: #e2e2e2;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.sponsor-bar {
    text-align: center;
    margin: 3rem auto 1rem;
}

.sponsor-bar h4 {
    color: #c5ffb3;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.sponsor-logos img {
    height: 42px;
    opacity: 0.85;
    transition: 0.3s;
    filter: grayscale(30%) brightness(95%);
}

.sponsor-logos img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(105%);
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ddd;
    font-size: 0.9rem;
}

/* ================================= */
/* RESPONSIVE DESIGN */
/* ================================= */

/* Tablet & Small Desktop */
@media(max-width: 992px) {
    .header-content {
        padding: 0 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile Landscape & Tablet Portrait */
@media(max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .header-content .logo img {
        height: 35px !important;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        font-size: 0.8rem;
    }

    nav li {
        margin: 0;
    }

    nav a {
        padding: 0.3rem 0.6rem;
        display: block;
    }

    .hero {
        padding: 4rem 1rem 3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .section-title h3 {
        font-size: 1.5rem;
    }

    .search-wrapper {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .search-wrapper h3 {
        font-size: 1.4rem;
    }

    .search-wrapper form {
        flex-direction: column;
        width: 100%;
    }

    .search-wrapper input[type="text"],
    .search-wrapper select {
        width: 100%;
        max-width: 100%;
    }

    .search-wrapper button {
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        margin: 1rem auto;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .sponsor-logos {
        gap: 2rem;
    }
}

/* Mobile Portrait */
@media(max-width: 480px) {
    header {
        padding: 0.8rem 0;
    }

    .header-content {
        padding: 0 0.8rem;
    }

    .header-content .logo img {
        height: 30px !important;
    }

    .header-content h1 {
        font-size: 1.1rem;
    }

    nav ul {
        gap: 0.4rem;
        font-size: 0.75rem;
    }

    nav a {
        padding: 0.25rem 0.5rem;
    }

    .hero {
        padding: 3rem 1rem 2.5rem;
    }

    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h3 {
        font-size: 1.3rem;
    }

    .search-wrapper {
        padding: 20px 10px;
        border-radius: 10px;
    }

    .search-wrapper h3 {
        font-size: 1.2rem;
    }

    .search-wrapper input[type="text"],
    .search-wrapper select,
    .search-wrapper button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h4 {
        font-size: 1rem;
    }

    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .modal-header {
        padding: 1.2rem;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .close-modal {
        font-size: 1.5rem;
        right: 1rem;
        top: 1rem;
    }

    .modal-body {
        padding: 1.2rem;
    }

    .price-box .price {
        font-size: 1.5rem;
    }

    input,
    textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-col p,
    .footer-col a {
        font-size: 0.85rem;
    }

    .sponsor-logos {
        gap: 1.5rem;
    }

    .sponsor-logos img {
        height: 35px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile */
@media(max-width: 360px) {
    .hero h2 {
        font-size: 1.4rem;
    }

    .section-title h3 {
        font-size: 1.1rem;
    }

    .card-image {
        height: 160px;
    }

    .sponsor-logos img {
        height: 30px;
    }
}