/* Estilos para la página de contacto */
/* Contact Hero Section */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    --color-darkgray: #333333;
    --color-pink: #ffd0e0;
    --color-purple: #9370db;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-darkgray);
    background: var(--color-white);
    padding-top: 80px; /* Add padding for fixed header */
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #2a2a2a, #333333, #2a2a2a);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(135deg, #2c2c2c, #333333, #2c2c2c);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    background: linear-gradient(90deg, #ffffff 50%, var(--color-pink) 50%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.menu-btn {
    display: none;
    color: var(--color-white);
    font-size: 1.8rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #333333, #3a3a3a, #333333);
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links li {
    position: relative;
    margin: 0 0.8rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links li a i {
    margin-left: 6px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-links a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-pink), var(--color-purple));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-purple);
    background: linear-gradient(135deg, rgba(255,208,224,0.15), rgba(147,112,219,0.15));
}

.nav-links a:hover:before {
    width: 100%;
}

.nav-links a.active {
    background: linear-gradient(135deg, rgba(255,208,224,0.2), rgba(147,112,219,0.2));
    color: var(--color-pink);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: linear-gradient(120deg, #2c2c2c, #333333, #2c2c2c);
    border-radius: 10px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(147, 112, 219, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    border-radius: 0;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links li:hover > a i {
    transform: rotate(-180deg);
}

/* Utility bar styles */
.utility-bar {
    display: flex;
    align-items: center;
}

.search-form {
    position: relative;
    margin-right: 20px;
}

.search-form input {
    background: #2c2c2c;
    color: var(--color-white);
    border: 1px solid #444;
    padding: 8px 15px;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
    width: 200px;
}

.search-form input::placeholder {
    color: #888;
}

.search-form input:focus {
    border-color: var(--color-purple);
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.user-actions a {
    color: var(--color-white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.user-actions a:hover {
    color: var(--color-purple);
    opacity: 1;
}

.contact-hero {
    position: relative;
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    background: url('Imagenes/Contactanos Fondo.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    margin-top: 80px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn 1s ease-in;
}

.contact-hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    background: var(--color-white);
    padding: 5rem 5%;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-info {
    flex: 1;
    max-width: 45%;
}

.contact-info h2 {
    padding-bottom: 1.5rem;
}

.contact-form {
    flex: 1;
    max-width: 45%;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

.contact-form h2 {
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 5px rgba(147,112,219,0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: linear-gradient(to right, var(--color-pink), var(--color-purple));
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(147, 112, 219, 0.4);
}

.direct-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.contact-button {
    display: block;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-button i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.contact-button span {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

/* WhatsApp Button - Color más suave */
.whatsapp-button {
    background-color: #37db5e; /* Verde más suave */
}

.whatsapp-button:hover {
    background-color: #22ec51;
    transform: translateY(-3px);
}

.whatsapp-button:hover i {
    transform: scale(1.1) rotate(10deg);
}

/* Telegram Button - Color más suave */
.telegram-button {
    background-color: #2cabdd; /* Azul más suave */
}

.telegram-button:hover {
    background-color: #0eb6f3;
    transform: translateY(-3px);
}

.telegram-button:hover i {
    transform: scale(1.1) rotate(-10deg);
}

/* Estilos para la sección del mapa */
.map-section {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #2a2a2a, #333333, #2a2a2a);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-placeholder {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Info Items Styling */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-purple);
    padding-top: 0.2rem; /* Alinea el icono con el título */
    width: 2rem; /* Ancho fijo para los iconos */
    text-align: center;
}

.info-item div {
    flex: 1;
}

.info-item h3 {
    color: var(--color-darkgray);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    padding-left: 3rem; /* Alinea con el contenido de los info-items */
}

.social-link {
    color: var(--color-purple);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--color-pink);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 3rem 5%;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        width: 100%;
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }

    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .contact-details {
        flex-direction: column;
    }

    .contact-detail {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 1rem;
    }

    input, 
    textarea {
        padding: 0.8rem;
    }
}
/* Responsive styles for the navigation */
@media (max-width: 992px) {
    .menu-btn {
        display: block;
        color: var(--color-white);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #2c2c2c, #333333, #2c2c2c);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: all 0.3s ease;
        overflow-y: auto;
        border-radius: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0.8rem 0;
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 1rem;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 1rem;
    }
    
    .nav-links li a {
        padding: 1rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
