:root {
    --primary-color: #95797f;
    /* Sage Green */
    --secondary-color: #c5afb1;
    /* Gold */
    --bg-color: #F9F7F2;
    /* Cream Lightened */
    --text-color: #2C2C2C;
    --white: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.4);
}

/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Utilities --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
    position: relative;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Components --- */

/* Premium Button */
.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 14px 40px;
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

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

.btn:hover::before {
    width: 100%;
}

/* Section Title */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background-image: linear-gradient(var(--overlay-color), var(--overlay-color)), url('hero.png');
    background-attachment: fixed;
    /* Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1.2s ease-out;
}

.hero p {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.hero .date {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    padding: 15px 30px;
    color: #f0f0f0;
    animation: fadeInUp 1.2s ease-out 0.6s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Timeline (Programme) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--bg-color);
    /* Mask line behind */
}

.timeline-icon svg {
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.timeline-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(54%) sepia(11%) saturate(726%) hue-rotate(298deg) brightness(92%) contrast(87%);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-time {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.timeline-desc {
    font-style: italic;
    color: #666;
}

/* --- Venue Section --- */
.wrapper {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.container::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin: 1rem auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c5afb1' stroke='%23c5afb1' stroke-width='1.5'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.venue-map {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 1.5rem auto 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

/* --- Accommodation Page --- */
.hero-small {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 20px;
    text-align: center;
}

.hero-small h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

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

.no-results {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    grid-column: 1 / -1;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.accommodation-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.accommodation-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.accommodation-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.accommodation-details {
    margin-bottom: 1.5rem;
    list-style: none;
}

.accommodation-details li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.accommodation-details li span {
    margin-right: 10px;
}

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

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

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 4rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(var(--overlay-color), var(--overlay-color)), url('assets/cover_mobile.png');
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: -5px;
        right: auto;
    }
}