/*
 * Velrix Media - Premium Web Application Stylesheet
 * Custom CSS Custom Variables, Modern Typography, Glassmorphism, Neon Glows, Custom Widgets, and Animations
 */

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

:root {
    --primary: #0B1020;
    --secondary: #00D4FF;
    --accent: #7C3AED;
    --highlight: #00F5A0;
    --background: #050816;
    --surface: #111827;
    --surface-card: rgba(17, 24, 39, 0.7);
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glow-secondary: 0 0 15px rgba(0, 212, 255, 0.4);
    --glow-accent: 0 0 15px rgba(124, 58, 237, 0.4);
    --glow-highlight: 0 0 15px rgba(0, 245, 160, 0.4);
    --glass-bg: rgba(17, 24, 39, 0.55);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

p {
    color: var(--text-muted);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--highlight);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--background);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    box-shadow: var(--glow-secondary);
}

/* Typography Gradient Utilities */
.text-gradient-cyan-purple {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-mint {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Buttons & CTA */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--glow-accent);
    transition: var(--transition-smooth);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--highlight) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-secondary);
    color: var(--primary);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-outline-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 27px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    color: #FFFFFF;
    background: transparent;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
    background: var(--accent);
    box-shadow: var(--glow-accent);
    transform: translateY(-3px);
}

/* Glassmorphism Elements */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 40px 0 rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

/* Global Nav Header styles */
.navbar-velrix {
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 0;
    transition: var(--transition-smooth);
    z-index: 1030;
}

.navbar-velrix.scrolled {
    padding: 10px 0;
    background: rgba(5, 8, 22, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-velrix .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}

.navbar-velrix .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 10px;
    position: relative;
    padding: 6px 0;
}

.navbar-velrix .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: var(--transition-smooth);
}

.navbar-velrix .nav-link:hover,
.navbar-velrix .nav-link.active {
    color: #FFFFFF;
}

.navbar-velrix .nav-link:hover::after,
.navbar-velrix .nav-link.active::after {
    width: 100%;
}

/* Fullscreen Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgba(12, 16, 32, 0.9) 0%, rgba(5, 8, 22, 1) 90%);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    top: -10%;
    right: -10%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.hero-bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -10%;
    left: -10%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Portfolio Filters and Cards */
.portfolio-filter-btn {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.portfolio-filter-btn.active, 
.portfolio-filter-btn:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    box-shadow: var(--glow-accent);
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--glass-shadow);
    height: 380px;
}

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

.portfolio-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 8, 22, 0.95) 10%, rgba(5, 8, 22, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.08);
}

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

/* Before / After Slider Graphic */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.comparison-before {
    z-index: 1;
}

.comparison-after {
    z-index: 2;
    width: 50%;
    border-right: 3px solid var(--secondary);
    box-shadow: var(--glow-secondary);
}

.comparison-handle {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--secondary);
    cursor: ew-resize;
    transform: translateX(-50%);
}

.comparison-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-secondary);
    color: var(--primary);
    font-weight: bold;
    pointer-events: none;
}

/* Stats Counter Badge */
.stat-box {
    text-align: center;
    padding: 30px;
    border-radius: 16px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    text-shadow: var(--glow-secondary);
}

/* Timeline Process Chart */
.timeline-process {
    position: relative;
    border-left: 2px solid var(--glass-border);
    margin-left: 20px;
    padding-left: 30px;
}

.timeline-step {
    position: relative;
    margin-bottom: 40px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--background);
    box-shadow: var(--glow-accent);
}

.timeline-step.active::before {
    background: var(--highlight);
    box-shadow: var(--glow-highlight);
}

/* Floating Widgets */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: #FFFFFF;
}

.floating-whatsapp {
    background-color: #25D366;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.floating-call {
    background-color: var(--secondary);
}

.floating-call:hover {
    box-shadow: var(--glow-secondary);
}

/* Map & Contact Sections Styling */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Form Styles */
.form-velrix .form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #FFFFFF;
    padding: 12px 16px;
    transition: var(--transition-smooth);
}

.form-velrix .form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-velrix label {
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Footer Section */
.footer-velrix {
    background: #03050c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px 0;
    color: var(--text-muted);
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.footer-social-icon:hover {
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: var(--glow-accent);
    transform: translateY(-3px);
}
