/**
 * Professional Landing Page Styles
 * File: public/css/professional-landing.css
 * 
 * This stylesheet contains all styling for the professional landing page.
 * Following best practices: organized, documented, and maintainable CSS.
 */

/* ========================== CSS VARIABLES ========================== */
:root {
    --primary-color: #4a7bdb;
    --primary-dark: #2d5ba8;
    --primary-light: #0066cc;
    --dark-color: #1a2b48;
    --dark-lighter: #0f1821;
    --text-color: #1a2b48;
    --text-light: #666;
    --text-muted: #aaa;
    --border-color: #e8ecf1;
    --bg-light: #f8f9fc;
    --bg-lighter: #fafbfc;
    --white: #ffffff;
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s ease;
}

/* ========================== GLOBAL RESET & BASE STYLES ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* ========================== TOP BAR ========================== */
.topbar {
    background: var(--dark-color);
    color: var(--white);
    padding: 0.8rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--dark-lighter);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-left a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-left a:hover {
    color: var(--white);
}

.topbar-left .social-icon {
    font-size: 1rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-right li {
    list-style: none;
}

.topbar-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.topbar-right a:hover {
    color: var(--white);
}

.topbar-right .language-selector {
    color: var(--text-muted);
}

/* ========================== NAVIGATION ========================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color) !important;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-nav .nav-link {
    margin-left: 1.5rem;
    font-weight: 500;
    color: var(--dark-color) !important;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-light);
    transition: width var(--transition-fast);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-signin {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    margin-left: 1rem;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 123, 219, 0.3);
}

/* ========================== HERO SECTION ========================== */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.hero h1 strong {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* ========================== SEARCH SECTION ========================== */
.search-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-item {
    margin-bottom: 2rem;
}

.search-item label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    display: block;
    font-size: 0.95rem;
}

.search-item .form-control,
.search-item .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-lighter);
}

.search-item .form-control:focus,
.search-item .form-select:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 123, 219, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0.9rem 3rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    align-self: flex-end;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 123, 219, 0.3);
}

/* ========================== STATS SECTION ========================== */
.stats-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================== FEATURES SECTION ========================== */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(74, 123, 219, 0.15);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================== CTA SECTION ========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-light);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
    margin: 0 1rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ========================== FOOTER ========================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-divider {
    border-top: 1px solid #333;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* ========================== ANIMATIONS ========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp var(--transition-smooth) forwards;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

/* ========================== RESPONSIVE DESIGN ========================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-section {
        padding: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .btn-signin {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .topbar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .topbar-left,
    .topbar-right {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ========================== PAGE CONTENT AREA ========================== */
.page-content {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

.page-content-wrapper {
    background: var(--white);
}

/* ========================== UTILITY CLASSES ========================== */
.mt-spacer {
    margin-top: 2rem;
}

.mb-spacer {
    margin-bottom: 2rem;
}

.py-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.no-underline {
    text-decoration: none !important;
}

.no-underline:hover {
    text-decoration: none !important;
}

