:root {
    --primary: #6b5040;
    --primary-light: #8c6b53;
    --secondary: #d5c5b5;
    --background: #f9f3ea;
    --text: #8c6b53;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Playfair Display", serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container,
.container-local {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-cta,
.btn-login,
.btn-register,
.btn-search,
.btn-view-profile {
    display: inline-block !important;
    padding: 8px 30px !important;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Playfair Display", serif;
    border: none;
}

.btn-cta {
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
}

.btn-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.btn-login {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-login:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-register {
    background-color: var(--primary);
    color: var(--white);
}

.btn-register:hover {
    background-color: var(--primary-light);
}

.btn-search {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
}

.btn-search:hover {
    background-color: var(--primary-light);
}

.btn-view-profile {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 0 0 5px 5px;
    padding: 15px;
    text-align: center;
    margin-top: auto;
}

.btn-view-profile:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.category-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.category-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Navigation */
nav {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo-container h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 60px;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* agar ada efek gelap seperti overlay */
    z-index: 0;
}
/* Hero section image */

Z .hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Vendor Search Section */
.vendor-search {
    padding: 60px 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.filter-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Playfair Display", serif;
    transition: border-color 0.3s;
}

.filter-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Vendor Categories */
.vendor-categories {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 20px;
}

.category-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.category-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Top Vendors Section */
.top-vendors {
    padding: 60px 0;
    background-color: var(--white);
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vendor-card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vendor-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.vendor-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.vendor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vendor-card:hover .vendor-card-image img {
    transform: scale(1.1);
}

.vendor-card-content {
    padding: 20px;
    flex-grow: 1;
}

.vendor-card-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.vendor-card-content p {
    color: var(--text);
    font-size: 0.9rem;
}

.vendor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
}

.vendor-price {
    font-weight: 600;
    color: var(--primary);
}

.vendor-rating {
    display: flex;
    align-items: center;
    color: #ffc107;
}

.vendor-rating i {
    margin-right: 2px;
}

.vendor-rating span {
    margin-left: 5px;
    color: var(--text);
    font-weight: 500;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

/* Vendor Spotlight */
.vendor-spotlight {
    padding: 60px 0;
}

.spotlight-container {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.spotlight-image {
    flex: 1 1 400px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-content {
    flex: 1 1 500px;
    padding: 40px;
}

.spotlight-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.spotlight-description {
    margin: 20px 0;
    line-height: 1.8;
}

.spotlight-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.detail-item i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.5;
    line-height: 0.8;
    font-family: serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

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

.testimonial-author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

/* FAQ Section */
.vendor-faq {
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("/wedding-image/nikahan/IMG_5587.JPG") center/cover no-repeat;
    text-align: center;
    color: var(--white);
    margin: 60px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.bidding-container {
    padding: 50px 0;
    background: #f9f3ea;
}

.bidding-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Sidebar Styles */
.bidding-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.search-box {
    margin-bottom: 30px;
}

.search-input {
    display: flex;
    margin-top: 10px;
}

.search-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
}

.search-input button {
    padding: 10px 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-input button:hover {
    background: var(--primary-light);
}

.filter-box h3 {
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100px;
}

.rating-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.btn-filter {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}

.btn-filter:hover {
    background: var(--primary-light);
}

/* Package Grid Styles */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

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

.package-card:hover {
    transform: translateY(-5px);
}

.package-image {
    position: relative;
    height: 200px;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.package-details {
    padding: 20px;
}

.package-details h3 {
    margin-bottom: 10px;
}

.package-price {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: bold;
    margin: 10px 0;
}

.btn-bid {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-bid:hover {
    background: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .bidding-wrapper {
        grid-template-columns: 1fr;
    }

    .bidding-sidebar {
        margin-bottom: 30px;
    }
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    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%;
    transition: var(--transition);
}

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

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

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

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .hero {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        gap: 15px;
    }
    .spotlight-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        height: 350px;
    }
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .auth-buttons {
        display: none;
    }
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .vendor-grid,
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .spotlight-container {
        flex-direction: column;
    }
    .spotlight-image {
        height: 300px;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        height: 300px;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section {
        padding: 40px 0;
    }
    .vendor-card-content {
        padding: 15px;
    }
    .vendor-card-footer {
        padding: 0 15px 15px;
    }
    .spotlight-content {
        padding: 20px;
    }
    .faq-question h3 {
        font-size: 1rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu for Responsive Design */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    z-index: 200;
    padding: 40px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.mobile-menu .auth-buttons {
    display: flex;
    margin-top: 30px;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu .btn-login,
.mobile-menu .btn-register {
    width: 100%;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 199;
    display: none;
}

.overlay.active {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* JavaScript-dependent functionality */
.faq-answer {
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}
