/* Fortbubble - Dot Grid Journal Paper Background */

/* Dot Grid Background Pattern */
body {
    background-image: 
        radial-gradient(circle, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-attachment: fixed;
}

/* Alternative: More subtle dot pattern */
body.alternative-dots {
    background-image: 
        radial-gradient(circle, #f0f0f0 0.5px, transparent 0.5px);
    background-size: 15px 15px;
    background-position: 0 0;
    background-attachment: fixed;
}

/* Dense dot pattern for more technical feel */
body.dense-dots {
    background-image: 
        radial-gradient(circle, #d0d0d0 0.8px, transparent 0.8px);
    background-size: 12px 12px;
    background-position: 0 0;
    background-attachment: fixed;
}

/* Minimal dot pattern */
body.minimal-dots {
    background-image: 
        radial-gradient(circle, #e8e8e8 0.5px, transparent 0.5px);
    background-size: 25px 25px;
    background-position: 0 0;
    background-attachment: fixed;
}

/* Section overlays to maintain readability with 3D shadows */
.hero,
.page-header,
.cta-section,
.newsletter-signup {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Card backgrounds with subtle transparency and 3D shadows */
.service-card,
.service-item,
.feature,
.team-member,
.cert-item,
.project-card,
.blog-post,
.testimonial,
.faq-item {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(0.5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

/* Enhanced shadow on hover for interactive elements */
.service-card:hover,
.service-item:hover,
.project-card:hover,
.blog-post:hover,
.testimonial:hover,
.faq-item:hover {
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.15),
        0 3px 6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Form backgrounds with 3D shadows */
.contact-form,
.newsletter-form {
    background-color: rgba(248, 248, 248, 0.95);
    backdrop-filter: blur(1px);
    box-shadow: 
        0 3px 5px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

/* Navigation background with enhanced 3D shadow */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Footer remains solid black */
footer {
    background-color: #000 !important;
    backdrop-filter: none;
}

/* Light sections with subtle overlay and 3D shadows */
.bg-light {
    background-color: rgba(248, 248, 248, 0.9) !important;
    backdrop-filter: blur(1px);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Legal content sections with 3D shadows */
.legal-content {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1px);
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        background-size: 15px 15px;
    }
    
    .hero,
    .page-header,
    .cta-section {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

@media (max-width: 480px) {
    body {
        background-size: 12px 12px;
    }
}

/* Print styles - remove background for printing */
@media print {
    body {
        background-image: none !important;
        background-color: white !important;
    }
    
    .hero,
    .page-header,
    .cta-section,
    .service-card,
    .service-item,
    .feature,
    .team-member,
    .cert-item,
    .project-card,
    .blog-post,
    .testimonial,
    .faq-item,
    .contact-form,
    .newsletter-form,
    .legal-content {
        background-color: white !important;
        backdrop-filter: none !important;
    }
}

/* Accessibility - reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    body {
        background-attachment: scroll;
    }
}

/* Button 3D effects */
.btn {
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.btn:hover {
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn:active {
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

/* Form input 3D effects */
.form-control {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.form-control:focus {
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background-image: none;
        background-color: white;
    }
    
    .hero,
    .page-header,
    .cta-section,
    .service-card,
    .service-item,
    .feature,
    .team-member,
    .cert-item,
    .project-card,
    .blog-post,
    .testimonial,
    .faq-item,
    .contact-form,
    .newsletter-form,
    .legal-content {
        background-color: white;
        backdrop-filter: none;
        border: 2px solid #000;
        box-shadow: none;
    }
}
