/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #2C3E50;
    background-color: #F9F9F9;
}

.logo-img {
    width: auto;
    height: 100%; /* Ajusta la altura según sea necesario */
    max-width: 100%; /* Para que no se desborde */
}

.imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

header {
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1475px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo img {
    height: 80px;
}

.texto-normal-titulo {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    font-style: italic;
}

.texto-normal {
    font-size: 20px;
    text-align: center;
    /*font-weight: bold;*/
    font-style: italic;
}

.texto-normal-2 {
    font-size: 18px;
    text-align: justify;
    /*font-weight: bold;*/
    font-style: italic;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #adcbe1;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 20px; 
}

nav ul li a:hover {
    color: #FFD700;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    overflow: hidden;
    font-size: 25px;
    font-weight: bold;
    font-style: italic;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
}


.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero .btn {
    background-color: #FFD700;
    color: #0a0a0a;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background-color: #FFC107;
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    text-align: justify;
    color: #050505;
    margin-bottom: 40px;
    font-weight: bold;
    font-style: italic;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: justify;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card i {
    font-size: 3em;
    color: #272727;
    margin-bottom: 20px;
}

.card h3 {
    color: #0c0c0c;
    margin-bottom: 15px;
}

.card p {
    color: #555555;
}

@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

footer {
    background-color: #0a0a0a;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0c0c0c;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #45A049;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin: 0;
    font-size: 1.5em;
    text-align: justify;
}

.portfolio-overlay p {
    margin: 10px 0 0;
    font-size: 1em;
    text-align: justify;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.about {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: justify;
    color: #270303;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #0d0d0d;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #adcbe1;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #adcbe1;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

.contact {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info li {
    margin: 15px;
    width: 150px;
    text-align: center;
}

.contact-info a {
    color: #536c79;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #adcbe1;
}

.contact-info span {
    font-size: 14px;
}

.contact-info a:hover {
    color: #adcbe1;
}

@media (max-width: 768px) {
    .contact-info ul {
        flex-direction: column;
        align-items: center;
    }

    .contact-info li {
        width: 100%;
        margin: 10px 0;
    }
}



.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f8f8f8;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 10px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #999;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    left: 0;
    font-size: 12px;
    color: #4CAF50;
}

.form-group i {
    position: absolute;
    top: 12px;
    right: 10px;
    color: #999;
}

.form-group input:focus ~ i,
.form-group textarea:focus ~ i {
    color: #4CAF50;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #adcbe1;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #000000;
}

.btnprf {
    display: inline-block;
    width: 50%;
    padding: 10px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: justify;
}

.btnprf:hover {
    background-color: #FFC107;
}


.btn:hover {
    background-color: #536c79;
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    color: #070707;
    margin-bottom: 40px;
}

.service-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-portfolio-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-portfolio-item i {
    font-size: 3em;
    color: #060606;
    margin: 20px 0;
}

.service-portfolio-item h3 {
    color: #030303;
    margin-bottom: 10px;
}

.service-portfolio-item p {
    color: #0b0b0b;
    font-size: 0.9em;
    padding: 0 20px;
    margin-bottom: 20px;
}

.service-portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: auto;
}

@media (max-width: 768px) {
    .service-portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #4CAF50;  /* Color de WhatsApp */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.floating-button:hover {
    background-color: #070707;  /* Color más oscuro al pasar el mouse */
}

.floating-button i {
    margin-top: 16px;
}

.derechos {
    text-decoration: none;
    color: #adcbe1;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 18px; /* Aumenta el tamaño de la letra */
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    nav {
        display: none;
    }

    .menu-toggle:checked ~ nav {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}
