
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #eaeaea;
    background-color: #121212;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
header {
    background-color: #1f1f1f;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #eaeaea;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #eaeaea;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00bcd4;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #eaeaea;
    margin: 4px;
}

/* Hero Section  imagen 1200x800 */
.hero {
    background: url('images/fondomain1.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.cta-btn {
    background: #00bcd4;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cta-btn:hover {
    background: #0097a7;
    transform: scale(1.05);
}

/* Sections */
main {
    padding-top: 100px; /* Space for fixed navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Section */
.about {
    padding: 60px 20px;
    text-align: center;
    background: #1a1a1a;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.about img {
    margin-top: 20px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.about img:hover {
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 60px 20px;
    text-align: center;
    background: #1a1a1a;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background: #2c2c2c;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card .icon img {
    width: 100px;
    margin-bottom: 20px;
    filter: invert(1);
}

/* Portfolio Section */
.portfolio {
    background: #333;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-size: 1.5em;
    transition: transform 0.3s ease-in-out;
    transform: translateY(20px);
}

.portfolio-item:hover .overlay-text {
    transform: translateY(0);
}

/* Team Section */
.team {
    padding: 60px 20px;
    text-align: center;
    background-color: #2c2c2c;
}

.team h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-card h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.team-card p {
    margin-bottom: 20px;
    font-size: 1em;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    text-align: center;
    background: #1a1a1a;
}

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    padding: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    background: #333;
    color: #eaeaea;
    transition: background 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    background: #444;
}

.contact button {
    padding: 15px 30px;
    border: none;
    background: #00bcd4;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.contact button:hover {
    background: #0097a7;
    transform: scale(1.05);
}

/* Footer */

footer {
    background: #2f2d2d;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
} 

footer a {
    color: #fff;
}




/* Floating Buttons */
.whatsapp-btn, .back-to-top {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out;


 
}

.whatsapp-btn {
    right: 20px;
}

.whatsapp-btn img {
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;

    /* width: 60px;
    height: 60px; */
}

.whatsapp-btn:hover img {
    transform: scale(1.1);
}

.back-to-top {
    right: 100px;
    display: none;
}

.back-to-top img {
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;

}

.back-to-top:hover img {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background: #1a1a1a;
        padding-top: 60px;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.open {
        display: flex;
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
