/* Gmail Header Styles */

/* Main header container */
.gmail-header {
    padding: 60px 0;
    background-color: #f8f9fa;
    /* Aseguramos que no haya problemas de posicionamiento y clics */
       /* position: relative;
    z-index: 100;
    /* Aseguramos que los eventos de puntero funcionen en todo el header */
    pointer-events: auto;
    /* Eliminamos cualquier elemento que pueda estar bloqueando los clics */
    overflow: visible;
    /* Aseguramos que todos los elementos dentro del header sean clicables */
    isolation: isolate;
}

/* Header content wrapper */
.gmail-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Aseguramos que no haya problemas de posicionamiento */
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* Left column with text content */
.gmail-header-text {
    flex: 1;
    padding-right: 30px;
    text-align: left;
    /* Aseguramos que sea clicable */
    pointer-events: auto;
}

/* Gmail logo */
.gmail-logo {
    margin-bottom: 20px;
    max-width: 130px;
}

/* Main headline */
.gmail-header-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #202124;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Subheadline */
.gmail-header-text p {
    font-size: 18px;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

/* CTA button */
.gmail-cta-button {
    display: inline-block;
    background-color: #0060fe;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Aseguramos que el botón sea clicable */
    position: relative;
    z-index: 999;
    pointer-events: auto;
    cursor: pointer;
    /* Forzamos que el botón sea interactivo */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.gmail-cta-button:hover {
    background-color: #0050d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* App Store Logos */
.app-store-logos {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    /* Aseguramos que los enlaces sean clicables */
    position: relative;
    z-index: 999;
    pointer-events: auto;
    /* Forzamos que los enlaces sean interactivos */
    isolation: isolate;
}

.app-store-link {
    display: inline-block;
    /* Aseguramos que los enlaces sean clicables */
    position: relative;
    z-index: 999;
    pointer-events: auto;
    cursor: pointer;
    /* Forzamos que los enlaces sean completamente interactivos */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    user-select: none;
}

.app-store-logo {
    max-height: 40px;
    width: auto;
}

/* Right column with image */
.gmail-header-image {
    flex: 1;
    text-align: center;
    /* Aseguramos que sea clicable */
    pointer-events: auto;
}

.gmail-header-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .gmail-header-content {
        flex-direction: column-reverse;
    }
    
    .gmail-header-text {
        padding-right: 0;
        text-align: center;
        margin-top: 30px;
    }
    
    .gmail-header-text p {
        max-width: 100%;
    }
    
    .gmail-logo {
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    .gmail-header-text h1 {
        font-size: 36px;
    }
    
    .gmail-header-text p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .gmail-header-text h1 {
        font-size: 28px;
    }
    
    .gmail-header-text p {
        font-size: 15px;
    }
    
    .gmail-cta-button {
        width: 100%;
        text-align: center;
    }
}