/* ---------------- Splash Screen ---------------- */

#splashScreen{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    animation:fadeOut .8s ease forwards;
    animation-delay:2.2s;
}

.logo-container{
    animation:logoIntro 1.5s ease;
}

.logo-container img{
    width:180px;
    height:180px;
    object-fit:contain;
}

/* Logo Animation */

@keyframes logoIntro{

    0%{
        opacity:0;
        transform:scale(.55);
    }

    60%{
        opacity:1;
        transform:scale(1.08);
    }

    100%{
        opacity:1;
        transform:scale(1);
    }

}

/* Screen Fade */

@keyframes fadeOut{

    to{
        opacity:0;
        visibility:hidden;
    }

}

:root{
    --wine:#6b1f2b;
    --wine-dark:#3f1018;
    --cream:#fff6e8;
    --soft:#f3dfc7;
    --brown:#7b4b32;
    --text:#2b1d17;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background:var(--cream);
    color:var(--text);
}

.navbar{
    background:rgba(255,246,232,0.95);
    box-shadow:0 4px 18px rgba(0,0,0,0.08);
}

.navbar-brand{
    color:var(--wine)!important;
    font-weight:800;
    letter-spacing:.5px;
}

.nav-link{

    position:relative;

    font-weight:600;

    transition:.3s;
}

.nav-link::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-5px;

    width:0;

    height:3px;

    background:var(--wine);

    border-radius:10px;

    transition:.3s;
}

.nav-link:hover::after{

    width:100%;
}

.nav-link:hover{

    color:var(--wine)!important;
}

.nav-link:hover{
    color:var(--wine)!important;
}

.nav-logo{
    width:45px;
    height:45px;
    object-fit:contain;
    background:#111;
    border-radius:50%;
    padding:5px;
}

.btn-wine{
    background:var(--wine);
    color:white;
    border:none;
    border-radius:30px;
    padding:10px 22px;
}

.btn-wine:hover{
    background:var(--wine-dark);
    color:white;
}

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(rgba(255,246,232,.90), rgba(255,246,232,.90)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?q=80&w=1600");
    background-size:cover;
    background-position:center;
}

.hero h1{
    font-size:clamp(2.4rem, 6vw, 5rem);
    font-weight:900;
    color:var(--wine-dark);
}

.hero-card{
    background:white;
    border-radius:30px;
    padding:25px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.section-title{
    color:var(--wine);
    font-weight:900;
}

.card{
    border:none;
    border-radius:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    overflow:hidden;
}

.menu-card img{
    height:210px;
    object-fit:cover;
}

.price{
    color:var(--wine);
    font-weight:800;
}

.badge-wine{
    background:var(--wine);
    color:white;
}

.form-control, .form-select{
    border-radius:15px;
    padding:12px;
}

.footer{
    background:var(--wine-dark);
    color:white;
    padding:25px 0;
    margin-top:60px;
}

.feature-box{
    background:white;
    border-radius:20px;
    padding:24px;
    height:100%;
    box-shadow:0 8px 20px rgba(0,0,0,.07);
}

.contact-box{
    background:white;
    border-left:8px solid var(--wine);
    border-radius:20px;
    padding:25px;
}

.goodman-hero{
    background:
    linear-gradient(rgba(255,246,232,.82), rgba(255,246,232,.88)),
    url("banner.jpeg");
    background-size:cover;
    background-position:center;
}

.feature-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.feature-link:hover .feature-box{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(0,0,0,.12);
}

.feature-box{
    transition:.3s ease;
    cursor:pointer;
}

.order-summary{
    background:#fffaf1;
    border:1px solid var(--soft);
    border-radius:20px;
    padding:20px;
}

.order-summary table{
    background:white;
    border-radius:15px;
    overflow:hidden;
}

.order-summary th{
    color:var(--wine);
}

.featured-carousel{
    max-width:1000px;
    margin:auto;
}

.featured-img{
    height:480px;
    object-fit:cover;
    filter:brightness(55%);
}

.carousel-caption{
    bottom:25%;
}

.carousel-caption h3{
    font-size:clamp(2rem, 4vw, 4rem);
    font-weight:900;
}

.carousel-caption p{
    font-size:1.1rem;
}

.carousel-indicators button{
    width:12px!important;
    height:12px!important;
    border-radius:50%;
}

.star-rating{
    font-size:40px;
    color:#ccc;
    cursor:pointer;
    user-select:none;
}

.star{
    transition:.2s;
}

.star:hover{
    transform:scale(1.15);
}

.star.active{
    color:#FFD700;
}

.social-btn{

    display:flex;
    align-items:center;
    gap:15px;

    background:white;

    padding:16px 20px;

    border-radius:18px;

    margin-bottom:15px;

    text-decoration:none;

    color:var(--wine);

    font-weight:700;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.25s;

}

.social-btn:hover{

    background:var(--wine);

    color:white;

    transform:translateY(-5px);

}

.social-btn i{

    font-size:28px;

}

.register-card{
    max-width:550px;
    margin:auto;
    padding:40px;
    border-radius:20px;
    background:white;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.login-card{
    border-radius:28px;
}

.login-logo{
    width:90px;
    height:90px;
    object-fit:contain;
    background:#111;
    border-radius:50%;
    padding:10px;
}

.user-nav{
    font-weight:700;
    color:var(--wine)!important;
}

.premium-dropdown{

    margin-top:12px;

    border:none;

    border-radius:18px;

    padding:10px;

    min-width:250px;

    background:#fff;

    box-shadow:
    0 18px 45px rgba(0,0,0,.12);

    animation:dropdownFade .25s ease;
}
.dropdown-header{

    padding:15px;
}

.premium-dropdown .dropdown-item{
    border-radius:12px;
    padding:10px 14px;
    font-weight:600;
}

.premium-dropdown .dropdown-item:hover{
    background:var(--cream);
    color:var(--wine);
}

/* ---------- Profile Button ---------- */

.user-nav{
    display:flex;
    align-items:center;
    gap:10px;

    color:var(--wine)!important;
    font-weight:600;
}

.profile-dot{

    width:14px;
    height:14px;

    border-radius:50%;
    background:#111;

    display:inline-block;
}

.profile-name{
    font-weight:700;
}

@keyframes dropdownFade{

    from{

        opacity:0;

        transform:translateY(-10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }


    
}

.admin-layout{
    display:flex;
    min-height:100vh;
    background:#f8f1e8;
}

.admin-sidebar{
    width:260px;
    background:#111;
    color:white;
    padding:30px 20px;
}

.admin-sidebar h4{
    margin-bottom:30px;
}

.admin-sidebar a{
    display:block;
    color:white;
    text-decoration:none;
    padding:13px 15px;
    border-radius:12px;
    margin-bottom:10px;
    font-weight:600;
}

.admin-sidebar a:hover{
    background:var(--wine);
}

.logout-link{
    color:#ffb3b3!important;
}

.admin-content{
    flex:1;
    padding:35px;
}

.admin-card{
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.status-pending{ background:#ffc107!important; color:#111!important; }
.status-accepted{ background:#6c757d!important; }
.status-preparing{ background:#fd7e14!important; }
.status-ready{ background:#0d6efd!important; }
.status-completed{ background:#198754!important; }
.status-cancelled{ background:#dc3545!important; }

.admin-stat-pending{ border-left:6px solid #ffc107; }
.admin-stat-preparing{ border-left:6px solid #fd7e14; }
.admin-stat-ready{ border-left:6px solid #0d6efd; }
.admin-stat-completed{ border-left:6px solid #198754; }