/* ============================================================
   RELİON ENERJİ — Kurumsal Web Sitesi Stilleri
   Marka renkleri: Turuncu #E79517 · Gri #A59A9C · Antrasit #1E222B
   ============================================================ */

:root {
    --relion-orange: #E79517;
    --relion-orange-dark: #C97F0E;
    --relion-gray: #A59A9C;
    --relion-dark: #1E222B;
    --relion-dark-2: #262B36;
    --relion-light: #F7F8FA;
    --relion-text: #3A3F4B;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--relion-text);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--relion-dark); }

.section { padding: 90px 0; }
.section-light { background: var(--relion-light); }

.section-tag {
    display: inline-block;
    color: var(--relion-orange);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .5rem;
}

.section-title { font-size: 2.2rem; margin-bottom: .75rem; }
.section-sub { color: #6b7280; max-width: 640px; margin: 0 auto 3rem; }

.text-orange { color: var(--relion-orange) !important; }

/* ---------- Butonlar ---------- */
.btn-relion {
    background: var(--relion-orange);
    color: #fff;
    border: 2px solid var(--relion-orange);
    padding: .7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
}
.btn-relion:hover { background: var(--relion-orange-dark); border-color: var(--relion-orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(231,149,23,.35); }

.btn-relion-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
    padding: .7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
}
.btn-relion-outline:hover { background: #fff; color: var(--relion-dark); border-color: #fff; }

/* ---------- Navbar ---------- */
.relion-navbar {
    padding: 1rem 0;
    transition: all .35s ease;
    background: transparent;
}
.relion-navbar .navbar-brand img { height: 48px; transition: height .3s ease; }
.relion-navbar .logo-dark { display: none; }
.relion-navbar .logo-light { display: inline-block; }

.relion-navbar.scrolled,
.relion-navbar.solid {
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    padding: .5rem 0;
}
.relion-navbar.scrolled .logo-dark, .relion-navbar.solid .logo-dark { display: inline-block; }
.relion-navbar.scrolled .logo-light, .relion-navbar.solid .logo-light { display: none; }

.relion-navbar .nav-link {
    color: rgba(255,255,255,.9);
    font-weight: 500;
    margin: 0 .35rem;
    position: relative;
    transition: color .3s ease;
}
.relion-navbar.scrolled .nav-link, .relion-navbar.solid .nav-link { color: var(--relion-dark); }

.relion-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: .5rem; right: .5rem; bottom: 0;
    height: 2px;
    background: var(--relion-orange);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.relion-navbar .nav-link:hover::after,
.relion-navbar .nav-link.active::after { transform: scaleX(1); }
.relion-navbar .nav-link:hover, .relion-navbar .nav-link.active { color: var(--relion-orange); }

.navbar-toggler { border: none; font-size: 1.8rem; color: #fff; }
.relion-navbar.scrolled .navbar-toggler, .relion-navbar.solid .navbar-toggler { color: var(--relion-dark); }
.navbar-toggler:focus { box-shadow: none; }

/* Dil değiştirici */
.lang-switcher { display: flex; align-items: center; gap: .25rem; }
.lang-btn {
    background: none; border: none;
    color: rgba(255,255,255,.75);
    font-weight: 600; font-size: .9rem;
    padding: .2rem .4rem;
    cursor: pointer;
    transition: color .3s;
}
.relion-navbar.scrolled .lang-btn, .relion-navbar.solid .lang-btn { color: #9aa0ab; }
.lang-btn.active, .lang-btn:hover { color: var(--relion-orange) !important; }
.lang-sep { color: rgba(255,255,255,.4); }
.relion-navbar.scrolled .lang-sep, .relion-navbar.solid .lang-sep { color: #c5c9d0; }

/* Mobil menü açıkken */
@media (max-width: 991.98px) {
    .relion-navbar .navbar-collapse {
        background: rgba(255,255,255,.98);
        border-radius: 12px;
        padding: 1rem;
        margin-top: .75rem;
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
    }
    .relion-navbar .nav-link { color: var(--relion-dark) !important; padding: .6rem 0; }
    .relion-navbar .lang-btn { color: #9aa0ab; }
    .relion-navbar .lang-sep { color: #c5c9d0; }
    .lang-switcher { margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../img/hero-renewables.jpg') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(20,23,30,.92) 0%, rgba(20,23,30,.75) 45%, rgba(20,23,30,.35) 100%);
}
.hero .container { position: relative; z-index: 2; }

.hero-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(231,149,23,.15);
    border: 1px solid rgba(231,149,23,.5);
    color: var(--relion-orange);
    padding: .4rem 1.1rem;
    border-radius: 50px;
    font-size: .85rem; font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero h1 .highlight { color: var(--relion-orange); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; font-weight: 300; }

.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: 1.6rem;
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* İç sayfa hero */
.page-hero {
    position: relative;
    padding: 190px 0 100px;
    background: url('../img/page-hero-bg.jpg') center 30%/cover no-repeat, var(--relion-dark);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20,23,30,.94) 0%, rgba(20,23,30,.8) 50%, rgba(231,149,23,.25) 100%);
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,149,23,.3) 0%, transparent 70%);
}
.page-hero h1 { color: #fff; font-size: 2.6rem; position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,.78); margin: 0; position: relative; z-index: 2; }
.page-hero .breadcrumb-line {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--relion-orange);
    font-size: .85rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: .75rem;
    position: relative; z-index: 2;
}
.page-hero .breadcrumb-line::before {
    content: '';
    width: 34px; height: 2px;
    background: var(--relion-orange);
    display: inline-block;
}

/* ---------- Şık görsel çerçeveleri ---------- */
/* Fotoğraf yığını: büyük görsel + köşede küçük görsel */
.img-stack { position: relative; padding: 0 2.2rem 2.6rem 0; }
.img-stack .img-main {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(30,34,43,.22);
    position: relative; z-index: 2;
}
.img-stack .img-small {
    position: absolute;
    right: 0; bottom: 0;
    width: 46%;
    border-radius: 14px;
    border: 6px solid #fff;
    box-shadow: 0 18px 45px rgba(30,34,43,.28);
    z-index: 3;
}
.img-stack::before {
    /* turuncu ofset çerçeve */
    content: '';
    position: absolute;
    left: -16px; top: -16px;
    width: 55%; height: 55%;
    border: 3px solid var(--relion-orange);
    border-radius: 18px;
    z-index: 1;
}
.img-stack::after {
    /* nokta deseni */
    content: '';
    position: absolute;
    right: .4rem; top: -30px;
    width: 130px; height: 130px;
    background-image: radial-gradient(rgba(231,149,23,.55) 2.5px, transparent 2.5px);
    background-size: 18px 18px;
    z-index: 1;
}
.img-stack .exp-badge {
    position: absolute;
    left: -18px; bottom: 1.6rem;
    background: linear-gradient(135deg, var(--relion-orange), #d4820a);
    color: #fff;
    border-radius: 16px;
    padding: 1.1rem 1.4rem;
    text-align: center;
    box-shadow: 0 14px 35px rgba(231,149,23,.45);
    z-index: 4;
}
.img-stack .exp-badge .big { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.img-stack .exp-badge .small { font-size: .78rem; opacity: .95; }

/* Uygulama penceresi çerçevesi (yazılım ekran görüntüleri için) */
.app-window {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 60px rgba(30,34,43,.22);
    border: 1px solid #e8eaef;
    transition: transform .35s ease, box-shadow .35s ease;
}
.app-window:hover { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(30,34,43,.28); }
.app-window .win-bar {
    display: flex; align-items: center; gap: .45rem;
    background: linear-gradient(180deg, #2b303b, #232833);
    padding: .65rem 1rem;
}
.app-window .win-bar span { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.app-window .win-bar .r { background: #ff5f57; }
.app-window .win-bar .y { background: #febc2e; }
.app-window .win-bar .g { background: #28c840; }
.app-window .win-bar .win-title {
    color: rgba(255,255,255,.55);
    font-size: .74rem;
    margin-left: .6rem;
    letter-spacing: .5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-window img { width: 100%; display: block; border-radius: 0 !important; box-shadow: none !important; }

/* Pencere arkası dekor */
.window-wrap { position: relative; }
.window-wrap::before {
    content: '';
    position: absolute;
    left: -22px; bottom: -22px;
    width: 160px; height: 160px;
    background-image: radial-gradient(rgba(165,154,156,.5) 2.5px, transparent 2.5px);
    background-size: 18px 18px;
    z-index: 0;
}
.window-wrap::after {
    content: '';
    position: absolute;
    right: -20px; top: -20px;
    width: 46%; height: 55%;
    border: 3px solid var(--relion-orange);
    border-radius: 18px;
    z-index: 0;
}
.window-wrap .app-window { z-index: 2; }
.window-wrap .win-chip {
    position: absolute;
    left: -14px; top: -14px;
    z-index: 3;
    background: var(--relion-dark);
    color: #fff;
    border-radius: 50px;
    padding: .45rem 1.1rem;
    font-size: .8rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: .45rem;
    box-shadow: 0 10px 25px rgba(30,34,43,.35);
}
.window-wrap .win-chip i { color: var(--relion-orange); }

/* ---------- Sayaç bandı ---------- */
.stats-band {
    background: var(--relion-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute; left: -80px; bottom: -140px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,149,23,.18) 0%, transparent 70%);
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--relion-orange);
    line-height: 1;
}
.stat-label { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: .5rem; }

/* ---------- Hizmet kartları ---------- */
.service-card {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    height: 100%;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 100%; height: 4px;
    background: var(--relion-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(30,34,43,.12); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: rgba(231,149,23,.12);
    color: var(--relion-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}
.service-card h4 { font-size: 1.15rem; margin-bottom: .75rem; }
.service-card p { color: #6b7280; font-size: .95rem; margin: 0; }

/* ---------- Hizmet detay ---------- */
.service-detail { padding: 70px 0; }
.service-detail img { border-radius: 16px; box-shadow: 0 15px 40px rgba(30,34,43,.15); width: 100%; object-fit: cover; }
.service-detail .check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.service-detail .check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: .75rem;
    color: var(--relion-text);
}
.service-detail .check-list li::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    position: absolute; left: 0; top: 0;
    color: var(--relion-orange);
    font-weight: 700;
}

/* ---------- Proje bölümleri ---------- */
.project-cat-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eceef2;
    padding: 1.8rem;
    height: 100%;
    transition: all .3s ease;
}
.project-cat-card:hover { box-shadow: 0 15px 35px rgba(30,34,43,.1); transform: translateY(-5px); }
.project-cat-card h5 { display: flex; align-items: center; gap: .6rem; color: var(--relion-dark); }
.project-cat-card h5 i { color: var(--relion-orange); font-size: 1.4rem; }
.project-cat-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.project-cat-card ul li {
    padding: .45rem 0 .45rem 1.5rem;
    position: relative;
    color: #57606f;
    font-size: .95rem;
    border-bottom: 1px dashed #eceef2;
}
.project-cat-card ul li:last-child { border-bottom: none; }
.project-cat-card ul li::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    position: absolute; left: 0;
    color: var(--relion-orange);
    font-size: .75rem;
}

.table-relion { font-size: .92rem; }
.table-relion thead th {
    background: var(--relion-dark);
    color: #fff;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}
.table-relion tbody tr:hover { background: rgba(231,149,23,.06); }

.brand-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 50px;
    padding: .5rem 1.2rem;
    margin: .3rem;
    font-weight: 500;
    font-size: .9rem;
    color: var(--relion-text);
    transition: all .3s ease;
}
.brand-badge:hover { border-color: var(--relion-orange); color: var(--relion-orange); }

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--relion-orange) 0%, #d4820a 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; right: -100px; top: -100px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.cta-band h2 { color: #fff; font-size: 2rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; }
.cta-band .btn-cta {
    background: #fff;
    color: var(--relion-orange-dark);
    border-radius: 50px;
    padding: .75rem 2rem;
    font-weight: 700;
    border: none;
    transition: all .3s ease;
}
.cta-band .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.2); }

/* ---------- Hakkımızda ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 16px; width: 100%; box-shadow: 0 20px 50px rgba(30,34,43,.18); }
.about-badge {
    position: absolute;
    bottom: -20px; left: -20px;
    background: var(--relion-orange);
    color: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(231,149,23,.4);
}
.about-badge .big { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.about-badge .small { font-size: .8rem; }

.feature-box { text-align: center; padding: 2rem 1.5rem; }
.feature-box .icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(231,149,23,.12);
    color: var(--relion-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.2rem;
    height: 100%;
    border-top: 4px solid var(--relion-orange);
    box-shadow: 0 10px 30px rgba(30,34,43,.08);
}

/* ---------- İletişim ---------- */
.contact-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eceef2;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(30,34,43,.1); }
.contact-card .icon {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(231,149,23,.12);
    color: var(--relion-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.contact-card a { color: var(--relion-text); text-decoration: none; transition: color .3s; }
.contact-card a:hover { color: var(--relion-orange); }

.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(30,34,43,.12); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.relion-footer {
    background: var(--relion-dark);
    color: rgba(255,255,255,.75);
    padding: 70px 0 0;
}
.footer-logo { height: 54px; }
.footer-text { font-size: .92rem; line-height: 1.7; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .6rem; }
.footer-title::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 36px; height: 3px;
    background: var(--relion-orange);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; transition: all .3s; }
.footer-links a:hover { color: var(--relion-orange); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-contact li { margin-bottom: .85rem; display: flex; gap: .6rem; }
.footer-contact i { color: var(--relion-orange); }
.footer-contact a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-contact a:hover { color: var(--relion-orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 50px;
    padding: 1.3rem 0;
    text-align: center;
    font-size: .88rem;
    color: rgba(255,255,255,.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .hero h1 { font-size: 2.3rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .page-hero { padding: 150px 0 70px; }
    .page-hero h1 { font-size: 2rem; }
    .stat-number { font-size: 2.2rem; }
    .about-badge { left: 10px; }
    .img-stack { padding: 0 1rem 2rem 0; }
    .img-stack::before { left: -8px; top: -8px; }
    .img-stack .exp-badge { left: -6px; padding: .85rem 1.1rem; }
    .window-wrap::after { right: -8px; top: -8px; }
    .window-wrap .win-chip { left: -4px; }
}
