/* Bootstrap 5.3 Custom Styles for Núcleo Sniper */

/* Custom Font Faces */
@font-face {
    font-family: 'Arsilon';
    src: url('assets/fonts/Arsilon.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue';
    src: url('assets/fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Ombudsman Stencil';
    src: url('assets/fonts/OmbudsmanStencil.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.arsilon {
    font-family: 'Arsilon', sans-serif;
}
.bebas-neue {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
}
.montserrat {
    font-family: 'Montserrat', sans-serif;
}
.ombudsman-stencil {
    font-family: 'Ombudsman Stencil', sans-serif;
}

/* CSS Custom Properties */
:root {
    /* --bs-primary: #00BCD4; */
    --bs-primary: #00B8DA;
    --bs-primary-rgb: 0, 188, 212;
    --bs-dark: #000000;
    --bs-danger: #FF0000;
    --bs-light: #F5F5F5;
    --bs-white: #FFFFFF;
    
    /* Custom spacing */
    --section-padding: 5rem 0;
    --hero-height: 100vh;
    
    /* Custom fonts */
    /* --font-primary: 'Arial', sans-serif; */
    --font-primary: 'Montserrat', sans-serif;
    --font-cursive: 'Georgia', serif;
}

html, body {
    font-family: var(--font-primary);
}

/* Override Bootstrap primary color */
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #00ACC1;
    --bs-btn-hover-border-color: #00ACC1;
    --bs-btn-active-bg: #0097A7;
    --bs-btn-active-border-color: #0097A7;
}

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

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

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

/* Custom utility classes */
.letter-spacing-3 {
    letter-spacing: 3px;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary), #00ACC1) !important;
}

/* Hero Section */
.hero-section {
    /* min-height: var(--hero-height); */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section img {
    margin-top: 110px;
    width: 100%;
}

.hero-section .container-fluid,
.hero-section .row,
.hero-section .col-lg-3,
.hero-section .col-lg-6 {
    position: relative;
    z-index: 2;
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-family: 'Bebas Neue', sans-serif;
    /* font-weight: bold; */
    color: var(--bs-dark) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Custom Button Styles */
.cta-box .btn {
    border: none;
    padding: 2rem 3rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.cta-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-box .btn:hover::before {
    left: 100%;
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Carousel Customization */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Accordion Customization */
.accordion {
    --bs-accordion-border-width: 0;
}

.accordion-button {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    position: relative;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--bs-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--bs-primary);
}

.accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.5rem;
    color: var(--bs-danger);
    font-weight: bold;
    transform: none;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '×';
    transform: rotate(45deg);
}

.accordion-body {
    padding: 1.5rem 0;
    border-bottom: 2px solid #ff0000;
}

/* Percentage Circle Animation */
.percentage-circle {
    position: relative;
    background: transparent;
}

.percentage-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: conic-gradient(var(--bs-primary) 0deg, var(--bs-primary) 360deg, transparent 360deg);
    opacity: 0.1;
    z-index: -1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        /* min-height: 80vh; */
        min-height: 30vh;
        padding-top: 6rem;
    }

    .hero-section img {
        margin-top: 0;
    }
    
    .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .cta-box .btn {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        /* padding-top: 8rem; */
        padding-top: 7rem;
    }

    .hero-section img {
        margin-top: 0;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .cta-box .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
        left: -50px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
        right: -25px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .carousel-control-prev,
    .carousel-control-next,
    .btn {
        display: none !important;
    }
    
    .bg-dark,
    .bg-primary {
        background: white !important;
        color: black !important;
    }
    
    .text-white,
    .text-primary {
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--bs-dark);
    }
    
    .card {
        border: 1px solid var(--bs-dark) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape-1,
    .shape-2 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.box-shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

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

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

.z-index-2 {
    z-index: 2;
}

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

/* Custom spacing utilities */
.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.my-6 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
}

/* Gradient text effect */
.text-gradient {
    background: linear-gradient(135deg, var(--bs-primary), #00ACC1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced blockquote */
.blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1.5rem;
    margin-left: 0;
}

/* Custom list styles */
.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Enhanced form controls (for future use) */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}

/* Sticky elements */
.sticky-top-custom {
    position: sticky;
    top: 80px;
    z-index: 1020;
}

/* Image hover effects */
.img-hover {
    transition: transform 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.05);
}

/* Badge customization */
.badge {
    font-size: 0.75em;
    padding: 0.375em 0.75em;
}

/* Custom container max-widths */
@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1320px;
    }
}

/* Loading spinner (for future use) */
.spinner-custom {
    width: 3rem;
    height: 3rem;
    border: 0.3rem solid var(--bs-primary);
    border-top: 0.3rem solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltip customization */
.tooltip .tooltip-inner {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

.tooltip .tooltip-arrow::before {
    border-top-color: var(--bs-primary);
}

/* Modal customization (for future use) */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.modal-header {
    border-bottom: 1px solid var(--bs-primary);
}

.modal-footer {
    border-top: 1px solid var(--bs-primary);
}
