/* Reset body and html margins */
body, html {
    margin: 0;
    padding: 0;
    background: #000000;
}

/* School Project Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, #e4a419 0%, #f7dc6f 100%);
    border-bottom: 2px solid #8b4513;
    color: #000000;
    font-size: 1rem;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.disclaimer-banner i {
    color: #000000;
    font-size: 1.2rem;
}

.disclaimer-banner strong {
    color: #000000;
    text-shadow: 0 0 3px rgba(139, 69, 19, 0.4);
}

.disclaimer-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}

.disclaimer-link:hover {
    color: #9c4600;
    text-shadow: 0 0 2px rgba(162, 162, 162, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 2px 15px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
}

.logo-LDR {
    content: url("../images/law-day-run-logo-lg.png");
    transition: transform 0.3s ease;
}
.logo-LDR:hover {
    transform: scale(1.05);
}
.logo-LDR-brand {
    content: url("../images/law-day-run-logo-brand.png");
    transition: transform 0.3s ease;
}
.logo-LDR-brand:hover {
    transform: scale(1.1);
}

.background-img-1 {
    background-image: url("../images/background-images/1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.background-img-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}
.background-img-1 > * {
    position: relative;
    z-index: 2;
}
.background-img-2 {
    background-image: url("../images/background-images/2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.background-img-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
.background-img-2 > * {
    position: relative;
    z-index: 2;
}

header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: slideDown 0.8s ease-out;
    border-bottom: 1px solid #ffd700;
    transition: all 0.3s ease;
    position: relative;
}

/* Navbar styling - now separate from header */
.navbar {
    background: linear-gradient(135deg, #131313 0%, #2d2d2d 100%) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 2px solid #ffd700;
    box-shadow: 0 4px 20px rgba(14, 14, 14, 0.5);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navbar improvements - moved above */

/* Navbar scroll effect */
.navbar.scrolled {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.95) 100%) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #32cd32);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Main is used for the outer part of the page the sides */
main {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Inner Part of the Main Section */
#wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #ffffff;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.text-shadow-1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.1);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Satisfy', cursive;
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.yellow-text{
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}
.bronze-text{
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.grey-text {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
} 
.silver-text {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
} 
.green-text {
    color: #32cd32;
    text-shadow: 0 0 15px rgba(50, 205, 50, 0.5);
}
.lime-text {
    color: #32cd32;
    text-shadow: 0 0 15px rgba(50, 205, 50, 0.5);
}

.white-text {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.blue-text {
    color: #32cd32;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.4);
}
.company-name {
    width: fit-content;
    padding: 20px 30px;
    transition: all 0.3s ease;
}
.company-name:hover {
    transform: translateY(-5px);
}

.facebook-Link {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.facebook-Link:hover {
    color: #32cd32;
    text-shadow: 0 0 15px rgba(50, 205, 50, 0.5);
    transform: translateY(-2px);
}

footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    border-top: 3px solid #ffd700;
    padding: 2rem 0;
}

.display-7 {
    font-size: 1.5rem;
}

.link-info, .link-warning {
    text-decoration: none;
}

/* Modern Button Styles */
.btn {
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-warning {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    color: #000000;
    font-weight: 700;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    color: #000000;
}

.btn-primary {
    background: linear-gradient(135deg, #32cd32 0%, #228b22 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(50, 205, 50, 0.6);
    background: linear-gradient(135deg, #228b22 0%, #32cd32 100%);
    color: #ffffff;
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    color: #000000;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    color: #000000;
}

/* Countdown Timer Styling */
.container-day, .container-hours, .container-minutes, .container-seconds {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.container-day:hover, .container-hours:hover, .container-minutes:hover, .container-seconds:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.7);
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
}

/* Carousel Improvements */
.carousel-item img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.02);
}

/* Card-like sections - only apply to content sections, not sponsor images or button containers */
.row > div:not(.col-12):not(.col-lg-6):not(.col-4):not(.d-flex) {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 10px 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.row > div:not(.col-12):not(.col-lg-6):not(.col-4):not(.d-flex):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Sponsor image styling - simplified to prevent overlap */
.sponsor-section .row > div {
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sponsor-section .row > div:hover {
    transform: scale(1.02);
}

.sponsor-section img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-section img:hover {
    transform: scale(1.05);
}

/* Sponsor section spacing */
.sponsor-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

/* Extra spacing for the last sponsor section */
.sponsor-section:last-of-type {
    margin-bottom: 6rem;
    padding-bottom: 3rem;
}

.sponsor-section h2 {
    margin-bottom: 3rem;
    text-align: center;
}

/* Ensure proper spacing between sections */
hr {
    margin: 3rem 0;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .container-day, .container-hours, .container-minutes, .container-seconds {
        margin: 5px;
        padding: 15px;
    }
    
    #wrapper {
        margin: 10px;
        border-radius: 15px;
    }
}