/* ==========================================================================
   Ritim Plus — Modern Theme
   Overrides Content/assets/css/style.css (legacy vendor template) visually
   only. Loaded after style.css + custom.css. No selector renamed/removed —
   only restyled — so existing markup, hrefs and JS hooks keep working.
   ========================================================================== */

:root {
    --rp-ink: #0B1220;
    --rp-text: #0F172A;
    --rp-text-muted: #55617A;
    --rp-primary: #5B4FE0;
    --rp-primary-dark: #4636B8;
    --rp-primary-tint: rgba(91, 79, 224, .08);
    --rp-accent: #FF7A3D;
    --rp-surface: #FFFFFF;
    --rp-surface-alt: #F4F6FB;
    --rp-border: #E4E8F1;
    --rp-success: #25D366;

    --rp-gradient: linear-gradient(135deg, #5B4FE0 0%, #4636B8 100%);

    --rp-font-heading: 'Poppins', sans-serif;
    --rp-font-body: 'Inter', sans-serif;

    --rp-radius-sm: 10px;
    --rp-radius-md: 16px;
    --rp-radius-lg: 24px;
    --rp-radius-pill: 9999px;
    --rp-shadow: 0 10px 15px -3px rgba(15, 23, 42, .08), 0 4px 6px -4px rgba(15, 23, 42, .08);
    --rp-shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, .15), 0 8px 10px -6px rgba(15, 23, 42, .15);
}

/* ---------- Base / Typography ---------- */

body {
    font-family: var(--rp-font-body);
    color: var(--rp-text-muted);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rp-font-heading);
    color: var(--rp-text);
}

a {
    color: var(--rp-primary);
}

a:hover {
    color: var(--rp-primary-dark);
}

/* ---------- Buttons ---------- */

.btn-default-danger {
    background: var(--rp-surface);
    color: var(--rp-primary);
    border: 1px solid var(--rp-border);
    font-family: var(--rp-font-heading);
    font-weight: 600;
    transition: all .25s ease;
}

.btn-default-danger:hover {
    background: var(--rp-surface-alt);
    color: var(--rp-primary-dark);
    border-color: var(--rp-primary);
}

.btn-logo-grad {
    background: var(--rp-gradient);
    background-size: 100% 100%;
    color: #fff;
    border: none;
    border-radius: var(--rp-radius-sm);
    font-family: var(--rp-font-heading);
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(91, 79, 224, .28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-logo-grad:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 30px rgba(91, 79, 224, .38);
}

.btn-grad-blue {
    background: var(--rp-gradient);
    color: #fff;
    border: none;
}

.whatsapp-button {
    background: var(--rp-success);
    color: #fff !important;
    font-family: var(--rp-font-heading);
    font-weight: 600;
    border-radius: var(--rp-radius-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 22px rgba(37, 211, 102, .3);
}

.page-button-grups .btn,
.page-button-grups a.btn {
    border-radius: var(--rp-radius-sm);
    padding: 12px 24px;
}

.page-button-grups {
    margin: 25px 0;
}

.rp-title-wide {
    width: 80%;
}

/* ---------- Header / Navbar ---------- */

.main-header {
    background: var(--rp-surface);
}

#header {
    background: var(--rp-surface);
    border-bottom: 1px solid var(--rp-border);
    box-shadow: none;
    transition: box-shadow .25s ease;
}

#header.header-scrolled {
    box-shadow: var(--rp-shadow);
}

#header .logo img {
    max-height: 42px;
}

/* Header CTA buttons — "Giriş Yap" as a plain text link, "Ücretsiz Dene"
   as the single solid pill CTA, matching a confident SaaS nav pattern */

#header .btn-default-danger {
    background: transparent;
    border: none;
    color: var(--rp-primary);
    padding: 10px 12px;
    border-radius: var(--rp-radius-pill);
}

#header .btn-default-danger:hover {
    background: var(--rp-primary-tint);
    color: var(--rp-primary-dark);
    border-color: transparent;
}

#header .btn-logo-grad {
    border-radius: var(--rp-radius-pill);
    padding: 10px 22px;
}

.navbar a, .navbar a:focus {
    font-family: var(--rp-font-heading);
    font-weight: 500;
    color: var(--rp-text);
    letter-spacing: 0;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: var(--rp-primary);
}

.navbar .dropdown ul {
    border-radius: var(--rp-radius-sm);
    box-shadow: var(--rp-shadow-hover);
    border: 1px solid var(--rp-border);
    padding: 8px;
}

.navbar .dropdown ul a {
    border-radius: 8px;
    color: var(--rp-text);
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
    background: var(--rp-surface-alt);
    color: var(--rp-primary);
}

@media (max-width: 991px) {
    .navbar-mobile {
        background: rgba(11, 21, 51, .97);
    }

    .navbar-mobile a, .navbar-mobile a:focus {
        color: #fff;
        font-family: var(--rp-font-heading);
    }

    .navbar-mobile .dropdown ul {
        background: rgba(255, 255, 255, .06);
    }

    .navbar-mobile .dropdown ul a {
        color: #fff;
    }
}

/* ---------- Hero (Home top section) — centered headline + subtext + two
   CTAs, supporting banner visual below ---------- */

.rp-hero {
    background: linear-gradient(180deg, var(--rp-primary-tint) 0%, var(--rp-surface-alt) 55%, var(--rp-surface) 100%);
    padding: 56px 0 40px;
    text-align: center;
}

.rp-hero-copy {
    max-width: 760px;
    margin: 0 auto;
}

.rp-hero-title {
    font-family: var(--rp-font-heading);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: var(--rp-text);
    margin-bottom: 18px;
}

.rp-hero-sub {
    font-family: var(--rp-font-body);
    font-size: 17px;
    font-weight: 400;
    color: var(--rp-text-muted);
    margin-bottom: 14px;
}

.rp-hero-sub a {
    font-weight: 600;
}

.rp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.rp-hero-actions .btn {
    border-radius: var(--rp-radius-pill);
    padding: 14px 30px;
    font-family: var(--rp-font-heading);
    font-weight: 600;
}

.rp-btn-outline {
    background: var(--rp-surface);
    color: var(--rp-text);
    border: 1px solid var(--rp-border);
    transition: all .25s ease;
}

.rp-btn-outline:hover {
    color: var(--rp-primary);
    border-color: var(--rp-primary);
    background: var(--rp-primary-tint);
}

.rp-hero-visual {
    max-width: 980px;
    margin: 44px auto 0;
}

.rp-hero-visual img {
    border-radius: var(--rp-radius-md);
    box-shadow: var(--rp-shadow-hover);
}

/* ---------- Section titles ---------- */

.section-title h2 {
    font-family: var(--rp-font-heading);
    color: var(--rp-text);
    font-weight: 700;
}

.section-title h2::before, .section-title h2::after {
    background: var(--rp-primary);
}

.section-title p {
    color: var(--rp-text-muted);
}

/* ---------- Clients / trust strip (existing "14 gün demo" copy,
   presented as a confident announcement banner) ---------- */

.clients {
    background: transparent;
    padding: 8px 0 28px;
}

.clients .container {
    background: var(--rp-primary-tint);
    border: 1px solid rgba(91, 79, 224, .16);
    border-radius: var(--rp-radius-lg);
    padding: 18px 28px;
    text-align: center;
}

.clients .text-main1 {
    color: var(--rp-primary-dark);
    letter-spacing: .02em;
}

.clients .fnt-inter-m {
    color: var(--rp-text-muted);
}

/* ---------- About ---------- */

.about {
    padding: 64px 0;
}

.about .content {
    color: var(--rp-text-muted);
    line-height: 1.8;
}

.about .content a {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 79, 224, .3);
}

.about .content a:hover {
    border-bottom-color: var(--rp-primary);
}

/* ---------- Services (contact-style icon boxes) ---------- */

.services {
    padding: 64px 0;
}

.services .icon-box {
    background: var(--rp-surface);
    border: 1px solid var(--rp-border);
    border-radius: var(--rp-radius-md);
    box-shadow: none;
    padding: 32px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.services .icon-box::before {
    display: none;
}

.services .icon-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--rp-shadow-hover);
    border-color: transparent;
}

.services .icon {
    background: var(--rp-surface-alt);
    border-radius: var(--rp-radius-sm);
}

.services .icon i {
    color: var(--rp-primary);
}

.services .icon-box:hover .icon {
    background: var(--rp-gradient);
}

.services .icon-box:hover .icon i {
    color: #fff;
}

.services .title a {
    color: var(--rp-text);
    font-family: var(--rp-font-heading);
}

.services .icon-box:hover .title a {
    color: var(--rp-primary);
}

/* ---------- Features (management features list) ---------- */

.features {
    padding: 64px 0;
    background: var(--rp-surface-alt);
}

.features ul li {
    color: var(--rp-text-muted);
    padding: 6px 0;
}

.features ul li i {
    color: var(--rp-primary);
}

.features .icon-box {
    background: var(--rp-surface);
    border: 1px solid var(--rp-border);
    border-radius: var(--rp-radius-md);
    box-shadow: none;
    padding: 24px 16px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.features .icon-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--rp-shadow-hover);
    border-color: var(--rp-primary);
}

.features .icon-box h3 {
    font-size: 15px;
    margin-top: 12px;
}

.features .icon-box h3 a {
    color: var(--rp-text);
}

.features .icon-box:hover h3 a {
    color: var(--rp-primary);
}

/* ---------- Footer ---------- */

#footer {
    background: var(--rp-ink);
    padding-top: 56px;
}

#footer h4 {
    color: #fff;
    font-family: var(--rp-font-heading);
    font-weight: 600;
}

#footer ul li a,
#footer a {
    color: rgba(255, 255, 255, .68);
}

#footer ul li a:hover,
#footer a:hover {
    color: #fff;
}

#footer .copyright,
#footer .credits {
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .55);
}

#footer .credits a {
    color: rgba(255, 255, 255, .8);
}

.rp-footer-contact {
    margin-bottom: 10px;
}

.rp-footer-contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .45);
}

.rp-footer-contact a {
    font-family: var(--rp-font-heading);
    font-weight: 600;
    color: #fff;
}

.back-to-top {
    background: var(--rp-gradient);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .rp-hero {
        padding: 40px 0 28px;
    }

    .rp-hero-title {
        font-size: 26px;
    }

    .about, .services, .features {
        padding: 40px 0;
    }
}
