html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f0e6;
    color: #4a2c2a;
    padding-top: 80px;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #4a2c2a;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 3px solid #c49a6c;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header #logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #c49a6c;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: #f5f5f5;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

header nav a:hover {
    color: #c49a6c;
}

.hero {
    background: url('https://jejakpersepsi.com/wp-content/uploads/2025/03/Djago-Jowo-Purwokerto_11zon-scaled-1.jpg') no-repeat center center/cover;
    height: 90vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    background: rgba(50, 25, 22, 0.7);
    padding: 2rem 4rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

.about {
    padding: 4rem 0;
    background: #fffdfa;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 10px;
}

.about h2 {
    font-size: 2.5rem;
    color: #8a5a44;
    margin-top: 0;
}

.about p {
    line-height: 1.6;
}

.social-media-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0e9e0;
}

.social-media-links h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #8a5a44;
}

.social-media-links a.social-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin-right: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-media-links a.social-link i {
    margin-right: 10px;
    font-size: 1.4rem;
}

a.social-link.instagram {
    background-color: #e4405f;
    color: white;
}

a.social-link.instagram:hover {
    background-color: #c13584;
}

a.social-link.whatsapp {
    background-color: #25d366;
    color: white;
}

a.social-link.whatsapp:hover {
    background-color: #128c7e;
}

.buffet {
    padding: 4rem 0;
}

.buffet h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #8a5a44;
}

.buffet-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.package {
    background: #fff;
    border: 1px solid #d7ccc8;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(74, 44, 42, 0.15);
}

.package img {
    width: 100%;
    aspect-ratio: 5 / 7;
    object-fit: cover;
}

.package h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #8a5a44;
}

.package p {
    padding: 0 1rem 1rem;
    line-height: 1.5;
    color: #5d4037;
}

.reservation-form {
    padding: 5rem 0;
    background: #fbf9f6;
}

.reservation-form h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #4a2c2a;
    font-weight: 700;
}

.reservation-form form {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0e9e0;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h4 {
    font-size: 1.4rem;
    color: #4a2c2a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.form-section h4 i {
    margin-right: 12px;
    color: #c49a6c;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-row-tri {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #5d4037;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #c49a6c;
    opacity: 0.7;
}

.reservation-form input[type="text"],
.reservation-form input[type="tel"],
.reservation-form input[type="email"],
.reservation-form input[type="date"],
.reservation-form input[type="time"],
.reservation-form input[type="number"],
.reservation-form select,
.reservation-form textarea {
    width: 100%;
    padding: 1rem;
    padding-left: 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #fdfdfd;
}

.reservation-form textarea {
    padding-left: 1rem !important;
    padding-top: 1rem;
    line-height: 1.5;
}

.reservation-form .input-wrapper textarea~i {
    display: none;
}

.reservation-form input[type="file"] {
    padding: 0.7rem;
    background: #f9f9f9;
    padding-left: 0 !important;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
    outline: none;
    border-color: #c49a6c;
    box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.2);
    background-color: #fff;
}

.menu-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-height: 250px;
    overflow-y: auto;
    padding: 1rem;
    background: #fdfcf9;
    border: 1px solid #f5f0e6;
    border-radius: 8px;
}

.menu-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}

.menu-item:hover {
    background-color: #f5f0e6;
}

.menu-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
}

.menu-item input[type="number"] {
    width: 60px !important;
    padding: 0.5rem !important;
    padding-left: 0.5rem !important;
    text-align: center;
}

.menu-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#price-summary {
    background-color: #f5f0e6;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #c49a6c;
}

#price-summary p {
    margin: 0.5rem 0;
    font-weight: 500;
    color: #4a2c2a;
}

#price-summary strong {
    font-size: 1.2rem;
    color: #8a5a44;
}

.submit-wrapper {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.btn-submit {
    padding: 1rem 3rem;
    border: none;
    background: linear-gradient(45deg, #c49a6c, #a1774a);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 154, 108, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(196, 154, 108, 0.6);
}

.btn-submit i {
    margin-right: 10px;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 768px) {
    
    .buffet-packages {
        grid-template-columns: 1fr;
    }

    .about .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row, .form-row-tri {
        grid-template-columns: 1fr;
        gap: 0; 
    }

    .menu-selection {
        grid-template-columns: 1fr;
    }

    .reservation-form form {
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }
    header nav ul li {
        margin-left: 10px;
    }
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.5); 
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 25px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px; 
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    color: #4a2c2a;
}
.modal-content ol {
    padding-left: 20px;
    line-height: 1.6;
}