﻿/* Modern font stack */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

/* ===== NAVBAR STYLES ===== */

.navbar {
    background: linear-gradient(to right, #000000 0%, #FF0000 48%) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background: #FF0000 !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

/* Nav Link Styling */
.nav-link {
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    transition: color 0.2s ease;
    color: rgba(255, 255, 255, 0.92) !important;
    position: relative;
    z-index: 1;
}

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: rgba(255,255,255,0.15);
        border-radius: 0.5rem;
        z-index: -1;
        transition: width 0.3s ease;
    }

    .nav-link:hover::before {
        width: 100%;
    }

    .nav-link:hover {
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    /* Active state underline */
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: black;
        border-radius: 2px;
        transform-origin: left;
        transition: transform 0.3s ease;
        transform: scaleX(1);
    }

.logo {
    height: 70px;
}

/* Dropdown Toggle Arrow */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    border: none;
    content: "▼";
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    min-width: 240px;
    background: #ffffff;
    animation: fadeInUp 0.3s ease forwards;
    margin-top: 0.5rem;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Footer */
footer {
    background: linear-gradient(to right, #000000 0%, #FF0000 48%);
    color: #e8eaf6;
}

    footer a {
        color: white;
        text-decoration: none;
        transition: color 0.2s;
    }

        footer a:hover {
            color: white;
            text-decoration: underline;
        }

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 1.5rem 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 8px;
    transition: background 0.3s;
}

    .social-icon:hover {
        background: rgba(255,255,255,0.2);
    }

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 72px;
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 64px;
    }
}



.dropdown-item {
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    color: #212529;
    transition: all 0.2s ease;
    border-radius: 0 50px 50px 0;
    margin: 0 0.5rem;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: red;
        transform: translateX(4px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .dropdown-item.active,
    .dropdown-item:active {
        background-color: rgba(255, 0, 0, 0.1);
        color: red;
    }

.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Ensure dropdown appears above navbar */
.navbar.fixed-top .dropdown-menu {
    z-index: 1050;
    margin-top: 2px;
}

/*Index.cshtml*/

.hover-shadow:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15) !important;
}

.z-1 {
    z-index: 1;
}

.hero-banner {
    background: linear-gradient(to right, #000000 0%, #FF0000 48%)
}


.text-summer {
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .text-summer {
        margin-top: 80px;
    }
}

.red-text {
    color: red;
}

.bg-red {
    background-color: red;
}


/*footer strip*/
.footer-strip {
    background-image: url(/images/image.png);
    background-repeat: repeat;
    background-size: 350px 200px;
    background-position: center;
    height: 100px;
    width: 100%;
}

/* ===== PHOTO ALBUM STYLES */
.album-cover {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .3s ease;
}

.album-cover-empty {
    background: #f8f9fa;
    height: 180px;
}

.album-thumb {
    border-radius: 12px !important;
    transition: box-shadow .25s, transform .25s;
    overflow: hidden;
}

.album-card:hover .album-thumb {
    box-shadow: 0 8px 28px rgba(220,53,69,0.18) !important;
    transform: translateY(-4px);
}

.album-card:hover .album-cover {
    transform: scale(1.04);
}

/* ===== LOGO PARADE STYLES */
.logo-parade-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    perspective: 1000px;
    transform-style: preserve-3d;
    mask-image: linear-gradient(to right, transparent 5%, black 20%, black 80%, transparent 95% );
}

.logo-parade-track {
    display: flex;
    animation: scroll-3d-left 50s linear infinite;
    padding: 15px 0;
}
.logo-parade-container:hover .logo-parade-track {
    animation-play-state: paused;
}

.logo-parade-item {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 25px;
    padding: 10px 0;
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
    opacity: 0.85;
}

    .logo-parade-item img {
        height: 90px;
        width: 100%;
        object-fit: contain;
    }
    .logo-parade-item:hover {
        opacity: 1;
        transform: scale(1.15) translateY(-5px);
        filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.7));
    }

@keyframes scroll-3d-left {
    0% {
        transform: translate3d(0, 0, 0) rotateY(10deg);
    }

    100% {
        transform: translate3d(-50%, 0, 0) rotateY(-10deg);
    }
}

@media (max-width: 768px) {
    .logo-parade-track {
        animation: scroll-3d-left 5s linear infinite;
    }

    .logo-parade-item {
        width: 150px;
        margin: 0 15px;
    }

        .logo-parade-item img {
            height: 70px;
        }
}

.card-header {
    color: #FF0000;
}

article .card-body p {
    line-height: 1.8;
}

/* =========================================
           DESKTOP VIEW (Screens > 991px) - HOVER ENABLED
           ========================================= */
@media (min-width: 992px) {

    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; 
    }

    .dropdown-menu .dropend {
        position: relative;
    }

    .dropend:hover > .dropdown-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -8px;
        margin-left: 0;
    }

    .nav-item.dropdown .dropdown-menu {
        overflow: visible;
    }
}

/* =========================================
           Mobile VIEW (Screens < 991px) - Click ENABLED
           ========================================= */
@media (max-width: 991px) {
    .dropdown-menu .dropend .dropdown-menu.show {
        display: block;
        position: static;
        width: 100%;
        margin-left: 0;
        padding-left: 20px; 
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
    }
}