* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.waldo {
    text-decoration: none; 
    color: white;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #000000;
}

body:hover, body:active .waldo {
    color: burlywood;
}

/* Header Styles */
.header {
    background-color: #000000;
    background-image: 
        repeating-linear-gradient(
            90deg,
            #3e2723 0px,
            #4a2c24 2px,
            #3e2723 4px,
            #5d3a2a 6px,
            #3e2723 8px,
            #4a2c24 10px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.05) 1px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(0, 0, 0, 0.1) 3px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 1px,
            transparent 2px
        );
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.9;
}

/* Carousel Styles */
.carousel-section {
    background-color: black;
    padding: 40px 20px;
    text-align: center;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 500px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-item.fade {
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Carousel Arrow Buttons */
.carousel-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    user-select: none;
    height: fit-content;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow-left,
.carousel-arrow-right {
    flex-shrink: 0;
}

/* Carousel Controls */
.carousel-controls {
    text-align: center;
    padding: 20px 0;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Remembrance Section */
.remembrance-section {
    background-color: rgb(7, 66, 66);
    padding: 60px 20px;
    margin: 20px 0;
}

.remembrance-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: rgb(255, 255, 255);
    font-weight: 300;
    letter-spacing: 1px;
}

.remembrance-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
}

.remembrance-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Funeral Section */
.funeral-section {
    background: rgb(7, 66, 66);
    padding: 60px 20px;
    margin: 20px 0;
}

.funeral-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
    font-weight: 300;
    letter-spacing: 1px;
}

.funeral-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.service-details {
    padding: 20px;
    text-align: center;
}

.service-details p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.8;
}

.map-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    width: 100%;
    height: 600px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .carousel-item {
        height: 300px;
    }

    .remembrance-section h2,
    .funeral-section h2,
    .map-section h2 {
        font-size: 2rem;
    }

    .funeral-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    .remembrance-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2rem;
    }

    .carousel-item {
        height: 200px;
    }

    .carousel-controls {
        padding: 10px 0;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 5px;
    }
}
