/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --backgroundcolor: #ffffff;
    --Goud: #c5b673;
    --scroll: #cccccc;
    --scrollhover: #c5b673;
    --tekstkleur: #222222;
}

/* Dark mode variables */
:root.dark-mode {
    --backgroundcolor: #222222;
    --tekstkleur: white;
    --scroll: #3b3b3b;
    --scrollhover: #c5b6735d;
    --Goud: #c5b673;
}

body {
    font-family: "Akaya Telivigala", cursive;
    background-color: var(--backgroundcolor);
    min-height: 100vh;
    color: var(--tekstkleur);
}

/* Header Styles */
header {
    background-color: var(--backgroundcolor);
    padding: 2rem 0;
    text-align: center;
    color: var(--tekstkleur);
    border-bottom: 3px solid var(--Goud);
    position: relative;
}

header div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-bottom: 1rem;
}

.logo img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
    font-family: "Dancing Script", cursive;
    color: var(--Goud);
}

/* Main Content */
main {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Search Section */
.search-section {
    background: var(--backgroundcolor);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--Goud);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.search-section h2 {
    font-size: 1.8rem;
    color: var(--Goud);
    margin-bottom: 1rem;
    font-family: "Dancing Script", cursive;
}

.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--Goud);
    border-radius: 25px;
    background-color: var(--backgroundcolor);
    color: var(--tekstkleur);
    outline: none;
    transition: all 0.3s ease;
    font-family: "Akaya Telivigala", cursive;
}

.search-input:focus {
    border-color: var(--Goud);
    box-shadow: 0 0 10px rgba(197, 182, 115, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--Goud);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.clear-search:hover {
    background-color: rgba(197, 182, 115, 0.2);
}

.clear-search.show {
    display: block;
}

.search-results {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--tekstkleur);
}

/* FAQ Container */
.faq-container {
    background: var(--backgroundcolor);
    border-radius: 15px;
    border: 3px solid var(--Goud);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* FAQ Items */
.faq-item {
    border-bottom: 1px solid var(--Goud);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: rgba(197, 182, 115, 0.1);
}

/* FAQ Questions */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(197, 182, 115, 0.15);
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--tekstkleur);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--Goud);
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(197, 182, 115, 0.2);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--Goud);
    color: var(--backgroundcolor);
}

/* FAQ Answers */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: rgba(197, 182, 115, 0.05);
}

.faq-answer.active {
    max-height: 1000px; /* Increased for longer content */
    padding: 1.5rem 2rem;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--tekstkleur);
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: var(--backgroundcolor);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--Goud);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--Goud);
    margin-bottom: 1rem;
    font-family: "Dancing Script", cursive;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--tekstkleur);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--tekstkleur);
    margin: 0.5rem 0;
}

.contact-info strong {
    color: var(--Goud);
}

/* Footer */
footer {
    background-color: var(--backgroundcolor);
    color: var(--tekstkleur);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border-top: 3px solid var(--Goud);
}

footer div {
    margin: 0 auto;
}

footer div div {
    margin: 0 auto;
}

footer h3 {
    color: var(--tekstkleur);
    margin: 0.5rem 0;
    font-family: "Dancing Script", cursive;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--Goud);
    padding-bottom: 0.5rem;
    display: inline-block;
}

footer h3:nth-of-type(4) {
    border: none;
}

footer p {
    color: var(--Goud);
    margin: 0.3rem 0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Social Media Icons */
figure {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--backgroundcolor);
}

figure a img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

figure a img:hover {
    transform: scale(1.2);
}

.whatsapp-button {
      background-color: #25D366;
      color: var(--backgroundcolor);
      padding: 15px 25px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .whatsapp-button:hover {
      background-color: #1ebc5a;
    }

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer.active {
        padding: 1rem 1.5rem;
        max-height: 1000px; /* Increased for mobile too */
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
    }
}

/* Light mode specific adjustments */
:root.light-mode .search-section {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

:root.light-mode .faq-item {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

:root.light-mode .faq-item:hover {
    box-shadow: 0 8px 25px rgba(197, 182, 115, 0.3);
}

:root.light-mode .search-input {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    color: var(--tekstkleur);
}

:root.light-mode .search-input:focus {
    border-color: var(--Goud);
}

:root.light-mode .clear-search {
    background: #f0f0f0;
    color: var(--tekstkleur);
}

:root.light-mode .clear-search:hover {
    background: var(--Goud);
    color: var(--backgroundcolor);
}

:root.light-mode .contact-section {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}