/* * Nikkami Aulaad - Next Gen Theme
 * Premium, Modern, Dark/Yellow Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #f4b619;       /* Signature Yellow */
    --primary-dark: #d9a010;  /* Darker Yellow for hover */
    --dark: #121212;          /* Deep Black */
    --dark-grey: #1e1e1e;     /* Card Background */
    --light: #f8f9fa;
    --text-main: #333;
    --text-muted: #6c757d;
    --danger: #ff4757;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f8;
    color: var(--text-main);
    padding-top: 80px; /* Space for fixed header */
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 1. MODERN NAVBAR (Glassmorphism) --- */
.navbar {
    background: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-bar input {
    background: rgba(255,255,255,0.1);
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 10px 20px 10px 45px;
    color: #fff;
    transition: 0.3s;
}

.search-bar input:focus {
    background: rgba(255,255,255,0.15);
    box-shadow: none;
    border-color: var(--primary);
    color: #fff;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: 0.3s;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.1);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
    margin: 0 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- 2. HERO SLIDER --- */
.hero-slider {
    margin-top: -20px; /* Pull up to touch navbar */
}
.hero-slider .carousel-item {
    height: 500px;
    position: relative;
}
.hero-slider img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}
.hero-caption {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px 50px;
    border-radius: var(--radius);
    display: inline-block;
    animation: fadeInUp 1s ease-out;
}
.hero-caption h2 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- 3. CATEGORY CIRCLES (Floating) --- */
.cat-item a {
    text-decoration: none;
    color: var(--text-main);
    display: block;
    transition: 0.3s;
}
.cat-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid #fff;
    background: #fff;
    position: relative;
    z-index: 1;
}
.cat-item:hover .cat-circle {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.cat-item span {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}

/* --- 4. BUTTONS & UI ELEMENTS --- */
.btn {
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary, .btn-warning {
    background: var(--primary);
    border: none;
    color: #000;
}

.btn-primary:hover, .btn-warning:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 182, 25, 0.4);
    color: #000;
}

.btn-dark {
    background: var(--dark);
    border: none;
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-2px);
}

/* --- 5. FOOTER --- */
footer {
    background-color: var(--dark);
    color: #e0e0e0;
    padding-top: 80px;
    margin-top: 80px;
    border-top: 5px solid var(--primary);
}

footer h5, footer h6 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
    display: inline-block;
}

footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* --- 6. UTILITIES & ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-lift:hover {
    transform: translateY(-5px);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    box-shadow: none;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(244, 182, 25, 0.25);
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.breadcrumb-item a {
    color: var(--text-muted);
}
.breadcrumb-item.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-caption h2 { font-size: 2rem; }
    .hero-slider .carousel-item { height: 350px; }
    .navbar-collapse {
        background: var(--dark);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--radius);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
}