/* Custom CSS for Easy Nail POS Vision */

/* Root Variables - Bootstrap-inspired Purple Theme */
:root {
    /* Bootstrap Purple Color Palette */
    --primary-color: #6f42c1;       
    --primary-dark: #59359a;        
    --primary-light: #8563c1;    
    --secondary-color: #6c757d;     
    --accent-color: #e83e8c;       
    
    /* Neutral Colors */
    --text-primary: #212529;        
    --text-secondary: #6c757d;     
    --text-muted: #adb5bd;          
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;          
    --bg-dark: #212529;          
    --bg-black: #000000;
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #6f42c1 0%, #8563c1 50%, #212529 100%);
    --gradient-dark: linear-gradient(135deg, #212529 0%, #000000 100%);
    
    /* Shadow Effects */
    --shadow-light: 0 2px 10px rgba(111, 66, 193, 0.1);
    --shadow-medium: 0 4px 20px rgba(111, 66, 193, 0.15);
    --shadow-heavy: 0 8px 30px rgba(111, 66, 193, 0.2);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Global Overrides */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.fw-bold {
    font-weight: 600 !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="nail-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23nail-pattern)"/></svg>');
    pointer-events: none;
}

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

.min-vh-75 {
    min-height: 60vh; 
}

.hero-tagline {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-placeholder {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-image-placeholder:hover {
    transform: scale(1.02);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(111, 66, 193, 0.1);
    position: relative;
    overflow: hidden;
    background: var(--bg-white);
    padding: 2.5rem 1.5rem !important; /* Slightly reduced padding */
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    left: 0;
}

.feature-icon i {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    color: var(--primary-light) !important;
}

/* Vision & Mission Sections */
#vision, #mission {
    padding: 3rem 0; 
}

.vision-illustration,
.mission-illustration {
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem !important; 
}

.vision-illustration:hover,
.mission-illustration:hover {
    transform: scale(1.02);
}

/* Blockquotes */
blockquote {
    position: relative;
    padding-left: 2rem;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Registration Form */
.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 90, 140, 0.25);
}

.form-control-lg,
.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-label {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-medium);
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 3rem 0; 
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M12.5 2.5 L17.5 7.5 L12.5 12.5 L7.5 7.5 Z" fill="rgba(255,255,255,0.03)" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Navigation Enhancements */
.navbar-dark.bg-primary {
    background: var(--primary-dark) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Georgia', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand i {
    color: var(--bg-white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Form Check Enhancements */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .hero-tagline {
        margin-top: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary) !important;
}

.shadow-primary {
    box-shadow: var(--shadow-medium) !important;
}

/* Footer */
footer {
    background: var(--gradient-dark) !important;
    padding: 2rem 0 !important; 
}

footer .text-white {
    opacity: 0.9; 
}

/* Professional Touch */
.professional-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

/* Icon Enhancements */
.bi {
    vertical-align: -0.125em;
}

/* Link Hover Effects */
a:not(.btn) {
    transition: color 0.3s ease;
}

a:not(.btn):hover {
    color: var(--primary-light) !important;
}

/* Additional Bootstrap-inspired utilities */
.text-purple {
    color: var(--primary-color) !important;
}

.bg-purple {
    background-color: var(--primary-color) !important;
}

.border-purple {
    border-color: var(--primary-color) !important;
}

.btn-purple {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.btn-purple:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-outline-purple {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Enhanced card styling */
.card-purple {
    border: 1px solid rgba(111, 66, 193, 0.2);
}

.card-purple .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-bottom: none;
}

/* Alert variations */
.alert-purple {
    background-color: rgba(111, 66, 193, 0.1);
    border-color: rgba(111, 66, 193, 0.2);
    color: var(--primary-dark);
}

/* Badge variations */
.badge-purple {
    background-color: var(--primary-color);
    color: white;
}

/* Progress bar */
.progress-purple .progress-bar {
    background: var(--gradient-primary);
}