:root {
    --coffee-brown: #5d4037;
    --coffee-light: #8b5a2b;
    --coffee-dark: #3e2723;
    --cream-color: #f5f5dc;
    --gold-accent: #d4af37;
    --text-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.coffee-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/homepages/2.jpg');
    background-size: cover;
    background-position: center;
    animation: kenburns 30s infinite alternate;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(69,48,39,0.0) 100%);
    backdrop-filter: blur(2px);
    z-index: -1;
}

@keyframes kenburns {
    0% {
        transform: scale(1.3) translate(-5%, -5%);
    }
    100% {
        transform: scale(1) translate(0%, 0%);
    }
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 20px;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo {
    max-width: 400px;
    height: auto;
    filter: brightness(1.15) drop-shadow(0 5px 20px rgba(0,0,0,0.5));
    transition: all 0.5s ease;
    margin-bottom: 30px;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 8px 25px rgba(212,175,55,0.6));
}

.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px var(--shadow-color);
    position: relative;
    letter-spacing: 1.5px;
    font-style: italic;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-accent);
}

.info-container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateX(30px);
    opacity: 0;
    animation: slideIn 1s ease forwards 1s;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gold-accent);
    font-weight: 600;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(5px);
}

.contact-info i {
    margin-right: 15px;
    color: var(--gold-accent);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--coffee-light), var(--coffee-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
}

.copyright {
    position: absolute;
    bottom: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 30px;
    }

    .logo-container {
        align-items: center;
        text-align: center;
    }

    .main-title {
        font-size: 2.8rem;
        text-align: center;
    }

    .main-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .info-container {
        transform: translateX(0);
        animation: fadeIn 1s ease forwards 1s;
    }

    .logo {
        max-width: 210px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }

    .info-container {
        padding: 30px;
    }

    .logo {
        max-width: 190px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .info-container {
        padding: 20px;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .logo {
        max-width: 170px;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Estilos para los iconos de contacto con enlaces */
.contact-icon {
    color: var(--gold-accent);
    text-decoration: none;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.contact-icon i {
    margin-right: 0;
}

.contact-icon:hover {
    color: var(--cream-color);
    transform: scale(1.1);
}

/* Ajustar el espaciado para mantener el diseño original */
.contact-info p i:first-child, 
.contact-info p a:first-child {
    margin-right: 15px;
}

/* Ajustar el estilo específico para el icono de WhatsApp */
.contact-icon .fa-whatsapp {
    color: #25D366;
}

.contact-icon:hover .fa-whatsapp {
    color: #20ba5a;
}