/* Univest Finance Company Page Styles */

:root {
    --company-color: #003366;
    --company-gradient: linear-gradient(135deg, #003366 0%, #0066cc 100%);
}

/* Company Hero */
.company-hero {
    height: 70vh;
    background: var(--company-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.company-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(255,255,255);stop-opacity:0.05" /><stop offset="100%" style="stop-color:rgb(255,255,255);stop-opacity:0.02" /></linearGradient></defs><path d="M0,400 Q300,200 600,400 T1200,400 L1200,800 L0,800 Z" fill="url(%23grad)" /></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.company-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    color: #ffffff;
}

.company-logo {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.company-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.company-tagline {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.4;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Company Info */
.company-info {
    padding: 6rem 0;
    background: #ffffff;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    background: var(--company-gradient);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.2);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.3);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
}

/* Company Services */
.company-services {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-top-color: var(--company-color);
}

.service-item i {
    font-size: 3rem;
    color: var(--company-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.service-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.service-item p {
    color: #666;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

/* Company CTA */
.company-cta {
    padding: 5rem 0;
    background: var(--company-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.company-cta .container {
    position: relative;
    z-index: 2;
}

.company-cta h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.company-cta p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #ffffff;
    color: var(--company-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .company-hero {
        height: 60vh;
    }

    .company-hero .container {
        flex-direction: row; /* Logo solda, yazı sağda */
        text-align: left;
        gap: 1.5rem;
        align-items: center;
    }

    .company-logo {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .hero-text {
        text-align: left;
        flex: 1;
    }

    .company-hero h1 {
        font-size: 1.8rem;
    }

    .company-tagline {
        font-size: 1rem;
    }

    .info-text h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .company-cta h2 {
        font-size: 1.8rem;
    }
}
