* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5efe0;
    color: #333;
}

.hero {
    position: relative;
    height: 500px;
    background: url('pictures/header\ bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.logo img {
    width: 100px;
    height: 100px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    margin-right: 50px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e3b21e;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-text .subtitle {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #e3b21e;
    letter-spacing: 3px;
    text-shadow: 2px 3px 10px rgba(0,0,0,0.5);
}

/* BODY */
.faq-body {
    background-color: #f5efe0;
    padding: 80px 100px 120px;
    text-align: center;
}


.faq-intro {
    text-align: center;
    margin-bottom: 60px;
}

.faq-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: #2a1a0e;
    margin-bottom: 12px;
    line-height: 1.2;
}

.faq-intro p {
    font-size: 15px;
    color: #777;
    line-height: 1.8;
}

.faq-intro a {
    color: #8b2635;
    font-weight: 600;
    text-decoration: none;
}

.faq-intro a:hover {
    text-decoration: underline;
}


.faq-sidebar {
    flex: 0 0 240px;
    position: sticky;
    top: 40px;
}



/* FAQ LIST */
.faq-list {
    flex: 1;
    display: flex;
    max-width: 700px;
    flex-direction: column;
    margin: 0 auto;
}

:root {
    interpolate-size: allow-keywords;
}

details {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(42, 26, 14, 0.1);
    transition: box-shadow 0.3s ease;
}

details:hover {
    box-shadow: 0 4px 20px rgba(42, 26, 14, 0.1);
}

details[open] {
    border-color: rgba(139, 38, 53, 0.25);
    box-shadow: 0 4px 20px rgba(139, 38, 53, 0.08);
}

details * {
    margin: 0;
    padding: 0;
}

details::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
        block-size 0.5s ease,
        content-visibility 0.5s ease;
    transition-behavior: allow-discrete;
}

details[open]::details-content {
    block-size: auto;
}

.answer {
    padding: 0 24px 20px 64px;
    border-top: 1px solid rgba(42, 26, 14, 0.07);
}

.answer p {
    padding-top: 16px;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: left;
}

summary {
    padding: 20px;
    line-height: 1.4;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background-color 0.2s ease;
    color: #2a1a0e;
}

summary:hover {
    background-color: #fdf7ec;
}

summary::-webkit-details-marker {
    display: none;
}

.q-num {
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 700;
    color: #8B2635;
    background: rgba(139, 38, 53, 0.08);
    border-radius: 6px;
    padding: 4px 8px;
    flex-shrink: 0;
    min-width: 36px;
    text-align: center;
    transition: background 0.2s ease;
}

details[open] .q-num {
    background: #8B2635;
    color: #fff;
}

summary::after {
    content: '▼';
    font-size: 10px;
    color: #8b2635;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: inline-block;
}

details[open] > summary::after {
    transform: rotate(-180deg);
}

footer {
    background-color: #6B7A52;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}