/*
 * SERİN profesyonel tema sistemi
 * Tema anahtarları app/theme.php üzerinden yönetim panelinden seçilir.
 */
body.serin-theme-heritage {
    --theme-nav: #073b2b;
    --theme-nav-deep: #042a1e;
    --theme-page: #eeeade;
    --theme-page-alt: #dfe6dd;
    --theme-panel: #f4f0e5;
    --theme-panel-alt: #e8ece4;
    --theme-accent: #d89a22;
    --theme-accent-2: #bf692f;
    --theme-ink: #172b24;
    --theme-muted: #5f6d66;
}
body.serin-theme-graphite {
    --theme-nav: #252b2a;
    --theme-nav-deep: #161b1a;
    --theme-page: #e9e7e0;
    --theme-page-alt: #d9ddd8;
    --theme-panel: #f1efe8;
    --theme-panel-alt: #e2e4df;
    --theme-accent: #bd6b3d;
    --theme-accent-2: #8f4c31;
    --theme-ink: #202927;
    --theme-muted: #626b68;
}
body.serin-theme-olive {
    --theme-nav: #3e4a2f;
    --theme-nav-deep: #293322;
    --theme-page: #eee5d3;
    --theme-page-alt: #ddd8c6;
    --theme-panel: #f4ecdc;
    --theme-panel-alt: #e5e1d1;
    --theme-accent: #b77a32;
    --theme-accent-2: #94602c;
    --theme-ink: #303426;
    --theme-muted: #6e6b59;
}
body.serin-theme-navy {
    --theme-nav: #15283a;
    --theme-nav-deep: #0d1b29;
    --theme-page: #e8eaeb;
    --theme-page-alt: #d8dfe1;
    --theme-panel: #f0f1ef;
    --theme-panel-alt: #e1e5e4;
    --theme-accent: #d6a12c;
    --theme-accent-2: #b97931;
    --theme-ink: #202c34;
    --theme-muted: #617078;
}
body.serin-theme-earth {
    --theme-nav: #4b362c;
    --theme-nav-deep: #34251f;
    --theme-page: #ebe6da;
    --theme-page-alt: #d5dfd4;
    --theme-panel: #f2ede2;
    --theme-panel-alt: #e2e8df;
    --theme-accent: #c2613c;
    --theme-accent-2: #9d4932;
    --theme-ink: #332c27;
    --theme-muted: #6f6861;
}

body.serin-site {
    --theme-line: color-mix(in srgb, var(--theme-nav) 15%, transparent);
    --theme-shadow: 0 16px 42px color-mix(in srgb, var(--theme-nav) 14%, transparent);
    overflow-x: hidden;
    background: var(--theme-page);
    color: var(--theme-ink);
}
body.serin-site h1,
body.serin-site h2,
body.serin-site h3,
body.serin-site h4,
body.serin-site h5 { color: var(--theme-ink); }

/* Bölümler düz bir boya yerine düzenli, birbirinden ayrılan kurumsal katmanlardır. */
body.serin-site > section.gap:not(.energix),
body.serin-site > section.services,
body.serin-site > section.section-contact,
body.serin-site > section.our-projects,
body.serin-site > section.serin-offer-page {
    border-top: 1px solid rgba(255, 255, 255, .42);
    border-bottom: 1px solid var(--theme-line);
    background: var(--theme-page);
}
body.serin-site > section.gap:nth-of-type(even):not(.energix),
body.serin-site > section.services:nth-of-type(even),
body.serin-site > section.section-contact:nth-of-type(even),
body.serin-site > section.our-projects:nth-of-type(even) { background: var(--theme-page-alt); }
body.serin-site .serin-offer-page { background: var(--theme-page-alt) !important; }

/* Sakin ve güçlü üst menü: hareketli sayfa geçişi yoktur. */
body.serin-site header .top-bar { background: var(--theme-nav-deep); }
body.serin-site header .menu-bar {
    min-height: 88px;
    padding: 10px 13px 10px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: linear-gradient(120deg, var(--theme-nav), var(--theme-nav-deep));
    box-shadow: 0 17px 38px color-mix(in srgb, var(--theme-nav-deep) 34%, transparent);
}
body.serin-site .navbar-links { gap: 2px; }
body.serin-site .navbar-links > li > a {
    position: relative;
    padding: 13px 16px;
    border: 0;
    border-radius: 9px;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    font-weight: 650;
    transition: background-color .22s ease, color .22s ease;
}
body.serin-site .navbar-links > li > a::after {
    position: absolute;
    right: 16px;
    bottom: 5px;
    left: 16px;
    height: 2px;
    border-radius: 3px;
    background: var(--theme-accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}
body.serin-site .navbar-links > li:hover > a,
body.serin-site .navbar-links > li > a:focus-visible,
body.serin-site .navbar-links > li > a.serin-nav-active {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}
body.serin-site .navbar-links > li:hover > a::after,
body.serin-site .navbar-links > li > a:focus-visible::after,
body.serin-site .navbar-links > li > a.serin-nav-active::after { transform: scaleX(1); }
body.serin-site .navbar-links li.navbar-dropdown .dropdown {
    margin-top: 14px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 14px;
    background: var(--theme-nav-deep);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .24);
    transform: translateY(8px);
}
body.serin-site .navbar-links li.navbar-dropdown:hover .dropdown { transform: translateY(0); }
body.serin-site .navbar-links li.navbar-dropdown .dropdown li a,
body.serin-site .navbar-links li.navbar-dropdown .dropdown li:nth-child(even) a {
    margin: 2px 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .8);
}
body.serin-site .navbar-links li.navbar-dropdown .dropdown li a:hover {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}
body.serin-site header a.header-button {
    margin-left: 12px;
    padding: 17px 22px;
    border: 0;
    background: var(--theme-accent);
    box-shadow: none;
    color: var(--theme-nav-deep);
}
body.serin-site header a.header-button:hover { background: var(--theme-accent-2); color: #fff; }

/* Yeni sade marka: S monogramı, güneş noktası ve sıcak su dalgası. */
.serin-brand__symbol {
    position: relative;
    display: block;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 15px 5px 15px 5px;
    background: var(--theme-panel);
    box-shadow: none;
}
.serin-brand__monogram {
    position: absolute;
    top: 8px;
    left: 12px;
    color: var(--theme-nav);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
}
.serin-brand__solar-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--theme-panel);
    border-radius: 50%;
    background: var(--theme-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 32%, transparent);
}
.serin-brand__waterline,
.serin-brand__waterline::after {
    position: absolute;
    right: 8px;
    bottom: 9px;
    left: 8px;
    height: 8px;
    border-bottom: 3px solid var(--theme-nav);
    border-radius: 0 0 50% 50%;
    content: "";
}
.serin-brand__waterline::after {
    right: 5px;
    bottom: -7px;
    left: 5px;
    height: 6px;
    border-color: var(--theme-accent);
}
body.serin-site header .serin-brand__name { color: #fff; font-size: 28px; letter-spacing: 3px; }
body.serin-site header .serin-brand__tagline { color: rgba(255, 255, 255, .62); }
body.serin-site header .serin-brand__tagline::before { background: var(--theme-accent); }

/* İçerik panelleri ve kartlar */
body.serin-site .blog-text,
body.serin-site .recent-projects-img,
body.serin-site .use-energix.three,
body.serin-site .free-consultation,
body.serin-site .our-blog-text,
body.serin-site .blog-details-text,
body.serin-site .posts,
body.serin-site .contact-form,
body.serin-site .responsive-map,
body.serin-site .team-about .accordion,
body.serin-site .serin-offer-form {
    border: 1px solid var(--theme-line);
    background: var(--theme-panel);
    box-shadow: var(--theme-shadow);
}
body.serin-site .blog-text { height: 100%; padding: 13px 13px 23px; border-radius: 22px; }
body.serin-site .blog-text h4 { padding: 8px 9px 2px; color: var(--theme-ink); }
body.serin-site .blog-img img { border-radius: 14px; }
body.serin-site .recent-projects-img { overflow: hidden; border-radius: 22px; }
body.serin-site .recent-projects-text { background: var(--theme-panel); }
body.serin-site .use-energix.three { padding: 27px; border-radius: 20px; }
body.serin-site .services-img figure { overflow: hidden; border: 6px solid var(--theme-panel); border-radius: 23px; box-shadow: var(--theme-shadow); }
body.serin-site .services-img img { border-radius: 16px; }
body.serin-site .free-consultation { border-radius: 24px; }
body.serin-site .our-blog-text { overflow: hidden; padding: 20px; border-radius: 23px 23px 8px 8px; }
body.serin-site .our-blog-text-img img { border-radius: 15px; }
body.serin-site .blog-details-text { margin-top: 10px !important; padding: 28px; border-radius: 8px 8px 23px 23px; }
body.serin-site .posts { padding: 24px; border-radius: 20px; }
body.serin-site .contact-form { padding: 28px; border-radius: 22px; }
body.serin-site .responsive-map { overflow: hidden; padding: 7px; border-radius: 22px; }
body.serin-site .responsive-map iframe { border-radius: 16px; }
body.serin-site .team-about .accordion { padding: 16px; border-radius: 22px; }
body.serin-site .serin-offer-form { background: var(--theme-panel) !important; }

body.serin-site .contact-form input:not([type="checkbox"]):not([type="radio"]),
body.serin-site .contact-form textarea,
body.serin-site .contact-form select,
body.serin-site .serin-offer-form input:not([type="checkbox"]):not([type="radio"]),
body.serin-site .serin-offer-form textarea,
body.serin-site .serin-offer-form select {
    border-color: var(--theme-line);
    background: var(--theme-panel-alt);
    color: var(--theme-ink);
}
body.serin-site .contact-form input:focus,
body.serin-site .contact-form textarea:focus,
body.serin-site .contact-form select:focus,
body.serin-site .serin-offer-form input:focus,
body.serin-site .serin-offer-form textarea:focus,
body.serin-site .serin-offer-form select:focus {
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-accent) 16%, transparent);
}
body.serin-site .button,
body.serin-site .blog-img h6,
body.serin-site .pagination li.prev a { background-color: var(--theme-accent); }
body.serin-site .pagination li a { border-color: var(--theme-line); background: var(--theme-panel); color: var(--theme-ink); }

/* Her ölçüdeki fotoğraf kesilmeden aynı kutuya sığar. */
body.serin-site .serin-system-visual {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
    padding: 10px;
    border: 1px solid var(--theme-line);
    border-radius: 18px;
    background: var(--theme-panel-alt);
    box-shadow: none;
}
body.serin-site .serin-system-visual::after { display: none; }
body.serin-site .serin-system-visual img {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    background: var(--theme-panel-alt);
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
}

body.serin-site .banner::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--theme-accent);
    content: "";
}
body.serin-site .page-breadcrumb { border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .2); }

@media (max-width: 1200px) {
    body.serin-site header .menu-bar { min-height: 76px; border-radius: 0; }
    body.serin-site .bar-menu { color: #fff; }
}
@media (max-width: 767px) {
    body.serin-site header .serin-brand__name { font-size: 22px; }
    body.serin-site header .serin-brand__tagline { font-size: 6.3px; }
    body.serin-site .mobile-nav { background: var(--theme-panel); }
    body.serin-site .mobile-nav .serin-brand__name { color: var(--theme-nav); }
    body.serin-site .mobile-nav .serin-brand__tagline { color: var(--theme-muted); }
    body.serin-site .mobile-nav > ul > li > a { color: var(--theme-ink); }
    body.serin-site .contact-form,
    body.serin-site .blog-details-text,
    body.serin-site .posts { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}
