/**
 * Overhear Homepage Styles
 * Converted from React/Material-UI to WordPress
 */

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(40, 80, 146, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-branding img,
.site-branding .custom-logo {
    height: 40px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.2s;
}

.site-branding img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* ==========================================================================
   Social Links Sidebar
   ========================================================================== */

.social-links-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    max-height: 280px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in;
}

.site-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-in;
}

/* ==========================================================================
   App Badges
   ========================================================================== */

.app-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.app-badge {
    display: block;
    transition: transform 0.2s ease;
}

.app-badge:hover {
    transform: scale(1.05);
}

.app-badge img {
    height: 50px;
    width: auto;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section,
.services-section,
.about-section,
.team-section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.service-card {
    padding: 40px 20px;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 280px;
    margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.8;
}

.about-content p strong {
    opacity: 1;
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-policies {
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-policies a {
    margin: 0 5px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@media (max-width: 1024px) {
    .social-links-sidebar {
        position: static;
        flex-direction: row;
        justify-content: center;
        transform: none;
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 15px 40px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .app-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


