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

body {
    font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #111111;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 30px;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 20px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: auto;
    height: 100%;
}

.name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.job-title {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-info {
    width: 100%;
    margin-top: 20px;
}

.info-item {
    font-size: small;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #888;
}

.info-item i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.download-resume {
    margin-top: auto;
}

.btn-download {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #444;
}

.btn-download i {
    margin-right: 5px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

/* Navigation Styles */
.navigation {
    padding: 0 30px;
    border-bottom: 1px solid #333;
}

.navigation ul {
    display: flex;
    justify-content: flex-start;
}

.navigation li {
    margin-right: 20px;
}

.nav-link {
    display: inline-block;
    padding: 20px 0;
    color: #888;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

/* Section Styles */
.section {
    padding: 40px;
    display: none;
}

.section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-content {
    color: #aaa;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
}

.sub-intro {
    margin-bottom: 20px;
    
}
.skills-list {
    margin-left: 30px;
    
}
.List_logros li{
    list-style-position: inside;
    padding-left: 40px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ddd;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: #222;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}
.card_company {
    background-color: #222;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 100px;
    height: 40px;
    background-color: #333;
    color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
}
.logo_empresa {
   width: 160px;
    height: 160px;
    background-color: #333;
    padding: 30px;
    
    border-radius: 50%;

    align-items: center;
    justify-content: right;
 
}
.logo_empresa img {
    width: 100%;
    height: auto;
}


.service-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Portfolio Styles */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    color: #888;
    padding: 8px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #333;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;
    background-color: #222;
}
.visitar{
    
    font-size: small;
    background-color: #373f4777;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(75%);
    transition: all 0.3s ease;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transition: all 0.3s ease;
}

.portfolio-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: #aaa;
    font-size: 0.9rem;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Contact Styles */
.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #222;
}

#map {
    width: 100%;
    height: 100%;
}

.contact-form {
    margin-top: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.btn-submit {
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #0069d9;
}
.map{
    width: 100%;
    
    border-radius: 10px;
    overflow: hidden;
    background-color: #222;
}


/* Media Queries */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        padding: 20px;
    }
    
    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
        position: static;
        height: auto;
    }
    
    .main-content {
        width: 100%;
    }
    
    .section {
        padding: 30px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 20px;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
    
    .navigation {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 20px;
    }
    
    .navigation ul {
        width: max-content;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
    }
    .card_company {
        flex-direction:column;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}