:root {
    --primary-color: #FF6B35;
    --secondary-color: #2c3e50;
    --accent-color: #FF8C42;
    --light-color: #f8f9fa;
    --dark-color: #1a1a1a;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #f9f9f9;
}

/* Header y Navegación */
.navbar {
    background-color: var(--dark-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s;
    position: relative;
}


/* Línea naranja debajo del navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 28px;
    color: white;
}

.nav-link {
    color: #ddd;
    font-weight: 600;
    margin: 0 8px;
    transition: color 0.3s;
    font-size: 14px;
    text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    background-color: var(--dark-color);
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: #ddd;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Botón Login */
.btn-login {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-left: 15px;
}

.btn-login:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 107, 53, 0.3);
}


        /* Botón Login */
#btn_login {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-left: 15px;
}

#btn_login:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 107, 53, 0.3);
}



/* Modal Login */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background-color: var(--dark-color);
    color: white;
    border-bottom: 4px solid var(--primary-color);
}

.btn-login-modal {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn-login-modal:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #333 100%);
    padding: 150px 0 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FF6B35" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,170.7C960,160,1056,160,1152,170.7C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-hero {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 107, 53, 0.4);
}

/* Features Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.features-section {
    padding: 100px 0;
    background-color: white;
}

/* MEJORA PRINCIPAL: Espaciado entre tarjetas */
.feature-box {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    transition: all 0.4s;
    margin-bottom: 40px;
    background-color: white;
    height: 100%;
    box-shadow: 8px 8px 0px rgba(255, 107, 53, 0.2), 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, rgba(255,107,53,0) 100%);
    z-index: 0;
}

.feature-box:hover {
    transform: translateY(-10px) translateX(-5px);
    box-shadow: 12px 12px 0px rgba(255, 107, 53, 0.3), 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-box p {
    color: #666;
    position: relative;
    z-index: 1;
}

/* Call To Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #333 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FF6B35" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,170.7C960,160,1056,160,1152,170.7C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.cta-section h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    position: relative;
}

.btn-cta {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: white;
    transition: all 0.3s;
    z-index: -1;
}

.btn-cta:hover::before {
    width: 100%;
}

.btn-cta:hover {
    color: var(--primary-color);
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.portfolio-filters {
    margin-bottom: 40px;
    text-align: center;
}

.filter-select {
    background-color: white;
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-color);
    width: 100%;
    max-width: 300px;
    margin: 0 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

.subcategory-container {
    margin-top: 20px;
    text-align: center;
}

.subcategory-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s;
    color: #666;
}

.subcategory-btn.active, .subcategory-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 107, 53, 0.3);
}

/* MEJORA: Espaciado entre items del portfolio */
.portfolio-item {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 8px 8px 0px rgba(255, 107, 53, 0.2), 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s;
    background-color: white;
    border-left: 4px solid var(--primary-color);
}

.portfolio-item:hover {
    transform: translateY(-10px) translateX(-5px);
    box-shadow: 12px 12px 0px rgba(255, 107, 53, 0.3), 0 15px 30px rgba(0,0,0,0.15);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.portfolio-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,53,0.3) 0%, rgba(255,107,53,0) 100%);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

.portfolio-info p {
    color: #666;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer p {
    color: #bbb;
    line-height: 1.8;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
    position: relative;
}

.footer ul li::before {
    content: '▸';
    color: var(--primary-color);
    margin-right: 8px;
}

.footer ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 60px;
    text-align: center;
    color: #bbb;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* MEJORA: Espaciado adicional entre filas */
.row-spacing {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .features-section, .portfolio-section {
        padding: 70px 0;
    }
    
    .filter-select {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .feature-box, .portfolio-item {
        box-shadow: 4px 4px 0px rgba(255, 107, 53, 0.2), 0 5px 15px rgba(0,0,0,0.08);
        margin-bottom: 30px;
    }
    
    .feature-box:hover, .portfolio-item:hover {
        transform: translateY(-5px);
        box-shadow: 6px 6px 0px rgba(255, 107, 53, 0.3), 0 10px 20px rgba(0,0,0,0.15);
    }
}


/* DASBOARD */

