html {
    scroll-behavior: smooth;
}

/* GLOBAL */
body {
    background: rgba(255, 51, 51, 0.67);
    font-family: Arial, Helvetica, sans-serif;
    cursor: url('webbilder/mouseblue-01.png') 24 24, auto; /* center hotspot for ~48x48 image */
}

a {
    color: rgb(55, 3, 3);
    text-decoration: none;
}

a:hover { color: hotpink; }
a:active { color: red; }
a:visited { color: none; }

img {
    max-width: 100%;
}

/* =========================
   HEADER + MENUS (YOUR OLD SETUP)
   ========================= */

.header-container {
    position: relative;
    height: 250px;
    margin-top: 30px;
}

/* LEFT + RIGHT HEADER BOXES */
.header-left,
.header-right {
    width: 160px;
    height: 60px;
    background-color: rgba(199, 255, 14, 0.75);
    position: fixed;
    top: 700px;
    left: 
    right:
    transition: width 2s, height 4s, background-color 3s;
    z-index: 5;
    border: 3px solid transparent;
    border-radius: 0;
    padding: 0;
}

/* LEFT BOX POSITION */
.header-left {
    left: 60px;
    border-color: whitesmoke;
}

/* RIGHT BOX POSITION */
.header-right {
    right: 60px;
    border-color: white;
    background-color: rgba(25, 235, 232, 0.75);
}

/* HOVER EXPANSION */
.header-left:hover,
.header-right:hover {
    width: 180px;
    height: 120px;
    background-color: rgba(233, 11, 155, 0.67);
    border-radius: 6px;
}

/* MENU PANELS (HIDDEN BY DEFAULT) */
.menu-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    padding: 10px 15px;
}

/* SHOW PANELS ON HOVER */
.header-left:hover .menu-panel-left,
.header-right:hover .menu-panel-right {
    opacity: 1;
    transform: translateY(0);
}

/* MENU LIST STYLING */
.menu-panel ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-panel li {
    display: block;
    margin-bottom: 8px;
}

.menu-panel a {
    display: block;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: white
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   NEW SCROLL CAROUSEL (NO JS)
   ========================= */

.carousel {
    width: 100vw;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin: 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity; /* softer, smoother */
    scroll-behavior: smooth;       /* swoosh */
    -webkit-overflow-scrolling: touch; /* momentum on phones */
}


#carousel-start {
    height: 1px;
}

.slide {
    flex: 0 0 33vw;
    scroll-snap-align: start;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: orangered;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-style: normal;
    letter-spacing: 1px;
    text-transform: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    text-decoration: underline wavy rgba(172, 225, 175, 1);
    transition: opacity 0.15s ease;
}

.slide:hover .slide-text {
    opacity: 1;
}

.back-button {
    flex: 0 0 33vw;
    height: 33vw;          /* ← MATCHES SLIDE HEIGHT */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: blue;
    text-decoration: none;
    font-weight: bold;
}

/* PAGE CONTENT */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* GRID OF FOUR */
.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* GRID ITEMS */
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 4px solid rgba(0,0,0,0.2);
}

.caption {
    margin-top: 10px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
    color: rgb(55, 3, 3);
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 3rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-style:normal;
    letter-spacing: 1px;
    text-transform: lowercase;
    text-decoration: underline wavy orangered;
    color: rgba(172, 225, 175, 1);
    transition: opacity 0.2s ease;
    text-align: left;
}

.back-link:hover {
    opacity: 0.7;
}

.site-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.25;
    pointer-events: none;

    width: 90%;
    max-width: 1200px;
    white-space: nowrap;
}


.image-grid img[src=""],
.image-grid img:not([src]),
.image-grid img[src*="undefined"] {
    display: none;
}


.image-grid img {
    border: none;
}

.about-text p {
font-size: 1.2rem;
line-height: 1.6;
color: rgba(172, 225, 175, 1);
margin-bottom: 20px;
font-family:Arial, Helvetica, sans-serif;
}

.contact-content p,
.contact-content a {
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder ;
    line-height: 1.6;
    color: rgba(172, 225, 175, 1);
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-content {
    margin-top: 450px; /* adjust this number as needed */
    text-align: right;
}


.page-title {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: none;
    color: rgba(255, 255, 255, 0.85);
}

.contact-info p {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.header-container .special {
    color: white
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-title {
        font-size: 2rem;
        text-align: center;
    }

    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .carousel img {
        width: 80vw;
        height: auto;
    }
}

@media (max-width: 768px) {

    /* Make the grid single-column */
    .image-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    /* Make images scale nicely */
    .image-grid img {
        width: 100%;
        height: auto;
    }

    /* Adjust titles */
    .site-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 2rem;
        text-align: center;
    }

    /* Back link spacing */
    .back-link {
        font-size: 1.2rem;
        margin-bottom: 20px;
        display: inline-block;
    }

    /* Caption readability */
    .caption {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.4;
        text-align: center;
    }

    /* HEADER OVERRIDE FOR MOBILE */
    .header-left,
    .header-right {
        position: static;
        width: 100%;
        height: auto;
        margin: 10px 0;
        top: auto;
        left: auto;
        right: auto;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Carousel slides larger on mobile */
    .slide {
        flex: 0 0 80vw;
    }

        /* HEADER FIXES FOR MOBILE */
    .header-left,
    .header-right {
        position: static;
        width: 100%;
        height: auto;
        margin: 10px 0;
        top: auto;
        left: auto;
        right: auto;
    }

    .header-left:hover,
    .header-right:hover {
        width: 100%;
        height: auto;
        background-color: inherit;
        border-radius: 0;
        transition: none;
    }

    .menu-panel {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .header-left:hover .menu-panel-left,
    .header-right:hover .menu-panel-right {
        opacity: 1;
        transform: none;
    }
}

/* LIGHTBOX OVERLAY */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.grid-item {
    position: relative;
}

.click-hint {
    position: absolute;
    bottom: 250px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    color: rgba(172, 225, 175, 1);
    font-size: 1.5rem;
    padding: none;
    border-radius: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

.grid-item:hover .click-hint {
    opacity: 1;
}

.caption-link {
    color: rgba(172, 225, 175, 1);
    text-decoration: none;
}

.caption-link:hover {
    text-decoration: underline;
}

}



































