/* ===============================
   FOOTER STYLES
   =============================== */
.custom-footer {
    background-color: #332436ff;
    color: #f0f0f0;
    margin-top: 0;
}

footer {
    margin-top: 0;
}

.custom-footer a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: #bfa8c9ff;
}


/* ===============================
   CAROUSEL / HERO SECTION
   =============================== */
.carousel-item {
    height: 100vh;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroCarousel {
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-overlay h1 {
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0px 4px 12px rgba(0,0,0,0.7);
}

.hero-overlay p {
    font-size: 2rem;
    margin-top: 15px;
    text-shadow: 0px 3px 8px rgba(0,0,0,0.6);
}

/* ===============================
   OFFCANVAS MENU
   =============================== */
.collapse.bg-light {
    transition: transform 0.3s ease;
}

#offcanvasMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 15rem;
    height: 100vh;
    z-index: 1050;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}


#offcanvasMenu.show {
    transform: translateX(0);
}

#offcanvasMenu .nav-link {
    color: black;
}

.navbar {
    position: relative; /* needed for z-index to take effect */
    z-index: 1100;      /* higher than the offcanvas menu (1050) */
}


#offcanvasMenu .nav-link:hover {
    color: #bfa8c9ff;
}

.menu-trigger {
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
}

.menu-trigger:hover {
    color: #bfa8c9ff;
}

/* ===============================
   GENERAL PAGE STYLES
   =============================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}



.container p.lead:last-child {
  margin-bottom: 0;
}

#profileCarousel,
#profileCarousel .carousel-inner,
#profileCarousel .carousel-item {
  height: auto !important;
}


/* ===============================
   OM OS
   =============================== */

.member:nth-of-type(odd) {
    background-color: rgb(236, 184, 247, 0.30);   /* light gray */
}

.member:nth-of-type(even) {
    background-color: #ffffff;   /* white */
}

/* ===============================
   Projekter
   =============================== */


.projekt:nth-of-type(odd) {
    background-color: rgba(184, 211, 247, 0.3);   /* light gray */
}



.projekt:nth-of-type(even) {
    background-color: #ffffff;   /* white */
}



/* ===============================
   mobile
   =============================== */

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    pointer-events: none;  /* optional: allow clicks to pass through */
    z-index: 10;
}

.hero-overlay h1 {
    font-size: 80px;  /* desktop size */
    line-height: 1;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }
}


#heroCarousel {
    position: relative;   /* so absolute overlay positions relative to carousel */
}
