/* ===== PARTICLES ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(227,30,36,0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(192,192,192,0.08) 0%, transparent 50%);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}
.page-hero-content h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.page-hero-content h1 span { color: var(--red); }
.page-hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 24px;
}
.breadcrumb a { color: var(--red); transition: var(--transition); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb i { font-size: 10px; }

/* ===== HIZMETLER PAGE ===== */
.services-page { padding: 100px 0; }
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.service-full-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-full-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(227,30,36,0.2); transform: translateY(-4px); }
.sfc-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.sfc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.service-full-card:hover .sfc-img img { transform: scale(1.06); }
.sfc-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6) 100%);
}
.sfc-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    background: var(--red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}
.sfc-body { padding: 30px; flex: 1; }
.sfc-body h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.sfc-body p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.sfc-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.sfc-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sfc-features li i { color: var(--red); }
.sfc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}
.sfc-link:hover { gap: 12px; }

/* ===== FILO PAGE ===== */
.filo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.filo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.filo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.filo-card-img { height: 200px; overflow: hidden; }
.filo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.filo-card:hover .filo-card-img img { transform: scale(1.05); }
.filo-card-body { padding: 24px; }
.filo-card-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.filo-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filo-spec {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}
.filo-spec .spec-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.filo-spec .spec-value { font-size: 14px; font-weight: 700; color: var(--text-main); margin-top: 2px; }
.filo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(227,30,36,0.1);
    color: var(--red);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ===== HAKKIMIZDA PAGE ===== */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-red);
    transform: translateX(-50%);
}
.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}
.timeline-item:nth-child(even) { direction: rtl; }
.timeline-item:nth-child(even) > * { direction: ltr; }
.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.timeline-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.timeline-year {
    width: 60px;
    height: 60px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--shadow-red);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img {
    height: 180px;
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.5);
}
.team-info { padding: 20px; }
.team-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-info span { font-size: 13px; color: var(--text-muted); }

/* ===== REFERANSLAR PAGE ===== */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ref-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    min-height: 100px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.ref-card:hover { border-color: var(--red); color: var(--red); transform: scale(1.04); box-shadow: var(--shadow-md); }

/* ===== İLETİŞİM PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); }
.ci-icon {
    width: 56px;
    height: 56px;
    background: rgba(227,30,36,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--red);
    flex-shrink: 0;
}
.ci-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ci-info p, .ci-info a { font-size: 14px; color: var(--text-muted); line-height: 1.6; transition: var(--transition); }
.ci-info a:hover { color: var(--red); }

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}
.contact-form-wrapper h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.contact-form-wrapper p { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--text-main);
    background: var(--gray-100);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(227,30,36,0.08);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; font-size: 16px; font-weight: 700; }

/* MAP */
.map-section { padding-bottom: 80px; }
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ===== PAGE TRANSITIONS ===== */
.page-transition { animation: pageIn 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes pageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== GLOWING BORDER ANIMATION ===== */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(227,30,36,0.3); }
    50% { box-shadow: 0 0 40px rgba(227,30,36,0.6); }
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
    .services-page-grid { grid-template-columns: 1fr; }
    .filo-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .ref-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 30px; }
    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-item:nth-child(even) { direction: ltr; }
    .timeline-year { display: none; }
}
