/**
 * Ajans PR Premium - style.css (Global Site Stili)
 * premium.css'e ek, site geneli tutarlılık sağlar
 */

/* ─── GLOBAL RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.light-mode {
    background: #ffffff;
    color: #1a1a2e;
}

body.dark-mode {
    background: #0b0b0d;
    color: #E0E0E0;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #fe8706; text-decoration: none; transition: 0.3s; }
a:hover { color: #2a2a2a; }

/* ─── CSS VARIABLES ────────────────────────────────────────── */
:root {
    --primary: #2a2a2a;
    --accent:  #fe8706;
    --accent-glow: rgba(254, 135, 6, 0.4);
    --light:   #F8F9FA;
    --border:  #EEEBF8;
    --text:    #5C5C6E;
    --footer-bg: #1a1a1a;
    --footer-text: rgba(255,255,255,0.85);
    --radius:  24px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow: 0 15px 45px rgba(0,0,0,0.08);
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

.dark-mode {
    --primary: #fe8706;
    --light: #1a1a1e;
    --border: rgba(255,255,255,0.1);
    --text: #c0c0c0;
    --glass: rgba(24, 24, 27, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* ─── PREMIUM UI UTILITIES ────────────────────────────────── */
.premium-glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.premium-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.dark-mode .premium-card {
    background: #1e1e22;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.btn-premium {
    background: linear-gradient(135deg, #fe8706 0%, #ff5e00 100%);
    color: white !important;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 8px 16px var(--accent-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px var(--accent-glow);
    filter: brightness(1.1);
}

/* Skeleton Loading State */
.skeleton-row {
    height: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
    border-radius: 12px;
    margin-bottom: 12px;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.dark-mode .skeleton-row {
    background: linear-gradient(90deg, #2a2a2e 25%, #333338 50%, #2a2a2e 75%);
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    line-height: 1.25;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #fe8706, #2a2a2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── SECTION SPACING ──────────────────────────────────────── */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(254,135,6,0.3); }
.btn-primary:hover { background: #e67a05; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(254,135,6,0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ─── PREMIUM BUTTONS ───────────────────────────────────────── */
.btn-premium, .btn-premium-lg {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #fe8706 0%, #ff5e00 100%);
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px var(--accent-glow);
    border: none;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden; /* For shine effect */
}

/* Shine Effect Animation */
.btn-premium::after, .btn-premium-lg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: all 0.6s;
    opacity: 0;
}

.btn-premium:hover::after, .btn-premium-lg:hover::after {
    left: 120%;
    opacity: 1;
}

.btn-premium {
    padding: 14px 34px;
    font-size: 14px;
}

.btn-premium-lg {
    padding: 22px 52px;
    font-size: 16px;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--accent-glow);
}

.btn-premium:hover, .btn-premium-lg:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-premium:active, .btn-premium-lg:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-premium-lg.outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    box-shadow: none;
}

.btn-premium-lg.outline:hover {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 15px 35px var(--accent-glow);
}

body.dark-mode .btn-premium-lg.outline {
    border-color: var(--accent);
    color: var(--accent) !important;
}

body:not(.dark-mode) .btn-premium-lg.outline {
    border-color: #1a1a1a;
    color: #1a1a1a !important;
}

body:not(.dark-mode) .btn-premium-lg.outline:hover {
    background: #1a1a1a;
    color: #fff !important;
    border-color: #1a1a1a;
}

/* ─── CARDS ────────────────────────────────────────────────── */
.card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: 0.35s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }

/* ─── GLASS CARD ───────────────────────────────────────────── */
.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    padding: 40px;
}

/* ─── BADGES ───────────────────────────────────────────────── */
.badge-pill {
    display: inline-block;
    background: rgba(255,107,53,0.1);
    color: var(--accent);
    border: 1px solid rgba(255,107,53,0.25);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: 'Montserrat', sans-serif;
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero-section {
    padding: 195px 0 120px;
    text-align: center;
    background: radial-gradient(ellipse at 70% 30%, rgba(255,107,53,0.07) 0%, transparent 55%),
                radial-gradient(ellipse at 25% 80%, rgba(30,30,40,0.05) 0%, transparent 55%);
    position: relative;
    overflow: hidden;
}
.hero-section h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; margin-bottom: 24px; }
.hero-subtitle { font-size: 1.15rem; color: var(--text); max-width: 680px; margin: 0 auto 48px; }

/* ─── STATS ────────────────────────────────────────────────── */
.stats-bar { padding: 42px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-bar .stat-num { font-size: 2.4rem; font-weight: 900; color: var(--accent); font-family: 'Montserrat', sans-serif; }
.stats-bar .stat-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.65; margin-top: 4px; font-weight: 700; }

/* ─── MAP ──────────────────────────────────────────────────── */
#prMap {
    height: 560px;
    border-radius: 28px;
    border: 12px solid #fff;
    box-shadow: 0 25px 70px rgba(0,0,0,0.1);
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 36px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff9966, var(--primary));
}
.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 22px;
    font-family: 'Montserrat', sans-serif;
}
.footer-col p, .footer-col li, .footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
}
.footer-col a:hover { color: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 0 0 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    transition: 0.3s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ─── WHATSAPP FLOAT BUTTON ────────────────────────────────── */
#whatsappBtn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 54px; height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(37,211,102,0.4);
    cursor: pointer;
    z-index: 999;
    transition: 0.3s;
    color: #fff;
    border: none;
}
#whatsappBtn:hover { transform: scale(1.1); }

/* ─── BACK TO TOP ──────────────────────────────────────────── */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px; height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    border: none;
    box-shadow: 0 6px 20px rgba(30,30,40,0.3);
}
#backToTop:hover { background: var(--accent); }

/* ─── DARK MODE TOGGLE ─────────────────────────────────────── */
#darkModeToggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}
#darkModeToggle:hover { background: var(--accent); }

/* ─── DARK MODE ────────────────────────────────────────────── */
body.dark-mode { 
    --primary: #f5f5f0; 
    --text: #b5b5ac;
    --footer-bg: #0d0d10; 
    --light: #111114;
    --border: rgba(255,255,255,0.08);
}
body.dark-mode .card, body.dark-mode .glass-card, body.dark-mode .service-card, body.dark-mode .blog-card { background: #1E1E24; border-color: #2E2E36; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 { color: #F5F5F5; }
body.dark-mode .header-fixed { background: rgba(17,17,20,0.95) !important; }
body.dark-mode .nav-links a { color: #E0E0E0; }
body.dark-mode .stats-bar { background: #1A1A1E; border-color: #2E2E36; }
body.dark-mode #prMap { border-color: #2E2E36; }

/* ─── ANIMATION SYSTEM (Flicker Proof) ─────────────────────── */
.service-card-premium, 
.blog-item-modern, 
.counter-item, 
.service-card, 
.blog-card, 
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.animate-in, .animate-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Ensure nothing flashes on load */
.booting *, .booting {
    transition: none !important;
    animation: none !important;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 992px) {
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-section { padding: 160px 0 90px; }
}
@media (max-width: 640px) {
    .footer-cols { grid-template-columns: 1fr; }
    .stats-bar .stats-grid { gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── PRICING TABLES ────────────────────────────────────────── */
.pricing-section { padding: 40px 0 120px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.dark-mode .price-card {
    background: #1E1E24;
    border-color: rgba(255,255,255,0.05);
}

.price-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.price-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    z-index: 2;
}
.price-card.featured:hover { transform: scale(1.03) translateY(-12px); }

.badge-popular {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: #fff;
    padding: 8px 45px;
    font-size: 11px;
    font-weight: 800;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(254,135,6,0.2);
}

.price-icon {
    width: 70px;
    height: 70px;
    background: rgba(254,135,6,0.08);
    color: var(--accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 30px;
}

.price-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.price-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.price-value span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.7;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    flex-grow: 1;
}
.price-features li {
    padding: 12px 0;
    color: var(--text);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
body.dark-mode .price-features li { border-bottom-color: rgba(255,255,255,0.03); }
.price-features li:last-child { border-bottom: none; }
.price-features li i { color: #10b981; font-size: 16px; }

.btn-price {
    padding: 18px 30px;
    border-radius: 16px;
    font-weight: 800;
    text-align: center;
    transition: 0.3s;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}
.btn-outline {
    border: 2px solid var(--border);
    color: var(--primary) !important;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}
.btn-solid {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(254,135,6,0.2);
}
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(254,135,6,0.3); }

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-12px); }
}
