/* 
 * Index Page Specific Styles
 * Contains styles only needed for the homepage/index.html
 */

/* Safety Section Split Layout */
.safety-content-wrapper {
    display: flex;
    gap: 6rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.safety-image {
    flex: 0 0 65%;
}

.safety-content {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.safety-content h2 {
    font-family: var(--font-family-display);
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #202124;
    margin-bottom: 1.5rem;
    text-align: left;
}

.safety-content .section-description {
    font-family: var(--font-family-text);
    font-size: 1.5rem;
    line-height: 1.7;
    color: #5f6368;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 90%;
}

.safety-feature-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Helpful Hints Split Layout */
.helpful-hints-content-wrapper {
    display: flex;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
}

.helpful-hints-image {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helpful-hints-content {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 0;
}

.helpful-hints-content h2 {
    font-family: var(--font-family-display);
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #202124;
    margin-bottom: 1.5rem;
    text-align: center;
}

.helpful-hints-content .section-description {
    font-family: var(--font-family-text);
    font-size: 1.5rem;
    line-height: 1.7;
    color: #5f6368;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.helpful-hints-feature-image {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.learn-more-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.learn-more-btn i {
    margin-left: 0.5rem;
}

/* Did You Know Section */
.did-you-know-section {
    background-color: #0028BC;
    padding: 1.5rem 2rem;
    min-height: auto !important;
}

.did-you-know-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.did-you-know-wrapper h2 {
    font-family: var(--font-family-display);
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 0.75rem;
}

.did-you-know-content-home {
    font-family: var(--font-family-text);
    font-size: 1.1rem;
    line-height: 1.5;
    color: white;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 0 2rem;
    transition: opacity 0.3s ease;
}

.fact-navigation-home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.fact-nav-btn-home {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fact-nav-btn-home:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.fact-dots-home {
    display: flex;
    gap: 10px;
}

.fact-dot-home {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fact-dot-home.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .safety-content-wrapper,
    .helpful-hints-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .safety-image,
    .safety-content,
    .helpful-hints-image,
    .helpful-hints-content {
        flex: 0 0 100%;
    }
    
    .safety-content h2,
    .helpful-hints-content h2,
    .safety-content .section-description,
    .helpful-hints-content .section-description {
        text-align: center;
    }
    
    .helpful-hints-feature-image,
    .safety-feature-image {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }
    
    /* Did You Know Mobile */
    .did-you-know-section {
        padding: 1.5rem 1rem;
    }
    
    .did-you-know-wrapper {
        padding: 0 0.5rem;
    }
    
    .did-you-know-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .did-you-know-content-home {
        font-size: 1rem;
        min-height: 50px;
        padding: 0 0.5rem;
    }
    
    .fact-navigation-home {
        gap: 0.75rem;
    }
    
    .fact-nav-btn-home {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    .did-you-know-section {
        padding: 1.5rem 0.5rem;
    }
    
    .did-you-know-wrapper {
        padding: 0;
    }
    
    .did-you-know-wrapper h2 {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .did-you-know-content-home {
        font-size: 0.95rem;
        padding: 0 0.25rem;
    }
    
    .fact-navigation-home {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .fact-nav-btn-home {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .fact-dot-home {
        width: 10px;
        height: 10px;
    }
    
    .fact-dot-home.active {
        width: 28px;
    }
} 