/**
 * AlloDentiste Hero Widget Styles
 * 
 * Clean, modern styles for the homepage hero section
 * Fully responsive with mobile-first approach
 */

/* ==========================================================================
   Hero Widget Container
   ========================================================================== */

.allo-hero-widget {
    background-color: #F5F5F5;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Hero Container - Main Flex Layout */
.allo-hero-widget .hero-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px var(--allo-gutter);
    gap: 80px;
}

/* ==========================================================================
   Hero Content (Left Side)
   ========================================================================== */

.allo-hero-widget .hero-content {
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Top Text */
.allo-hero-widget .hero-top-text {
    font-size: 14px;
    font-weight: 500;
    color: #00A1AD;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Headline */
.allo-hero-widget .hero-headline {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.15;
    color: #1A1A1A;
    margin: 0;
    padding: 0;
}

/* Description */
.allo-hero-widget .hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.allo-hero-widget .hero-description p {
    margin: 0 0 10px 0;
}

.allo-hero-widget .hero-description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CTA Button & Info Cards Group
   ========================================================================== */

.allo-hero-widget .hero-action-cards {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin: 20px 0 10px 0;
    max-width: 480px;
}

/* CTA Button */
.allo-hero-widget .hero-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 28px;
    background-color: #00A1AD;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    min-height: 120px;
    min-width: 200px;
}

.allo-hero-widget .hero-cta-button .button-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #FFFFFF;
    border-radius: 50%;
    flex-shrink: 0;
}

.allo-hero-widget .hero-cta-button .button-arrow {
    flex-shrink: 0;
    color: #1A1A1A;
    width: 20px;
    height: 20px;
}

.allo-hero-widget .hero-cta-button:hover {
    background-color: #008A94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 161, 173, 0.3);
}

.allo-hero-widget .hero-cta-button:active {
    transform: translateY(0);
}

/* ==========================================================================
   Info Cards
   ========================================================================== */

.allo-hero-widget .hero-info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.allo-hero-widget .info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.allo-hero-widget .info-card:hover {
    border-color: #00A1AD;
    box-shadow: 0 2px 8px rgba(0, 161, 173, 0.15);
}

.allo-hero-widget .info-card.location-card {
    cursor: pointer;
}

.allo-hero-widget .info-card .info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: #666666;
}

.allo-hero-widget .info-card .info-content {
    flex: 1;
}

.allo-hero-widget .info-card .info-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.allo-hero-widget .info-card .info-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.allo-hero-widget .info-card .info-line {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
}

.allo-hero-widget .info-card .info-location {
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
}

/* ==========================================================================
   Checklist (Optional)
   ========================================================================== */

.allo-hero-widget .hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.allo-hero-widget .hero-checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
}

.allo-hero-widget .hero-checklist-item svg {
    flex-shrink: 0;
    stroke: #00A1AD;
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Hero Image (Right Side)
   ========================================================================== */

.allo-hero-widget .hero-image {
    flex: 0 0 52%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: -60px;
}

.allo-hero-widget .hero-image img {
    width: 100%;
    height: auto;
    max-height: 850px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Dark Mode Support (Optional)
   ========================================================================== */

.allo-hero-widget.dark-mode {
    background-color: #1A1A1A;
}

.allo-hero-widget.dark-mode .hero-headline {
    color: #FFFFFF;
}

.allo-hero-widget.dark-mode .hero-description {
    color: #CCCCCC;
}

.allo-hero-widget.dark-mode .hero-checklist-item {
    color: #CCCCCC;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (Portrait & Landscape) */
@media screen and (max-width: 1024px) {
    .allo-hero-widget .hero-container {
        gap: 50px;
        padding: 80px var(--allo-gutter);
    }

    .allo-hero-widget .hero-headline {
        font-size: 56px;
    }

    .allo-hero-widget .hero-content {
        flex: 0 0 55%;
    }

    .allo-hero-widget .hero-image {
        flex: 0 0 45%;
    }
}

/* Tablet (Small) and Large Mobile */
@media screen and (max-width: 768px) {
    .allo-hero-widget .hero-container {
        flex-direction: column;
        gap: 40px;
        padding: 60px var(--allo-gutter);
    }

    .allo-hero-widget .hero-content {
        flex: 0 0 100%;
        text-align: left;
        align-items: flex-start;
        order: 2;
    }

    .allo-hero-widget .hero-image {
        flex: 0 0 100%;
        max-width: 600px;
        margin-top: 0;
        order: 1;
    }

    .allo-hero-widget .hero-headline {
        font-size: 48px;
    }

    .allo-hero-widget .hero-action-cards {
        flex-direction: column;
        width: 100%;
        max-width: none;
    }

    .allo-hero-widget .hero-cta-button {
        width: 100%;
        min-width: auto;
        min-height: auto;
        padding: 20px 32px;
    }

    .allo-hero-widget .hero-checklist {
        align-items: flex-start;
    }

    .allo-hero-widget .hero-checklist-item {
        justify-content: flex-start;
    }
}

/* Mobile (Small) */
@media screen and (max-width: 480px) {
    .allo-hero-widget .hero-container {
        padding: 40px var(--allo-gutter);
        gap: 30px;
    }

    .allo-hero-widget .hero-headline {
        font-size: 36px;
    }

    .allo-hero-widget .hero-description {
        font-size: 14px;
    }

    .allo-hero-widget .hero-cta-button {
        padding: 18px 24px;
        font-size: 15px;
    }

    .allo-hero-widget .hero-cta-button .button-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .allo-hero-widget .hero-cta-button .button-arrow {
        width: 18px;
        height: 18px;
    }

    .allo-hero-widget .hero-top-text {
        font-size: 13px;
    }

    .allo-hero-widget .hero-checklist-item {
        font-size: 13px;
    }

    .allo-hero-widget .hero-checklist-item svg {
        width: 18px;
        height: 18px;
    }

    .allo-hero-widget .info-card {
        padding: 10px 16px;
    }

    .allo-hero-widget .info-card .info-title {
        font-size: 13px;
    }

    .allo-hero-widget .info-card .info-line {
        font-size: 12px;
    }

    .allo-hero-widget .info-card .info-location {
        font-size: 13px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .allo-hero-widget .hero-cta-button {
        display: none;
    }
}

/* ==========================================================================
   Elementor Editor Specific Styles
   ========================================================================== */

.elementor-editor-active .allo-hero-widget {
    min-height: 400px;
}

/* ==========================================================================
   Accessibility Enhancements
   ========================================================================== */

.allo-hero-widget .hero-cta-button:focus {
    outline: 2px solid #00A1AD;
    outline-offset: 3px;
}

.allo-hero-widget .hero-cta-button:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .allo-hero-widget .hero-cta-button {
        transition: none;
    }
}
