/* Home Page Styles
-------------------------------------------------- */

/* Estilos para el contenedor principal de la página de inicio */
.home-container {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
}

/* General Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #2dff8d;
    margin: 15px auto 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background-color: #111;
    position: relative;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.hero-section .subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2dff8d;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    background-color: #1a1a1a;
}

.about-content {
    background-color: #222;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Development Section */
.dev-section {
    background-color: #111;
}

.dev-content {
    background-color: #222;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dev-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.skill-category {
    flex: 0 0 30%;
    margin-bottom: 30px;
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2dff8d;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.skill-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2dff8d;
}

.projects-highlight h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2dff8d;
}

.projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.projects-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.projects-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
}

/* Projects Section */
.projects-section {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.project-item {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 100%;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.project-subtitle {
    font-size: 1.1rem;
    color: #2dff8d;
    margin-bottom: 20px;
    font-weight: 500;
}

.project-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-outline-primary {
    color: #2dff8d;
    border: 2px solid #2dff8d;
    background: transparent;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: #2dff8d;
    color: #fff;
}

/* Photography Albums Section */
.albums-section {
    background-color: #111;
    padding: 100px 0;
}

.albums-section .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    margin-top: 30px;
}

.albums-section figure {
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.albums-section figure:hover {
    transform: translateY(-5px);
}

.albums-section figure h2 {
    margin-top: 10px;
    text-align: center;
    font-size: 1.2rem;
}

.album-link {
    display: block;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    transition: all 0.3s ease;
    opacity: 0;
}

.progressive-image-container:hover .image-info {
    opacity: 1;
}

.image-info h3 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
}

/* Contact CTA Section */
.contact-cta {
    background-color: #2dff8d;
    color: white;
    padding: 60px 0;
}

.contact-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-cta .btn-primary {
    background-color: white;
    color: #2dff8d;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-cta .btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 70px 0;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .skills-container {
        flex-direction: column;
    }
    
    .skill-category {
        flex: 0 0 100%;
    }
    
    .project-image {
        border-radius: 8px 8px 0 0;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content, 
    .dev-content,
    .project-content {
        padding: 25px;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .project-item {
        margin-bottom: 30px;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
}

/* Estilos para el menú de navegación */
.navbar-home {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-home.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-home .nav-link {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-home .nav-link:hover,
.navbar-home .nav-link.active {
    color: #2dff8d;
}

.navbar-home .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.navbar-home .navbar-toggler {
    border: none;
    color: white;
}

/* Estilos para la navegación móvil */
@media (max-width: 991px) {
    .navbar-home .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .navbar-home .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
