:root {
    --primary-color: #004956;
    --secondary-color: #00a8b5;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --gray-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: #ffffff;
    --text-light: #ffffff;
    --card-bg: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    line-height: 1.6;
}

/* Secciones */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Sobre Mí */
.about-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content h4 {
    color: #ffffff;
    font-weight: 500;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.personal-info ul li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.personal-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

/* Habilidades */
.skill-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-card h4 {
    margin: 1rem 0;
    color: #ffffff;
    font-weight: 500;
}

.skill-description {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Experiencia */
.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-content h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.timeline-content .text-muted {
    color: #ffffff !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

/* Educación */
.education-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.education-card h4 {
    color: #ffffff;
    margin: 1rem 0;
    font-weight: 600;
}

.education-card h5 {
    color: #ffffff;
    font-weight: 500;
}

.education-card p {
    color: #ffffff;
}

.education-card .text-muted {
    color: #ffffff !important;
}

/* Enlaces */
a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

/* Botones */
.btn-primary {
    background: var(--primary-color);
    border: none;
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
    }

    .timeline-content {
        margin-left: 60px;
    }

    .skill-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .skill-card {
        margin-bottom: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }
}

/* Secciones generales */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Cards y contenedores */
.card {
    background: var(--gray-bg);
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 73, 86, 0.2);
}

/* Iconos */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.icon-box i {
    font-size: 1.5rem;
    color: white;
}

.icon-box:hover {
    transform: rotate(360deg);
    background: var(--secondary-color);
}

/* Animaciones globales */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* Efectos de hover */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Gradientes y fondos */
.gradient-bg {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Header Styles */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 73, 86, 0.2);
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 73, 86, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 73, 86, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(0, 73, 86, 0.1);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
}

.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-banner img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 73, 86, 0.8);
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-overlay h2 {
    color: var(--light-bg);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-overlay .lead {
    color: var(--light-bg);
    font-size: 1.2rem;
}

.hero-overlay img {
    max-width: 200px;
    margin-bottom: 2rem;
}

/* Sections */
section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Skills Section */
#habilidades .col-md-4 {
    margin-bottom: 2rem;
}

#habilidades h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#habilidades ul {
    list-style: none;
    padding-left: 0;
}

#habilidades li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

#habilidades li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Form */
#contacto {
    background-color: var(--light-bg);
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 73, 86, 0.25);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

.social-link i {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay h2 {
        font-size: 1.5rem;
    }

    .social-links {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 2rem 0;
    }

    .hero-overlay {
        text-align: center;
    }

    .hero-overlay img {
        margin: 0 auto 2rem;
    }
}

/* Experiencia */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 73, 86, 0.3);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
    }

    .timeline-content {
        margin-left: 60px;
    }

    .skill-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .skill-card {
        margin-bottom: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }
} 

.text-primary {
    color: #004956 !important;
}