/* ==========================================================================
   page-extra.css
   Jagatud stiilid uutele sisu-/teenuselehtedele (teenused.php, artiklid jne).
   Sisaldab: modern-footer, LLM/AI märgised, keelevalija, section-divider,
   ja teenuselehe sisuploki stiilid. Varem olid need iga lehe sees inline'is.
   ========================================================================== */

/* ---------- Modern Footer ---------- */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db 0%, #27ae60 50%, #3498db 100%);
}
.footer-content { padding: 60px 0 40px; }
.footer-brand { padding-right: 20px; }
.footer-logo { display: inline-block; margin-bottom: 20px; transition: transform 0.3s ease; }
.footer-logo:hover { transform: translateY(-3px); }
.footer-logo img { filter: brightness(0) invert(1); transition: filter 0.3s ease; }
.footer-logo:hover img { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(52, 152, 219, 0.5)); }
.footer-description { color: rgba(255, 255, 255, 0.8); line-height: 1.8; margin-bottom: 25px; font-size: 14px; }
.footer-contact { margin-top: 20px; }
.contact-item {
    display: flex; align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none; margin-bottom: 12px;
    transition: all 0.3s ease; font-size: 14px;
}
.contact-item i { margin-right: 12px; width: 20px; color: #27ae60; font-size: 16px; }
.contact-item:hover { color: #3498db; transform: translateX(5px); }
.contact-item:hover i { color: #3498db; }
.footer-title {
    color: #ffffff; font-size: 18px; font-weight: 600;
    margin-bottom: 25px; position: relative; padding-bottom: 10px;
}
.footer-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, #3498db, #27ae60); border-radius: 2px;
}
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a {
    color: rgba(255, 255, 255, 0.8); text-decoration: none;
    display: flex; align-items: center; transition: all 0.3s ease; font-size: 14px;
}
.footer-menu a i {
    font-size: 10px; margin-right: 10px; color: #27ae60;
    opacity: 0; transform: translateX(-5px); transition: all 0.3s ease;
}
.footer-menu a:hover { color: #3498db; transform: translateX(5px); }
.footer-menu a:hover i { opacity: 1; transform: translateX(0); color: #3498db; }
.footer-social { display: flex; gap: 15px; flex-wrap: wrap; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; color: #ffffff; text-decoration: none;
    transition: all 0.3s ease; border: 2px solid transparent;
}
.social-link:hover {
    background: #3498db; border-color: #3498db;
    transform: translateY(-3px); box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.3); padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.copyright-text { color: rgba(255, 255, 255, 0.7); margin: 0; font-size: 14px; }
.copyright-text .brand-link { color: #3498db; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.copyright-text .brand-link:hover { color: #27ae60; }
.footer-credits { color: rgba(255, 255, 255, 0.6); margin: 0; font-size: 13px; }
.footer-credits i { animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ---------- LLM / AI SEO badge ---------- */
.llm-ai-seo-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(39, 174, 96, 0.2) 100%);
    border: 1px solid rgba(52, 152, 219, 0.4); border-radius: 20px;
    color: rgba(255, 255, 255, 0.95); font-size: 13px; font-weight: 600;
    cursor: help; transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.llm-ai-seo-badge:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(39, 174, 96, 0.3) 100%);
    border-color: rgba(52, 152, 219, 0.6); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}
.llm-ai-seo-badge i { color: #3498db; font-size: 14px; animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow {
    0%, 100% { opacity: 1; text-shadow: 0 0 5px rgba(52, 152, 219, 0.5); }
    50% { opacity: 0.8; text-shadow: 0 0 10px rgba(52, 152, 219, 0.8); }
}
.llm-ai-seo-badge span { white-space: nowrap; }
.llm-ai-seo-badge-header {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(52, 152, 219, 0.5);
    border-radius: 15px; color: rgba(255, 255, 255, 0.95);
    font-size: 11px; font-weight: 600; cursor: help; transition: all 0.3s ease;
    backdrop-filter: blur(5px); max-width: fit-content; width: fit-content; flex-shrink: 0;
}
.llm-ai-seo-badge-header:hover {
    background: rgba(255, 255, 255, 0.25); border-color: rgba(52, 152, 219, 0.8);
    transform: translateY(-1px); box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}
.llm-ai-seo-badge-header i { color: #3498db; font-size: 12px; animation: pulse-glow-header 2s ease-in-out infinite; }
@keyframes pulse-glow-header {
    0%, 100% { opacity: 1; text-shadow: 0 0 3px rgba(52, 152, 219, 0.6); }
    50% { opacity: 0.9; text-shadow: 0 0 6px rgba(52, 152, 219, 0.9); }
}
.llm-ai-seo-badge-header span { white-space: nowrap; }

/* ---------- Language selector ---------- */
.language-selector { display: inline-block; margin-right: 15px; }
.language-selector a {
    color: #333; text-decoration: none; padding: 5px 10px; margin: 0 2px;
    border-radius: 3px; font-weight: 500;
}
.language-selector a.active { background-color: #3498db; color: white; }
.language-selector a:hover { background-color: #f0f0f0; }
.language-selector a.active:hover { background-color: #2980b9; }

/* ---------- Service page content ---------- */
.service-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; padding: 70px 0; text-align: center; position: relative;
}
.service-hero .service-icon { font-size: 54px; color: #3498db; margin-bottom: 18px; display: block; }
.service-hero h1 { color: #fff; font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.service-hero .service-intro { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 760px; margin: 0 auto; line-height: 1.7; }
.service-breadcrumb { font-size: 14px; margin-bottom: 22px; color: rgba(255,255,255,0.7); }
.service-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.service-breadcrumb a:hover { color: #3498db; }

.service-body { padding: 60px 0; }
.service-body h2 { font-size: 26px; font-weight: 700; margin: 38px 0 16px; color: #1a1a2e; }
.service-body h2:first-child { margin-top: 0; }
.service-body p { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 16px; }
.service-body ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.service-body ul li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    font-size: 16px; line-height: 1.7; color: #444;
}
.service-body ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 2px; color: #27ae60; font-size: 14px;
}
.service-cta {
    background: #f5f8fc; border: 1px solid #e3ecf7; border-radius: 12px;
    padding: 36px; text-align: center; margin-top: 40px;
}
.service-cta h2 { margin-top: 0; }
.service-cta p { max-width: 620px; margin: 0 auto 22px; }

.service-faq { margin-top: 46px; }
.service-faq .faq-item { border-bottom: 1px solid #e6e6e6; padding: 18px 0; }
.service-faq .faq-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #1a1a2e; }
.service-faq .faq-item p { margin: 0; }

.service-links { margin-top: 40px; }
.service-links a {
    display: inline-block; margin: 0 10px 10px 0; padding: 8px 16px;
    background: #eef4fb; color: #2980b9; border-radius: 20px;
    text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.25s ease;
}
.service-links a:hover { background: #3498db; color: #fff; }

.section-divider { height: 1px; background: #eee; margin: 0; }

@media (max-width: 768px) {
    .footer-content { padding: 40px 0 30px; }
    .footer-brand { padding-right: 0; margin-bottom: 30px; }
    .footer-title { font-size: 16px; margin-bottom: 20px; }
    .footer-bottom { text-align: center; }
    .footer-bottom .row > div { margin-bottom: 10px; }
    .service-hero h1 { font-size: 30px; }
    .service-hero { padding: 50px 0; }
}
