﻿/* ========================================
   MARKET POSITION & STATISTICS PAGE STYLES
   Using Navy Blue (#1a2044) and Coral (#c98b7a)
   ======================================== */

/* Hero Section */
.market-hero {
    background: linear-gradient(135deg, #1a2044 0%, rgba(26, 32, 68, 0.95) 100%), url('/images/market-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 100px;
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .market-hero h1 {
        color: #ffffff;
        font-size: 3.5rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-top: 30px;
        letter-spacing: 4px;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
        position: relative;
        display: inline-block;
    }

        .market-hero h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background: #c98b7a;
        }

.about-hero-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

/* Main Content Section */
.market-main-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.market-header-card {
    background: linear-gradient(135deg, #c98b7a 0%, rgba(201, 139, 122, 0.8) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(201, 139, 122, 0.3);
    position: relative;
    overflow: hidden;
}

    .market-header-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
    }

.card-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    line-height: 80px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

    .card-icon i {
        font-size: 2.5rem;
        color: #c98b7a;
    }

.market-subtitle {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* Image Section */
.market-image-wrapper {
    margin-bottom: 50px;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

    .image-frame::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 4px solid transparent;
        border-image: linear-gradient(135deg, #1a2044, #c98b7a) 1;
        pointer-events: none;
        z-index: 2;
    }

.market-main-image {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover .market-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 32, 68, 0.1), rgba(201, 139, 122, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

/* Content Section */
.market-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #1a2044;
}

.content-intro {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.intro-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a2044, rgba(26, 32, 68, 0.9));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .intro-icon i {
        font-size: 1.8rem;
        color: #ffffff;
    }

.lead-text {
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Development Banner */
.development-banner {
    background: linear-gradient(135deg, #c98b7a 0%, rgba(201, 139, 122, 0.9) 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(201, 139, 122, 0.3);
    position: relative;
    overflow: hidden;
}

    .development-banner::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
    }

.banner-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 1;
}

    .banner-content h3 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }

    .banner-content p {
        font-size: 1.1rem;
        margin: 0;
        opacity: 0.95;
    }

/* Company Badge */
.company-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(201, 139, 122, 0.1), rgba(201, 139, 122, 0.05));
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 4px solid #c98b7a;
}

.badge-icon {
    font-size: 2rem;
    color: #c98b7a;
}

.market-company {
    color: #c98b7a;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 1px;
}

/* CTA Section */
.market-cta-section {
    background: linear-gradient(135deg, #1a2044 0%, rgba(26, 32, 68, 0.95) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .market-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
        opacity: 0.3;
    }

.cta-content {
    position: relative;
    z-index: 1;
}

    .cta-content h2 {
        color: #ffffff;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .cta-content p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
        margin-bottom: 30px;
        font-weight: 300;
    }

.btn-cta {
    display: inline-block;
    padding: 18px 50px;
    background: #c98b7a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(201, 139, 122, 0.4);
    position: relative;
    overflow: hidden;
}

    .btn-cta::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-cta:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(201, 139, 122, 0.6);
        color: #ffffff;
    }

/* Footer Contact */
.footer-contact {
    background: #f8f9fa;
    padding: 80px 0;
}

    .footer-contact h3 {
        color: #1a2044;
        font-weight: 700;
        margin-bottom: 20px;
    }

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #1a2044;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .social-icons a:hover {
        transform: translateY(-5px);
        background: #c98b7a;
        box-shadow: 0 5px 15px rgba(201, 139, 122, 0.4);
    }

.contact-info {
    color: #4a4a4a;
}

    .contact-info .mb-3 {
        display: flex;
        gap: 15px;
    }

    .contact-info i {
        color: #1a2044;
        font-size: 1.3rem;
        flex-shrink: 0;
        margin-top: 3px;
    }

    .contact-info p {
        margin: 0;
        line-height: 1.6;
    }

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .market-hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .market-subtitle {
        font-size: 1.8rem;
    }

    .market-header-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

        .card-icon i {
            font-size: 2rem;
        }

    .market-content {
        padding: 30px 25px;
    }

    .content-intro {
        flex-direction: column;
        gap: 15px;
    }

    .development-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .banner-content h3 {
        font-size: 1.4rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 544px) {
    .market-hero h1 {
        font-size: 1.5rem;
    }

    .market-subtitle {
        font-size: 1.5rem;
    }

    .market-content {
        padding: 20px;
    }

    .development-banner {
        padding: 20px;
    }

    .banner-content h3 {
        font-size: 1.2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 15px 35px;
        font-size: 0.9rem;
    }
}
