/* Fuerza Interior - Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Inconsolata:wght@300;400;500;600&display=swap');

/* CSS Variables for Color Palette */
:root {
    --primary-color: #780078;
    --secondary-color: #cb3f66;
    --bg-light: #fff7ff;
    --bg-white: #ffffff;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --accent-light: #f7fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inconsolata', monospace;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #9d0a9d, #e04a75);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header Styles */
.custom-header {
    background: linear-gradient(135deg, rgba(120, 0, 120, 0.95), rgba(203, 63, 102, 0.95));
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #ffffff !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #f0f0f0 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(120, 0, 120, 0.7), rgba(203, 63, 102, 0.6));
    z-index: 2;
}

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

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

/* Sections */
section {
    padding: 4rem 0;
}

#sobre-nosotros {
    background-color: var(--bg-light);
}

#faq {
    background-color: var(--bg-light);
}

#recursos {
    background-color: var(--bg-light);
}

/* Advantage Cards */
.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.advantage-card i {
    color: var(--secondary-color);
}

/* Tarifas Section */
#tarifas {
    position: relative;
    overflow: hidden;
}

.tarifas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tarifas-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarifas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.9), rgba(120, 0, 120, 0.8));
    z-index: 2;
}

.pricing-card {
    background: rgba(45, 55, 72, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.border-primary {
    border: 2px solid var(--secondary-color) !important;
    transform: scale(1.05);
}

.price {
    color: var(--secondary-color);
}

/* Form Styles */
.form-container {
    background-color: var(--bg-light) !important;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inconsolata', monospace;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(120, 0, 120, 0.25);
    background-color: var(--bg-white);
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background-color: var(--bg-light);
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Blog Cards */
.blog-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    transition: all 0.3s ease;
}

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

/* Resource Items */
.resource-item {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.resource-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.resource-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d3748, var(--primary-color)) !important;
}

footer a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateX(0);
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner a {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pricing-card.border-primary {
        transform: none;
    }
    
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .resource-item:hover {
        transform: none;
    }
    
    .advantage-card:hover {
        transform: none;
    }
    
    .blog-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-outline-light:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .form-container {
        padding: 2rem !important;
    }
}

/* Utility Classes */
.object-cover {
    object-fit: cover;
}

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

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

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

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

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

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

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cookie-banner,
    header,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
