@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --accent-cyan: #00f0ff;
    --accent-magenta: #ff007f;
    --accent-yellow: #ffe600;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    /* Default horizontal split for mobile */
    background: linear-gradient(180deg, #f1f1f1 0%, #f1f1f1 50%, #f8fafc 50%, #f8fafc 100%);
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    body {
        /* Vertical split for desktop */
        /*background: linear-gradient(90deg, #f1f1f1 0%, #f1f1f1 50%, #f8fafc 50%, #f8fafc 100%);*/
        background-color: #f1f1f1;
    }
}

/* Ambient neon glow for Digital Printing (Left) */
body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 40vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(0, 240, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Ambient neon glow for Offset Printing (Right) */
body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 40vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.05) 0%, rgba(255, 0, 127, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Glassmorphism Navbar */
.navbar-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light) !important;
}

/* Gradients and Text */
.text-gradient-cmyk {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-magenta) 50%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-magenta {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 0, 127, 0.05) 0%, transparent 40%);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
}

/* Service Cards Section (Digital vs Offset) */
.services-container {
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 1;
}

.printing-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 580px;
    border: 1px solid var(--glass-border);
    background-color: var(--secondary-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.printing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 45%, transparent 75%);
    transition: opacity 0.5s ease;
}

.printing-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.printing-card-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    text-align: center;
}

/* Hover effects for card and image */
.printing-card:hover {
    transform: translateY(-8px);
}

.printing-card:hover .printing-card-img {
    transform: scale(1.06);
}

/* Specific theme highlights on cards */
.card-digital:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.card-offset:hover {
    border-color: rgba(255, 0, 127, 0.4);
    box-shadow: 0 20px 40px rgba(255, 0, 127, 0.15);
}

/* Overlay Buttons */
.btn-cmyk-cyan {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-cyan);
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.btn-cmyk-cyan:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-cmyk-magenta {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-magenta);
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}

.btn-cmyk-magenta:hover {
    background: var(--accent-magenta);
    color: var(--text-light);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.4);
    transform: translateY(-2px);
}

/* Secondary Actions */
.btn-outline-custom {
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
    color: #fff;
}

/* Feature Section */
.features-section {
    padding: 100px 0;
    background: var(--secondary-dark);
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.feature-box {
    padding: 30px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon-cyan {
    color: var(--accent-cyan);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-icon-magenta {
    color: var(--accent-magenta);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-icon-yellow {
    color: var(--accent-yellow);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Footer styling */
footer {
    padding: 60px 0 30px 0;
    background-color: var(--primary-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .printing-card {
        height: 480px;
        margin-bottom: 30px;
    }
    .hero-section {
        padding: 140px 0 80px 0;
    }
}

@media (max-width: 575.98px) {
    .printing-card-content {
        padding: 24px 20px;
    }
    .btn-cmyk-cyan, .btn-cmyk-magenta {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}
