/* Custom CSS for Valida Saft-AO */

:root {
    --bs-primary: #2563eb;
    --bs-success: #059669;
    --bs-light: #f8fafc;
    --bs-dark: #1e293b;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(37, 99, 235, 0.95) !important;
}

.navbar-scrolled {
    background: rgba(37, 99, 235, 1) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #a7f3d0 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-60px); }
}

.hero-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
}

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

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

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1d4ed8 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, #047857 100%);
}

/* Button Styles */
.btn-hover {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Benefit Cards */
.benefit-card {
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--bs-primary);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    width: 30px;
    height: 30px;
}

/* Steps Section */
.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.step-icon-size {
    width: 50px;
    height: 50px;
}

.step-card {
    position: relative;
}

/* About Section */
.about-content {
    border: 1px solid #e2e8f0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--bs-success);
    transform: translateY(-2px);
    color: white !important;
}

/* Contact Info */
.contact-info a:hover {
    color: var(--bs-success) !important;
}

/* Hover Effects */
.hover-primary:hover {
    color: var(--bs-primary) !important;
}

/* Utilities */
.backdrop-blur {
    backdrop-filter: blur(10px);
}

.min-vh-100 {
    min-height: calc(100vh - 76px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .min-vh-100 {
        min-height: auto;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-icon-size {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .benefit-card,
    .step-card {
        margin-bottom: 1rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--bs-success);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .social-links {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        margin-top: 0;
    }
    
    .bg-primary,
    .bg-success {
        background: white !important;
        color: black !important;
    }
}