:root {
    --light-blue: #daf3fe;
    --sage: #859f98;
    --teal: #306676;
    --midnight: #21305e;
    --dark-plum: #1b0b23;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--sage);
    color: var(--white);
    overflow-x: visible;
}

/* CURSOR */
#cursor-dot {
    width: 6px; height: 6px; background: var(--midnight);
    position: fixed; border-radius: 50%; z-index: 9999; pointer-events: none;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
}
#cursor-outline {
    width: 33px; height: 33px; border: 1px solid var(--midnight);
    position: fixed; border-radius: 50%; z-index: 9998; 
    pointer-events: none; transition: 0.003s ease-out;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
}

/* HEADER & FLOATING MENU */
.main-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.5rem 5%; /*display: flex; /* justify-content: space-between;*/ align-items: center;
    background: #306676;
    background: linear-gradient(180deg, rgba(48, 102, 118, 1) 0%, rgba(133, 159, 152, 1) 100%);
    z-index: 1000;
}

.image-menu-wrapper { position: relative; }
.menu-trigger img { width: 223px; transition: 0.3s; }
.menu-trigger:hover img { transform: rotate(-23deg) scale(1.3); }

.floating-nav {
    position: absolute; top: 99px; left: 42%;
    background: var(--midnight); backdrop-filter: blur(55px); 
    padding: 8px; border-radius: 23px; border: 1px solid var(--teal);
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; visibility: hidden; transform: translateY(23px); transition: 0.3s;
    text-align: center;
}

.floating-nav.show { opacity: .88; visibility: visible; transform: translateY(0); }

.floating-nav a {
    color: var(--white); text-decoration: none; font-size: 0.9rem; transition: 0.3s;
}
.floating-nav a:hover { color: var(--midnight); }

.cta-nav { background: var(--teal); padding: 10px; border-radius: 23px; text-align: center; }

/* HERO BACKGROUND */
.hero-bg-overlay {
    position: fixed; top: -89; left: 0; width: 100%; height: 83%;
    background: var(--sage);
    opacity: 0.8; z-index: -1;
    justify-content: center;
}

.main-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

#content-area { transition: 0.4s; padding: 20px; }

        /* Services Section */
        .services {
            padding: 80px 10%;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 2rem;
            background-color: var(--sage);
            opacity: 80%;
        }
        .card {
            background: var(--light-blue);
            color: var(--midnight);
            padding: 13px;
            border-radius: 18px;
            text-align: center;
            box-shadow: 0 4px 15px var(--dark-plum);
            z-index: 99;
        }
        .card:hover{
            transform: translateY(-2px);
        }
        .card h3 { color: var(--midnight); margin-bottom: 15px; }
        

/* FOOTER & OVERFLOW */
.main-footer {
    position: fixed; bottom: 0; width: 100%; 
    text-align: center; ;
    background: #306676;
    background: linear-gradient(180deg,rgba(133, 159, 152, 1), rgba(48, 102, 118, 1) 100%);
    color: var(--midnight);
    padding: 39px;
}

.overflow-image {
    position: absolute; top: -140px; right: 10%; width: 333px;
    animation: float 6s ease-in-out infinite; pointer-events: none;
}

.logo-image {
    vertical-align: middle;
    max-height: 55px;
    max-width: 55px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    * { cursor: auto; } /* Restore cursor for touch */
    #cursor-dot, #cursor-outline { display: none; }
    .floating-nav { width: 100%; right: -5%; border-radius: 0; top: 70px; left:0; display: flex; flex-direction: column; gap: 8px; }
    .overflow-image { width: 150px; top: -80px; }

}
/* CAROUSEL SHELL */
.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.carousel-window {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 20px;
    padding: 20px 0;
    touch-action: pan-y; /* Important for mobile swipe */
}

/* CARDS: 3-wide on Desktop, 1-wide on Mobile */
.card {
    flex: 0 0 calc(33.333% - 14px);
    min-height: 300px;
    backdrop-filter: blur(12px);
    border: 1px solid var(--teal);
    padding: 30px;
    transition: transform 0.3s;
    background: var(--light-blue);
    vertical-align: middle;
    color: var(--midnight);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 15px var(--dark-plum);
    z-index: 99;
}

.media-card {
    aspect-ratio: 16 / 9; /* Keeps all photo cards the same shape */
    background: var(--light-blue); /* Placeholder color */
}
.media-card img { width: 50%; height: 50%; object-fit: cover; pointer-events: none; }

/* NAVIGATION ARROWS */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--midnight);
    color: var(--light-blue);
    border: 1px solid var(--teal);
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}
.prev { left: -60px; }
.next { right: -60px; }
.nav-btn:hover { background: var(--teal); }

/* PAGINATION DOTS */
.carousel-dots {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.dot {
    width: 10px; height: 10px;
    background: var(--sage);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}
.dot.active { background: var(--light-blue); opacity: 1; transform: scale(1.3); }

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .nav-btn { display: none; } /* Hide arrows on touch screens */
    .carousel-container { max-width: 90%; }
    .card { flex: 0 0 100%; } /* Show 1 card */
    .carousel-dots {
        display: flex;
        gap: 12px;
        margin-top: 30px;
    }
    .dot {
        width: 5px; height: 5px;
        background: var(--sage);
        border-radius: 50%;
        cursor: pointer;
        opacity: 0.4;
        transition: 0.3s;
    }
}
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Above everything else */
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(27, 11, 35, 0.95); /* Dark Plum with high opacity */
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 30px; right: 40px;
    color: var(--light-blue);
    font-size: 50px;
    cursor: pointer;
}

#lightbox-caption {
    color: var(--light-blue);
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}