@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-color: #16cca8;
    --secondary-color: #ac5da8;
    --accent-color: #39a58e;
    --background-color: #f0f8ff;
    --text-color: #333333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-img {
    margin-right: 10px;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

main {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: var(--primary-color);
}

#inicio {
    text-align: center;
    background-color: var(--accent-color);
    color: var(--white);
}

#inicio h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.servicios-grid, .galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servicio {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.servicio:hover {
    transform: translateY(-10px);
}

.servicio i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.galeria-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.galeria-img:hover {
    transform: scale(1.05);
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

button:hover {
    background-color: #e74c3c;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.redes-sociales{
    text-align: center;
    margin-top: 10px;
  }
 
  .redes-sociales {
    font-size: 24px;
    margin: 0 10px;
    color: #a73b3b;
    text-decoration: none;
  }
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    #inicio h1 {
        font-size: 2rem;
    }
}