/*
 * SERİN GÜNEŞ ENERJİ SİSTEMLERİ - ANA TEMA RENKLERİ
 * İleride sitenin renklerini değiştirmek için yalnızca aşağıdaki değerleri düzenleyin.
 */
:root {
    --serin-green-950: #062f23;
    --serin-green-900: #083d2d;
    --serin-green-700: #0f6a43;
    --serin-green-600: #138a50;
    --serin-gold: #f4b223;
    --serin-orange: #ef6b2e;
    --serin-ink: #10261f;
    --serin-surface: #f4f7f5;
    --serin-border: #dce7e1;
    --serin-green-overlay-82: rgba(6, 47, 35, .82);
    --serin-green-overlay-84: rgba(6, 47, 35, .84);
    --serin-green-overlay-85: rgba(6, 47, 35, .85);
}

body { color: var(--serin-ink); }
::selection { background: var(--serin-green-700); color: #fff; }

/* SERİN is the brand; the business line stays a clearly separated descriptor. */
.serin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--serin-ink);
    text-decoration: none;
    white-space: nowrap;
}
.serin-brand:hover { color: var(--serin-ink); }
.serin-brand__symbol {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    padding: 3px;
    overflow: hidden;
    border: 1px solid rgba(6, 47, 35, .08);
    border-radius: 18px 7px 18px 7px;
    background: linear-gradient(145deg, #fff 0%, #edf5f1 100%);
    box-shadow: 0 9px 24px rgba(6, 47, 35, .14);
}
.serin-brand__symbol img { display: block; width: 100%; height: 100%; object-fit: contain; }
.serin-brand__copy { display: flex; flex-direction: column; line-height: 1; }
.serin-brand__name {
    color: var(--serin-green-950);
    font-size: 29px;
    font-weight: 850;
    letter-spacing: 2.5px;
}
.serin-brand__tagline {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    color: #60716b;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 1.25px;
}
.serin-brand__tagline::before {
    width: 17px;
    height: 2px;
    flex: 0 0 17px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--serin-gold), var(--serin-orange));
    content: "";
}
.serin-brand--footer .serin-brand__name { color: #fff; }
.serin-brand--footer .serin-brand__tagline { color: rgba(255, 255, 255, .68); }

header .menu-bar > .logo,
footer .logo { margin-top: 0; }
header .menu-bar > .logo { flex: 0 0 auto; }
header .menu-bar { min-height: 92px; }
footer .logo .serin-brand { margin-bottom: 12px; }
footer .logo p { max-width: 360px; }

/* Keep database-entered address capitalization exactly as written. */
.top-bar-text p,
.top-bar-text a { text-transform: none; }

/* Real vacuum-tube and classic hot-water systems replace electricity artwork. */
.domestic {
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    padding: 28px 30px 32px;
    overflow: hidden;
}
.domestic h3 { padding-top: 0; }
.domestic p { flex: 1 1 auto; }
.serin-system-visual {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 22px;
    background: #d8e6df;
    box-shadow: 0 14px 32px rgba(3, 30, 22, .24);
}
.serin-system-visual::after {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(3, 30, 22, .27));
    content: "";
    pointer-events: none;
}
.serin-system-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s ease;
}
.domestic:hover .serin-system-visual img { transform: scale(1.035); }

/* Equal-height service cards on every desktop row. */
.process-solutions .row { align-items: stretch; row-gap: 24px; }
.process-solutions .row > [class*="col-"] { display: flex; }
.process-solutions .free-consultation {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    margin: 0 !important;
}
.process-solutions .free-consultation-number { min-height: 76px; }
.process-solutions .free-consultation p { flex: 1 1 auto; }
.process-solutions .free-consultation > svg { margin-top: auto; }

/* Homepage quote form stays inside its panel instead of hanging below it. */
.serin-home-quote-section .request-quote {
    margin-top: 0;
    padding: 52px;
    overflow: hidden;
}
.serin-home-quote-section .request-quote > .row { align-items: center; }
.serin-home-quote-section form.request-quote-form {
    width: 100%;
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(6, 47, 35, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 40px rgba(3, 30, 22, .2);
}
.serin-home-quote-section .request-quote-form input,
.serin-home-quote-section .request-quote-form textarea {
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid var(--serin-border);
    border-radius: 10px;
    background: var(--serin-surface);
    color: var(--serin-ink);
}
.serin-home-quote-section .request-quote-form input { height: 50px; }
.serin-home-quote-section .request-quote-form textarea { min-height: 106px; }
.serin-home-quote-section .request-quote-form .button { width: 100%; }

/* Hero slider */
.serin-hero-carousel .hero-section {
    display: flex;
    align-items: center;
    min-height: 650px;
    padding-top: 165px;
    padding-bottom: 105px;
    background-color: var(--serin-green-950);
    background-position: center center;
}
.serin-hero-carousel .hero-section::before,
.serin-hero-carousel.owl-carousel .owl-item.active .hero-section::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(3, 30, 22, .94) 0%, rgba(4, 40, 29, .86) 43%, rgba(4, 36, 27, .43) 70%, rgba(2, 20, 16, .18) 100%);
    animation: none;
}
.serin-hero-carousel .featured-area-one {
    position: relative;
    z-index: 3;
    max-width: 820px;
    text-align: left;
}
.serin-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #f8c657;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.3px;
}
.serin-hero__kicker b { color: #75c990; }
.serin-hero-carousel .featured-area-one h1,
.serin-hero-carousel .featured-area-one h2 {
    width: 100%;
    max-width: 820px;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(42px, 4.35vw, 66px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -1.8px;
    text-transform: none;
    text-shadow: 0 3px 22px rgba(0, 0, 0, .22);
}
.serin-hero-carousel .featured-area-one p {
    max-width: 690px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .87);
    font-size: 18px;
    line-height: 1.65;
}
.serin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.serin-hero__actions .button {
    min-width: 165px;
    padding: 16px 28px;
    border: 2px solid var(--serin-orange);
    background: var(--serin-orange);
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.serin-hero__actions .button::before { display: none; }
.serin-hero__actions .button:hover { background: #fff; border-color: #fff; color: var(--serin-green-950); }
.serin-hero__actions .button--secondary { background: transparent; border-color: rgba(255,255,255,.65); }

.serin-hero-carousel.owl-theme .owl-nav {
    position: absolute;
    z-index: 5;
    right: max(180px, calc((100vw - 1320px) / 2));
    bottom: 38px;
    display: flex;
    gap: 8px;
    margin: 0;
}
.serin-hero-carousel.owl-theme .owl-nav.disabled,
.serin-hero-carousel.owl-theme .owl-dots.disabled { display: none !important; }
.serin-hero-carousel.owl-theme .owl-nav button.owl-prev,
.serin-hero-carousel.owl-theme .owl-nav button.owl-next {
    margin: 0;
    border-radius: 50%;
    background: transparent;
}
.serin-hero-carousel.owl-theme .owl-nav button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    background: rgba(4, 47, 34, .58);
    color: #fff;
    transition: background .2s ease, border-color .2s ease;
}
.serin-hero-carousel.owl-theme .owl-nav button:hover i { background: var(--serin-orange); border-color: var(--serin-orange); }
.serin-hero-carousel.owl-theme .owl-dots {
    position: absolute;
    z-index: 5;
    left: max(28px, calc((100vw - 1320px) / 2));
    bottom: 52px;
}
.serin-hero-carousel.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: rgba(255,255,255,.48);
}
.serin-hero-carousel.owl-theme .owl-dots .owl-dot.active span { width: 28px; border-radius: 8px; background: var(--serin-gold); }

/* Compact quote and service request page */
.serin-offer-banner.banner {
    min-height: 320px;
    margin-top: -53px;
    padding: 125px 0 48px;
}
.serin-offer-banner.banner::before {
    background: linear-gradient(90deg, rgba(6,47,35,.96), rgba(6,47,35,.76));
    mix-blend-mode: normal;
    opacity: 1;
}
.serin-offer-banner .banner-text { position: relative; z-index: 2; max-width: 820px; }
.serin-offer-banner__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #f8c657;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}
.serin-offer-banner .banner-text h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
}
.serin-offer-banner .page-breadcrumb {
    display: inline-flex;
    width: auto;
    margin-top: 22px;
    padding: 11px 20px;
    transform: none;
    border-radius: 24px;
    background: rgba(19, 138, 80, .82);
}
.serin-offer-banner .page-breadcrumb li,
.serin-offer-banner .page-breadcrumb li a { font-size: 13px; }

.serin-offer-page { padding: 68px 0 78px; background: var(--serin-surface); }
.serin-offer-summary,
.serin-offer-form {
    border: 1px solid var(--serin-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(6, 47, 35, .08);
}
.serin-offer-summary {
    position: sticky;
    top: 24px;
    overflow: hidden;
    padding: 32px;
}
.serin-offer-summary::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--serin-green-600), var(--serin-gold));
}
.serin-offer-summary__eyebrow,
.serin-offer-form__header > div > span {
    color: var(--serin-green-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.65px;
}
.serin-offer-summary h2 {
    margin: 10px 0 13px;
    color: var(--serin-green-950);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.65px;
}
.serin-offer-summary > p { margin: 0; color: #61736b; font-size: 15px; line-height: 1.65; }
.serin-offer-summary ul { margin: 25px 0; }
.serin-offer-summary li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2ef;
    color: #28463b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}
.serin-offer-summary li i {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e6f4ec;
    color: var(--serin-green-600);
    font-size: 11px;
}
.serin-offer-call { padding: 18px; border-radius: 16px; background: var(--serin-green-950); }
.serin-offer-call > span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.68); font-size: 12px; }
.serin-offer-call a { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 17px; font-weight: 750; }
.serin-offer-call a:hover { color: #f8c657; }

.serin-offer-form { padding: 32px; }
.serin-offer-form__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 21px;
    border-bottom: 1px solid var(--serin-border);
}
.serin-offer-form__header h2 {
    margin: 5px 0 0;
    color: var(--serin-green-950);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}
.serin-offer-form__header p { margin: 0; color: #6b7c74; font-size: 13px; }
.serin-offer-form .row > [class*="col-"] { margin-bottom: 17px; }
.serin-offer-form .serin-form-section-title { margin: 4px 0 15px !important; }
.serin-form-section-title span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--serin-green-700);
    font-size: 13px;
    font-weight: 800;
}
.serin-form-section-title span::after { content: ""; flex: 1; height: 1px; background: var(--serin-border); }
form.serin-offer-form label,
form.serin-offer-form label.serin-check {
    display: block;
    margin: 0;
    padding: 0 0 8px;
    color: #29463b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}
form.serin-offer-form input:not([type="checkbox"]),
form.serin-offer-form select,
form.serin-offer-form textarea {
    width: 100%;
    margin: 0;
    border: 1px solid #ccd9d2;
    border-radius: 11px;
    outline: none;
    background: #fbfcfb;
    color: var(--serin-ink);
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
form.serin-offer-form input:not([type="checkbox"]),
form.serin-offer-form select { height: 48px; padding: 0 14px; }
form.serin-offer-form input[type="file"] { height: auto; min-height: 48px; padding: 10px 12px; }
form.serin-offer-form textarea { height: 125px; padding: 13px 14px; resize: vertical; }
form.serin-offer-form input:focus,
form.serin-offer-form select:focus,
form.serin-offer-form textarea:focus {
    border-color: var(--serin-green-600);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(19, 138, 80, .12);
}
form.serin-offer-form label.serin-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 3px 0;
    color: #53675e;
    font-size: 12px;
    font-weight: 500;
}
form.serin-offer-form .serin-check input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--serin-green-600);
}
.serin-offer-submit {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 2px;
    margin-bottom: 0 !important;
}
.serin-offer-submit .button { flex: 0 0 auto; padding: 15px 25px; border: 0; }
.serin-offer-submit .button::before { display: none; }
.serin-offer-submit small { color: #708078; font-size: 11px; line-height: 1.45; }

/* Replace overlapping legacy widgets with one clear contact control. */
.serin-mobile-cta { display: none; }
.serin-desktop-whatsapp {
    position: fixed;
    z-index: 9998;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 19px;
    border-radius: 28px;
    background: #168a46;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}
.serin-desktop-whatsapp:hover { background: #0f7138; color: #fff; transform: translateY(-2px); }
.serin-desktop-whatsapp i { font-size: 23px; }

@media (max-width: 1200px) {
    header { position: relative; z-index: 11; width: 100% !important; height: auto !important; }
    header .menu-bar { min-height: 76px; margin-top: 0; padding: 10px 16px; border-radius: 0; }
    .slider-hero { margin-top: 0; }
    .serin-hero-carousel .hero-section { min-height: 590px; padding-top: 95px; padding-bottom: 95px; }
    .serin-offer-banner.banner { margin-top: 0; padding-top: 72px; }
}

@media (max-width: 767px) {
    body { padding-bottom: 72px; }
    .serin-brand { gap: 9px; }
    .serin-brand__symbol { flex-basis: 46px; width: 46px; height: 46px; padding: 2px; border-radius: 14px 6px 14px 6px; }
    .serin-brand__name { font-size: 23px; letter-spacing: 2px; }
    .serin-brand__tagline { gap: 5px; margin-top: 5px; font-size: 6.5px; letter-spacing: .85px; }
    .serin-brand__tagline::before { width: 12px; flex-basis: 12px; }
    .domestic { padding: 22px 20px 26px; }
    .serin-system-visual { height: auto; aspect-ratio: 16 / 10; margin-bottom: 20px; border-radius: 17px; }
    .serin-home-quote-section .request-quote { padding: 26px 20px; }
    .serin-home-quote-section form.request-quote-form { padding: 21px 16px; border-radius: 17px; }
    .serin-hero-carousel .hero-section {
        min-height: 550px;
        padding-top: 72px;
        padding-bottom: 82px;
        background-position: 58% center;
    }
    .serin-hero-carousel .hero-section::before,
    .serin-hero-carousel.owl-carousel .owl-item.active .hero-section::before {
        background: linear-gradient(90deg, rgba(3, 30, 22, .95) 0%, rgba(4, 40, 29, .87) 72%, rgba(4, 36, 27, .55) 100%);
    }
    .serin-hero-carousel .featured-area-one h1,
    .serin-hero-carousel .featured-area-one h2 {
        font-size: clamp(32px, 9.7vw, 42px);
        line-height: 1.12;
        letter-spacing: -1px;
    }
    .serin-hero__kicker { margin-bottom: 13px; font-size: 11px; letter-spacing: 1.7px; }
    .serin-hero-carousel .featured-area-one p { margin-top: 18px; font-size: 15px; line-height: 1.55; }
    .serin-hero__actions { gap: 9px; margin-top: 23px; }
    .serin-hero__actions .button { min-width: 0; padding: 13px 19px; font-size: 14px; }
    .serin-hero-carousel.owl-theme .owl-nav { display: none; }
    .serin-hero-carousel.owl-theme .owl-dots { left: 50%; bottom: 28px; transform: translateX(-50%); white-space: nowrap; }
    .serin-desktop-whatsapp { display: none; }
    .serin-mobile-cta {
        position: fixed;
        z-index: 9998;
        right: 8px;
        bottom: 8px;
        left: 8px;
        display: flex;
        gap: 6px;
        padding: 7px;
        border: 1px solid rgba(6, 47, 35, .08);
        border-radius: 14px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 7px 28px rgba(0, 0, 0, .2);
        backdrop-filter: blur(8px);
    }
    .serin-mobile-cta a {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 6px;
        border-radius: 9px;
        background: var(--serin-green-900);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }
    .serin-mobile-cta a.serin-whatsapp { background: #168a46; }
    .serin-mobile-cta a.serin-quote { background: var(--serin-orange); }
    .serin-offer-banner.banner { min-height: 250px; padding: 46px 0 34px; }
    .serin-offer-banner .banner-text h1 { font-size: 34px; }
    .serin-offer-banner .page-breadcrumb { margin-top: 17px; padding: 9px 15px; }
    .serin-offer-page { padding: 38px 0 48px; }
    .serin-offer-summary { position: static; margin-bottom: 20px; padding: 25px; }
    .serin-offer-summary h2 { font-size: 25px; }
    .serin-offer-form { padding: 23px 18px; }
    .serin-offer-form__header { display: block; margin-bottom: 20px; padding-bottom: 17px; }
    .serin-offer-form__header h2 { font-size: 26px; }
    .serin-offer-form__header p { margin-top: 7px; }
    .serin-offer-submit { display: block; }
    .serin-offer-submit .button { width: 100%; }
    .serin-offer-submit small { display: block; margin-top: 10px; text-align: center; }
}

@media (max-width: 380px) {
    .serin-brand__symbol { flex-basis: 42px; width: 42px; height: 42px; }
    .serin-brand__name { font-size: 20px; }
    .serin-brand__tagline { font-size: 5.7px; letter-spacing: .65px; }
    .serin-hero-carousel .featured-area-one h1,
    .serin-hero-carousel .featured-area-one h2 { font-size: 30px; }
}
