/* Hisar Uniq Company Page Styles */

:root {
    --company-color: #c0c0c0;
    --company-gradient: linear-gradient(135deg, #909090 0%, #d0d0d0 50%, #e8e8e8 100%);
    --text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Company Hero */
.company-hero {
    height: 75vh;
    /* Use background image with gradient fallback */
    background: url('../../images/hisar-uniq/ozel-parca.webp') center/cover no-repeat, 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: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,0.15) 0%, transparent 40%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(0,0,0,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Kontrastı artırmak için çok katmanlı karartma */
    background:
        linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.28) 65%, rgba(0,0,0,0.18) 100%),
        radial-gradient(1200px 600px at 15% 20%, rgba(0,0,0,0.25), transparent 60%);
    backdrop-filter: saturate(85%) brightness(90%);
}

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

.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: 1.2rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 6px 22px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
    line-height: 1.1;
}

.company-tagline {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #f0f0f0;
    text-shadow: 0 4px 16px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
}

/* Company Info */
.company-info {
    padding: 7rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    position: relative;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, rgba(192,192,192,0.05) 0%, transparent 100%);
}

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

.info-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

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

.feature-item {
    background: linear-gradient(135deg, rgba(192,192,192,0.15) 0%, rgba(232,232,232,0.15) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    color: #1a1a1a;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, rgba(192,192,192,0.25) 0%, rgba(232,232,232,0.25) 100%);
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #666;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.15) rotate(-5deg);
    color: #444;
}

.feature-item h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.feature-item p {
    font-size: 1.05rem;
    color: #555;
}

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

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

.service-item {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.10), 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border-top: none;
    position: relative;
    overflow: visible; /* dış gölge için */
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.14), 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-item:hover::before {
    opacity: 1;
}

.service-image {
    display: none; /* kartlarda görsel kullanılmıyor */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 1.5rem 1.2rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.service-item p {
    color: #4f4f4f;
    line-height: 1.9;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    padding: 0;
    max-width: 520px;
    margin: 0 auto;
}

/* Kartların altında yumuşak taban gölgesi */
.service-item::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -28px;
    width: 82%;
    height: 62px;
    background: radial-gradient(60% 80% at 50% 0%, rgba(0,0,0,0.12), transparent 70%);
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

/* Hizmet kartları ekran ortasında daha dengeli boşluklarla */
.services-grid {
    align-items: stretch;
}

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

@media (max-width: 1200px) {
    .company-hero h1 { font-size: 3.6rem; }
    .company-tagline { font-size: 1.35rem; }
}

@media (max-width: 768px) {
    .company-hero { height: 65vh; }
    .company-hero .container { 
        flex-direction: row; /* Logo solda, yazı sağda */
        gap: 1.5rem; 
        text-align: left;
        align-items: center;
    }
    .company-logo {
        width: 100px;
        height: 100px;
        padding: 1rem;
        flex-shrink: 0;
    }
    .hero-text { text-align: left; }
    .company-hero h1 { font-size: 1.8rem; }
    .company-tagline { font-size: 1rem; }
}

/* Responsive refinements */
@media (max-width: 992px) {
    .service-item {
        padding: 2.5rem 2rem;
    }
    .service-item h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-item {
        padding: 2rem 1.5rem;
        border-radius: 22px;
    }
    .service-item::after {
        width: 88%;
        height: 48px;
        bottom: -22px;
    }
}

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

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

.company-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.company-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #333;
    color: #ffffff;
    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: #000;
}

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

.timeline {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--company-color) 0%, #e0e0e0 100%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-date {
    order: 2;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
    text-align: right;
}

.timeline-date {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-date {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-date h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--company-color);
    background: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-date h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background: var(--company-color);
    border: 4px solid #ffffff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(192, 192, 192, 0.2);
}

.timeline-item:nth-child(odd) .timeline-date h3::after {
    right: -2.5rem;
}

.timeline-item:nth-child(even) .timeline-date h3::after {
    left: -2.5rem;
}

.timeline-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
}

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

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

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

.location-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.location-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-item i {
    font-size: 2rem;
    color: var(--company-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.location-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.location-item p {
    color: #666;
    line-height: 1.7;
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

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

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 80px;
    }

    .timeline-item:nth-child(even) .timeline-date {
        order: 1;
    }

    .timeline-item:nth-child(even) .timeline-content {
        order: 2;
        text-align: left;
    }

    .timeline-date {
        justify-content: flex-start !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .timeline-date h3::after {
        left: -3.5rem !important;
        right: auto !important;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .location-item:hover {
        transform: translateY(-5px);
    }
}

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

    .company-hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .company-logo {
        width: 150px;
        height: 150px;
    }

    .hero-text {
        text-align: center;
    }

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

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

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

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

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

    .timeline-item {
        padding-left: 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-date h3 {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }

    .timeline-date h3::after {
        left: -3rem !important;
    }
}

