/* 
 * PrintHub Custom CSS 
 * Most styling is handled by Bootstrap 5 Utility Classes.
 * This file contains specific overrides and custom branding variables.
 */

:root {
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --secondary-color: #3f37c9;
    --accent-color: #f72585;
    --success-color: #4cc9f0;
    --dark-bg: #0b090a;
    --light-bg: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --font-primary: 'Inter', sans-serif;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    color: var(--dark-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Sections */
.hero-premium {
    background: radial-gradient(circle at top right, var(--primary-light), var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 30px 0;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Admin Sidebar Enhancements */
.sidebar .nav-link {
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 25px;
    /* Subtle slide effect */
}

/* Utilities */
.object-fit-cover {
    object-fit: cover;
}

/* Transitions & Hover Effects */
.card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    border-radius: 20px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow) !important;
}

.btn-premium {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-premium-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-premium-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--accent-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin: 8px auto;
    border-radius: 2px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Gallery Hover Effects */
.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 97, 238, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    color: white;
    text-align: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card img {
    transition: all 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

a {
    transition: color 0.2s;
}