﻿/* --- Navbar --- */
/*.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

    .main-navbar h3 {
        font-weight: 800;
        letter-spacing: 1px;
    }

    .main-navbar .btn-login,
    .main-navbar .btn-register {
        padding: 8px 24px;
        font-weight: 600;
        border-radius: 30px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }*/

/* Login Button */
/*.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

    .btn-login:hover {
        background: #fff;
        color: #CC0000;
        transform: translateY(-2px);
    }*/

/* Register Button */
/*.btn-register {
    background: #CC0000;
    color: #fff;
}

    .btn-register:hover {
        background: #a30000;
        transform: translateY(-2px);
    }*/


/*.custom-navbar {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    padding: 0.8rem 1rem;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.login-btn {
    border: 2px solid #fff;
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 22px;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        background-color: #fff;
        color: #CC0000 !important;
    }

.register-btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 22px;
    background-color: #CC0000;
    border: none;
    transition: all 0.3s ease;
}

    .register-btn:hover {
        background-color: #b00000;
    }*/


/* --- Hero Section --- */
/*.hero {
    position: relative;
    background: url('/Image/imageattendance.png') center center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

    .hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: brightness(50%);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

    .hero-content h1 {
        font-size: 4.2rem;
        font-weight: 800;
    }

    .hero-content p {
        font-size: 1.6rem;
        color: #f1f1f1;
    }

.hero .btn-primary {
    background-color: #fff;
    color: #CC0000;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .hero .btn-primary:hover {
        background-color: #CC0000;
        color: #fff;
    }*/

/* Navbar */
.custom-navbar {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    padding: 0.8rem 1rem;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.login-btn {
    border: 2px solid #fff;
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 22px;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        background-color: #fff;
        color: #CC0000 !important;
    }

.register-btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 22px;
    background-color: #CC0000;
    border: none;
    transition: all 0.3s ease;
}

    .register-btn:hover {
        background-color: #b00000;
    }


.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('/Image/imageattendance.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

    .hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #fff;
}

    /* Hero Typography */
    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        color: #f5f5f5;
    }

    /* Hero Button */
    .hero-content .btn {
        border-radius: 50px;
        padding: 12px 30px;
        font-size: 1.1rem;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

        .hero-content .btn:hover {
            transform: scale(1.08);
        }

/* 🔹 Animation Effects */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-in forwards;
    animation-delay: 0.3s;
}

.animate-zoom-in {
    animation: zoomIn 1.2s ease-out forwards;
    animation-delay: 0.6s;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: right;
    }

    .login-btn, .register-btn {
        display: inline-block;
        width: auto;
        margin-top: 10px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}


/* --- Features --- */
.features h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.features .feature-box {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .features .feature-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

/* --- CTA --- */
.cta {
    background-color: #CC0000;
}

/* --- Footer --- */
footer {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
