/*
 * Veda Arts Custom Styling - Modern Digital Showcase
 * Theme: Midnight Violet / Cyan Cyberpunk Glow
 */

:root {
    --bg-dark: #070614;
    --bg-card: #0e0d24;
    --bg-glass: rgba(14, 13, 36, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --color-cyan: #06b6d4;
    --color-magenta: #d946ef;
    --color-purple: #8b5cf6;
    --color-indigo: #6366f1;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Navbar Custom Styling */
.glass-navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
    transition: var(--transition-smooth);
    z-index: 1050;
}

.navbar-spacer {
    height: 80px;
}

.logo-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 16px;
    transition: var(--transition-smooth);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Buttons */
.btn-glow-primary {
    background: linear-gradient(135deg, var(--color-purple), var(--color-indigo));
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    transition: var(--transition-smooth);
}

.btn-glow-primary:hover {
    background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
    color: #fff;
    box-shadow: 0 0 25px rgba(217, 70, 239, 0.6);
    transform: translateY(-2px);
}

.btn-outline-cyan {
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-cyan:hover {
    color: var(--bg-dark);
    background: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(6, 182, 212, 0.1);
}

/* Accent Gradients & Texts */
.text-gradient-cyan {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-rainbow {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple), var(--color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted-custom {
    color: #cbd5e1 !important;
}

.text-muted {
    color: #94a3b8 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 150px;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.1), transparent 45%);
    overflow: hidden;
}

.hero-glow-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-cyan);
    filter: blur(150px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-blob-1 { top: 10%; right: 10%; }
.hero-glow-blob-2 { bottom: 10%; left: 5%; background: var(--color-magenta); }

/* Service Cards Grid */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.glass-card:hover .service-icon-wrapper {
    background: var(--color-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--color-cyan);
}

/* Gallery Portfolio grid */
.gallery-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 30px;
    padding: 8px 20px;
    transition: var(--transition-smooth);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--color-cyan);
    color: var(--bg-dark);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.gallery-item-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    background: var(--bg-card);
}

.gallery-item-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 6, 20, 0.95) 0%, rgba(7, 6, 20, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

/* Lightbox Modal (Custom pure CSS/JS fallback for gallery item display) */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 20, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    color: var(--text-primary);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--text-primary);
}

/* Form Styles */
.form-glass-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px;
    transition: var(--transition-smooth);
}

.form-glass-input:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    color: var(--text-primary);
    outline: none;
}

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

select.form-glass-input option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Footer Custom design */
.footer-section {
    background-color: #030309;
    border-top: 1px solid var(--border-glass);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-cyan);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-cyan);
    padding-left: 5px;
}

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

.social-link:hover {
    color: var(--bg-dark);
    background: var(--color-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.admin-login-link {
    transition: var(--transition-smooth);
}

.admin-login-link:hover {
    color: var(--text-primary) !important;
}

/* Admin Dashboard Custom Styles */
.admin-sidebar {
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-glass);
    min-height: 100vh;
}

.admin-nav-link {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: var(--transition-smooth);
}

.admin-nav-link:hover, 
.admin-nav-link.active {
    background-color: rgba(255,255,255,0.03);
    color: var(--color-cyan);
}

.admin-nav-link i {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Timeline component for About page */
.timeline-item {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--border-glass);
    padding-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Chatbot Floating Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1040;
    font-family: 'Inter', sans-serif;
}

.chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
}

.chatbot-trigger:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(217, 70, 239, 0.6);
}

.chatbot-trigger .badge-unread {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: var(--color-magenta);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-magenta);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 60px);
    height: 520px;
    max-height: calc(100vh - 150px);
    background: rgba(14, 13, 36, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(6, 182, 212, 0.15);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.chatbot-status {
    display: flex;
    flex-direction: column;
}

.chatbot-status .bot-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
}

.chatbot-status .bot-online {
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status .bot-online::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
}

/* Scrollbar styling for chatbot body */
.chatbot-body::-webkit-scrollbar {
    width: 5px;
}

.chatbot-body::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.chatbot-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    animation: fadeInUp 0.3s ease-out forwards;
}

.chatbot-message.bot {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chatbot-message.user {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

/* Typing Indicator */
.chatbot-message.typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
    align-self: flex-start;
}

.chatbot-message.typing span {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chatbot-message.typing span:nth-child(1) { animation-delay: -0.32s; }
.chatbot-message.typing span:nth-child(2) { animation-delay: -0.16s; }
.chatbot-message.typing span:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* User choices and actions */
.chatbot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
    animation: fadeInUp 0.4s ease-out forwards;
    align-self: flex-start;
    max-width: 90%;
}

.chatbot-option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-cyan);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-option-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.chatbot-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 6, 20, 0.5);
}

.chatbot-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chatbot-input:focus {
    border-color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.2);
}

.chatbot-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-cyan);
    border: none;
    color: var(--bg-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chatbot-send-btn:hover {
    background: var(--color-purple);
    color: #fff;
    box-shadow: 0 0 10px var(--color-purple);
}

.chatbot-send-btn:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

