/* ================================
   CUSTOM CSS - CAMINO INTERIOR
   Inspired by PixelBloom design
   ================================ */

/* ROOT VARIABLES */
:root {
    --primary-color: #1975FF;
    --dark-bg: #111A24;
    --text-color: #111A24;
    --white-bg: #FFFFFF;
    --light-blue-bg: #B8D4FE;
    --border-color: #E5E7EB;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inconsolata', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

/* GLOBAL STYLES */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-bg);
    margin: 0;
    padding: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-color);
}

.section-title.text-white {
    color: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    text-align: center;
    margin-bottom: 2rem;
}

/* LAYOUT */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-padding);
}

.section-white {
    background-color: var(--white-bg);
}

.section-gradient {
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, #E0EFFF 100%);
}

.section-dark {
    background-color: var(--dark-bg);
}

/* HEADER */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--white-bg) 0%, #F8FAFC 100%);
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-brand {
    margin-bottom: 2rem;
}

.brand-accent {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    position: relative;
}

.brand-accent::before,
.brand-accent::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: var(--primary-color);
}

.brand-accent::before {
    left: -70px;
}

.brand-accent::after {
    right: -70px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #6B7280;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-image {
    text-align: center;
}

/* BUTTONS */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1557CC;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 117, 255, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline-secondary {
    background-color: transparent;
    color: #6B7280;
    border: 2px solid #6B7280;
}

.btn-outline-secondary:hover {
    background-color: #6B7280;
    color: white;
}

/* ABOUT SECTION */
.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #6B7280;
}

.about-images {
    padding-left: 2rem;
}

/* GROWTH CARDS */
.growth-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F3F4F6;
}

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

.growth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.growth-icon i {
    font-size: 2rem;
    color: white;
}

.growth-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.growth-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
}

/* BENEFITS */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.benefit-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
}

/* PLAN CARDS */
.plan-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid #F3F4F6;
}

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

.plan-featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.plan-image {
    height: 200px;
    overflow: hidden;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-features {
    padding: 0 1.5rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #6B7280;
}

.plan-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.plan-action {
    padding: 1.5rem;
}

/* BLOG CARDS */
.blog-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F3F4F6;
}

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

.blog-meta {
    margin-bottom: 1rem;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 1rem;
}

.blog-content p:last-child {
    margin-bottom: 0;
}

/* TESTIMONIALS */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.testimonial-info span {
    font-size: 0.875rem;
    color: #6B7280;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
    font-style: italic;
}

/* CAROUSEL CONTROLS */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* REGISTRATION FORM */
.registration-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #F3F4F6;
}

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

.form-control {
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 117, 255, 0.25);
}

.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: #DC2626;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #DC2626;
}

/* CONTACT */
.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--text-color);
}

.contact-item i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-brand h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9CA3AF;
    margin-bottom: 0;
}

.footer-links h5,
.footer-contact h5 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
    font-size: 0.875rem;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 1000;
    border-top: 1px solid #E5E7EB;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #6B7280;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-banner.hidden {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title::before,
    .section-title::after {
        width: 60px;
    }
    
    .section-title::before {
        left: calc(50% - 100px);
    }
    
    .section-title::after {
        right: calc(50% - 100px);
    }
    
    .brand-accent::before,
    .brand-accent::after {
        width: 30px;
    }
    
    .brand-accent::before {
        left: -50px;
    }
    
    .brand-accent::after {
        right: -50px;
    }
    
    .about-images {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .benefit-item {
        text-align: center;
        flex-direction: column;
    }
    
    .benefit-icon {
        margin: 0 auto 1rem;
    }
    
    .plan-featured {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .brand-accent::before,
    .brand-accent::after {
        display: none;
    }
    
    .growth-card,
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .registration-form {
        padding: 2rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .registration-form {
        padding: 1.5rem 1rem;
    }
}

/* UTILITY CLASSES */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

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

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

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* FOCUS STYLES FOR ACCESSIBILITY */
a:focus,
button:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
    .header-fixed,
    .cookie-banner,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}
