/* ==========================================================
   Pro Gym Tech - Genel Site Stili
   ========================================================== */

:root {
    --pg-dark: #0d1826;
    --pg-dark-2: #17293f;
    --pg-primary: #ff5a1f;
    --pg-primary-2: #ff8a3d;
    --pg-primary-dark: #e04812;
    --pg-grad: linear-gradient(135deg, #ff6a2a 0%, #ff8a3d 55%, #ffb020 100%);
    --pg-light: #f4f6f9;
    --pg-white: #ffffff;
    --pg-text: #1f2937;
    --pg-muted: #6b7280;
    --pg-border: #e5e8ee;
    --radius: 16px;
    --radius-sm: 10px;
    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--pg-text);
    background: var(--pg-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 .5em; color: var(--pg-dark); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- Eyebrow etiketleri ---- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-heading); font-size: 12.5px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--pg-primary);
    margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--pg-grad); border-radius: 2px; display: inline-block; }
.eyebrow-light { color: #ffb98a; }
.eyebrow-center { display: flex; justify-content: center; width: 100%; }

/* ---- Header ---- */
.site-header {
    background: rgba(13,24,38,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; display: block; }
.main-nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.main-nav a { position: relative; color: rgba(255,255,255,.75); font-family: var(--font-heading); font-size: 14px; font-weight: 600; padding: 8px 0; transition: color .15s; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--pg-grad); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: #fff; }

.btn-quote {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--pg-grad); color: #fff; font-family: var(--font-heading); font-weight: 700;
    padding: 11px 22px; border-radius: 999px; font-size: 14px; white-space: nowrap; border: none; cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,90,31,.28); transition: transform .18s ease, box-shadow .18s ease;
}
.btn-quote:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,90,31,.4); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 6px; color: #fff; font-family: var(--font-heading); font-weight: 600;
    font-size: 15px; padding: 15px 6px; border-bottom: 2px solid rgba(255,255,255,.25); transition: border-color .18s, opacity .18s;
}
.btn-ghost:hover { border-color: var(--pg-primary-2); opacity: .9; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* ---- Hero ---- */
.hero { background: linear-gradient(160deg, var(--pg-dark) 0%, var(--pg-dark-2) 100%); color: #fff; position: relative; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; }
.hero-blob-1 { width: 420px; height: 420px; background: var(--pg-primary); top: -160px; right: -100px; }
.hero-blob-2 { width: 320px; height: 320px; background: #2c5b8f; bottom: -140px; left: -80px; opacity: .3; }
.hero-grid { display: flex; align-items: center; gap: 48px; padding: 84px 20px; position: relative; z-index: 1; }
.hero-inner { flex: 1; min-width: 280px; padding: 0; max-width: 560px; }
.hero h1 { color: #fff; font-size: 42px; font-weight: 800; margin-bottom: .35em; }
.hero p { color: rgba(255,255,255,.78); font-size: 17.5px; margin-bottom: 1.8em; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-image-wrap {
    flex: 1; min-width: 280px; max-width: 480px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.4); position: relative;
}
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
    position: absolute; left: 20px; bottom: 20px; background: rgba(13,24,38,.85); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 12px 16px;
    display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.hero-badge-num { font-family: var(--font-heading); font-size: 26px; font-weight: 800; background: var(--pg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badge-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); line-height: 1.3; text-transform: uppercase; letter-spacing: .04em; }

/* ---- Genel bölümler ---- */
.section { padding: 84px 0; }
.section h2 { font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 40px; }
.section-categories, .section-testimonials, .section-blog { background: var(--pg-light); }
.page-header { background: linear-gradient(160deg, var(--pg-dark) 0%, var(--pg-dark-2) 100%); color: #fff; padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.page-header-blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--pg-primary); filter: blur(90px); opacity: .3; top: -140px; right: -60px; pointer-events: none; }
.page-header h1 { color: #fff; margin-bottom: .3em; font-size: 34px; font-weight: 800; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Kartlar ---- */
.category-card, .why-card, .service-card, .testimonial-card, .blog-card {
    background: #fff; border: 1px solid var(--pg-border); border-radius: var(--radius);
    text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden;
}
.category-card, .service-card { padding: 0 0 22px; }
.why-card, .testimonial-card { padding: 28px; }
.category-card:hover, .service-card:hover, .blog-card:hover {
    transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15,28,46,.12); border-color: transparent;
}
.category-card .card-img-wrap, .service-card .card-img-wrap {
    background: var(--pg-light); height: 180px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; overflow: hidden;
}
.category-card img, .service-card img { width: 100%; height: 100%; object-fit: contain; margin: 0; transition: transform .35s ease; }
.category-card:hover img, .service-card:hover img { transform: scale(1.06); }
.category-card h3, .service-card h3 { font-size: 16.5px; font-weight: 700; padding: 0 18px; }
.category-card p, .service-card p { padding: 0 18px; color: var(--pg-muted); font-size: 14.5px; margin-bottom: 0; }
.why-card { text-align: left; border-top: 3px solid transparent; border-image: var(--pg-grad) 1; }
.why-card h3 { font-size: 16.5px; }
.why-card p { color: var(--pg-muted); font-size: 14.5px; margin-bottom: 0; }

.stat-box { margin: 50px auto 0; text-align: center; }
.stat-box .stat-number {
    display: block; font-family: var(--font-heading); font-size: 50px; font-weight: 800;
    background: var(--pg-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-box .stat-label { color: var(--pg-muted); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--pg-border); border-radius: var(--radius-sm); padding: 18px 22px; transition: border-color .15s; }
.faq-item[open] { border-color: var(--pg-primary); }
.faq-item summary {
    font-weight: 700; font-family: var(--font-heading); cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--pg-light);
    color: var(--pg-primary); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after { transform: rotate(135deg); background: var(--pg-grad); color: #fff; }
.faq-item p { margin-top: 14px; color: var(--pg-muted); }

/* ---- Testimonials ---- */
.testimonial-card { text-align: left; position: relative; }
.testimonial-card .rating { color: var(--pg-primary); letter-spacing: 2px; margin-bottom: 10px; font-size: 15px; }
.testimonial-card .comment { font-style: italic; color: var(--pg-text); }
.testimonial-card .author { font-weight: 700; font-family: var(--font-heading); color: var(--pg-dark); margin: 0; font-size: 14.5px; }

/* ---- Logo şeridi / grid ---- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.logo-strip img {
    height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65;
    transition: opacity .2s, filter .2s, transform .2s; padding: 14px 22px; background: #fff;
    border: 1px solid var(--pg-border); border-radius: var(--radius-sm);
}
.logo-strip img:hover { filter: none; opacity: 1; transform: translateY(-3px); border-color: var(--pg-primary); }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.logo-grid-item {
    background: #fff; border: 1px solid var(--pg-border); border-radius: var(--radius-sm); padding: 20px;
    display: flex; align-items: center; justify-content: center; height: 90px; transition: transform .2s, box-shadow .2s;
}
.logo-grid-item:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15,28,46,.1); }
.logo-grid-item img { max-height: 50px; }

/* ---- Blog kartları ---- */
.blog-card { padding: 0; overflow: hidden; text-align: left; display: block; }
.blog-card img { width: 100%; height: 180px; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: 20px 22px; }
.blog-date { color: var(--pg-primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.blog-cat { color: var(--pg-muted); font-size: 12px; margin-left: 8px; }
.blog-card h3 { font-size: 17.5px; margin: 10px 0; }
.blog-detail h1 { font-size: 32px; }
.blog-detail-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 20px 0; }
.blog-detail-content { max-width: 760px; margin: 0 auto; }

/* ---- Neden Pro Gym Tech (görselli) ---- */
.why-grid { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.why-image-wrap { flex: 1; min-width: 280px; max-width: 480px; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,28,46,.18); }
.why-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-inner { flex: 1.3; min-width: 300px; }
.why-inner h2 { text-align: left; margin-bottom: 22px; }
.why-cards { display: flex; flex-direction: column; gap: 16px; }
.why-inner .stat-box { text-align: left; margin: 34px 0 0; }

/* ---- Hizmetlerimiz banner ---- */
.services-banner-wrap { width: 100%; max-height: 420px; overflow: hidden; position: relative; }
.services-banner-img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* ---- CTA ---- */
.section-cta {
    background-color: var(--pg-dark); background-size: cover; background-position: center;
    text-align: center; position: relative;
}
.section-cta[style*="background-image"]::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,24,38,.92), rgba(23,41,63,.82));
}
.section-cta .cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 26px; font-size: 28px; }

/* ---- Hakkımızda ---- */
.about-content { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 280px; }
.about-content .stat-box { margin: 30px 0 0; text-align: left; }
.about-image { flex: 1; min-width: 280px; max-width: 480px; border-radius: 20px; object-fit: cover; max-height: 420px; box-shadow: 0 24px 60px rgba(15,28,46,.15); }

/* ---- İletişim ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info h2 { text-align: left; }
.contact-info p { margin-bottom: 10px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; background: var(--pg-light); padding: 28px; border-radius: var(--radius); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--pg-muted); }
.contact-form input, .contact-form textarea {
    padding: 12px 14px; border: 1px solid var(--pg-border); border-radius: var(--radius-sm); font-size: 14px;
    font-family: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--pg-primary); box-shadow: 0 0 0 3px rgba(255,90,31,.12);
}
.checkbox-row { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

.empty-note { text-align: center; color: var(--pg-muted); }

/* ---- Footer ---- */
.site-footer { background: var(--pg-dark); color: rgba(255,255,255,.75); padding: 64px 0 0; margin-top: 40px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pg-grad); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-col h3, .footer-col h4 { color: #fff; font-family: var(--font-heading); }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; margin-bottom: 10px; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-col a:hover { color: var(--pg-primary-2); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; font-size: 12px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---- WhatsApp yüzen buton ---- */
#whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,.6);
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.2s ease;
    animation: pg-pulse 2.4s ease-out infinite;
}
#whatsapp-float:hover { transform: scale(1.08); background-color: #1ebe5b; animation: none; }
@keyframes pg-pulse {
    0% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 480px) {
    #whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
    #whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--pg-dark);
        flex-direction: column; padding: 10px 20px; display: none; gap: 4px;
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .hero-grid { flex-direction: column; padding: 56px 20px; }
    .hero-image-wrap { max-width: 100%; order: -1; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { flex-direction: column; }
    .why-image-wrap { max-width: 100%; order: -1; }
    .why-inner h2, .contact-info h2 { text-align: center; }
    .services-banner-img { height: 220px; }
    .section { padding: 56px 0; }
    .hero-badge { left: 14px; bottom: 14px; padding: 10px 12px; }
}
