/* Variables globales */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --background-color: #f8f9fa;
    --text-color: #212529;
}

/* Reset y estilos base */
* {
    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);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #28a745;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.logo img {
    height: 50px;
}
.logo a{
  outline: none;
  text-decoration: none;
  padding: 2px 1px 0;
  color: #ddd;
  height: 30px;
  font-size: 2.2rem;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu a {
    text-decoration: none;
    color: #f8f9fa;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--success-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
    color: #f8f9fa;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    margin-top: auto;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Botones principales */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Formularios */
.form-group {
    margin-bottom: 1rem;
}
.name-group{
    color: #0388A6;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Tabla de precios */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.price-table th,
.price-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.price-table th {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .menu.active {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .price-table {
        font-size: 0.9rem;
    }
    .buttons-container{
        flex-direction: column;
        align-content: center;
        align-items: center;
    
    }
    
}

/* Contenedores principales */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}


/* Botones grandes para index */
.big-button {
    width: 250px;
    height: 250px;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.big-button:hover {
    transform: scale(1.05);
}


input.error {
    border: 1px solid red; /* Resalta el borde del campo con error */
}

p.error-message {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}
