.custom-container {
    width: 1510px;
    margin: 0 auto;
    padding: 0 15px;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: unset;
}



body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.footer {
    margin-top: 120px;
    border-top: 2px solid rgba(245, 245, 245, 1);
}

.footer-area {
    margin-top: 80px;
}

.footer-col-logo .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.footer-col-center {
    text-align: center;
}

.footer-col-center .social-media-area {
    width: 100%;
    align-items: center;
}

.footer-col-right .footer-desc {
    justify-content: flex-end;
    text-align: right;
}

.footer-pages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0;
    row-gap: 8px;
    margin-top: 20px;
    width: 100%;
}

.footer-pages a,
.footer-pages .footer-page-link {
    display: inline-flex;
    align-items: center;
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-page-sep {
    color: rgba(31, 31, 31, 1);
    font-family: Mulish, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 0 10px;
    user-select: none;
    pointer-events: none;
}

.footer-page-title {
    font-family: Mulish;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: rgba(31, 31, 31, 1);
    white-space: nowrap;
    display: inline;
}

.social-media-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-desc {
    font-family: Mulish;
    font-weight: 500;
    font-style: Medium;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 160%;
    color: rgba(31, 31, 31, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    min-height: 48px;
}

@media (min-width: 1200px) {

    /* Logo | orta (sosyal + linkler) | telif — orta sütun sayfanın tam ortasında */
    .footer-main.row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 24px;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-main.row>[class*="col-"] {
        width: auto;
        max-width: none;
        flex: none;
    }

    .footer-main>.footer-col-logo {
        grid-column: 1;
        justify-self: start;
    }

    .footer-main>.footer-col-center {
        grid-column: 2;
        justify-self: center;
    }

    .footer-main>.footer-col-right {
        grid-column: 3;
        justify-self: end;
    }

    .footer-main>.col-xl-12 {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .footer {
        margin-top: 48px;
    }

    .footer-area {
        margin-top: 28px;
        margin-bottom: 20px;
    }

    .footer-main.row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
    }

    .footer-main.row>[class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    .footer-main>.footer-col-logo {
        order: 1;
        margin-bottom: 24px;
    }

    .footer-main>.footer-col-center {
        order: 2;
        margin-bottom: 12px;
    }

    .footer-main>.footer-col-right {
        order: 3;
        margin-bottom: 0;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .footer-main>.col-xl-12 {
        order: 4;
        margin-top: 0;
        display: flex !important;
        justify-content: center !important;
    }

    .footer-col-logo .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .footer-col-logo .footer-logo img {
        max-height: none;
        height: auto;
        max-width: min(280px, 85vw);
        width: auto;
        margin: 0 auto;
    }

    .footer-col-center .social-media-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .social-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .social-icons a {
        display: inline-flex;
        line-height: 0;
    }

    .footer-pages {
        row-gap: 8px;
        margin-top: 16px;
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-pages .footer-page-link {
        display: inline-flex;
        width: auto;
        text-align: center;
        white-space: nowrap;
    }

    .footer-page-title {
        font-size: 16px;
        display: inline;
    }

    .footer-col-right .footer-desc {
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 16px auto 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 0 !important;
        font-size: 15px;
        line-height: 1.6;
    }

    .footer-alt {
        margin-top: 20px;
        padding-top: 20px;
        width: 100%;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-top: 1px solid rgba(245, 245, 245, 1);
    }

    .footer-alt>a {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .argede-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        margin: 12px auto 16px !important;
    }

    .argede-logo img {
        display: block;
        margin: 0 auto;
    }
}

.footer-alt {
    border-top: 1px solid rgba(245, 245, 245, 1);
    margin-top: 40px;
}

.argede-logo {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    width: 100%;
    height: 20px;
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.castplas-header {
    background-color: #0d0d0d;
    padding: 26px 0 10px;
    font-family: Mulish;

}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.castplas-header .navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.castplas-header .navbar-brand img {
    transform: translateY(-6px);
}

.castplas-header .navbar-brand .logo-icon {
    margin-right: 10px;
    font-size: 2rem;
}

.castplas-header .navbar-brand span {
    font-size: 0.9rem;
    font-weight: normal;
    margin-left: 5px;
    color: #a0a0a0;
    align-self: flex-end;
    margin-bottom: 6px;
}

.castplas-header .navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 14.4px !important;
    padding: 10px 15px !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.castplas-header .navbar-nav .nav-link:hover,
.castplas-header .navbar-nav .nav-link:focus {
    color: #e50000 !important;
}

.castplas-header .dropdown-toggle::after {
    content: "\f107" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    border: none !important;
    vertical-align: middle;
    margin-left: 5px;
    color: #e50000;
    font-size: 0.8rem;
    display: inline-block !important;
}

.castplas-header .dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 15px;
    min-width: 220px;
    -webkit-border-radius: 2;
    -moz-border-radius: 2;
    -ms-border-radius: 2;
    -o-border-radius: 2;
}

.castplas-header .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.castplas-header .dropdown-item {
    color: #888888;
    font-size: 0.85rem;
    padding: 8px 25px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.castplas-header .dropdown-item:hover,
.castplas-header .dropdown-item:focus {
    color: #e50000;
    background-color: transparent;
}

/* Default active state for first item in dropdown matching image */

.castplas-header .dropdown-item.active-item {
    color: #e50000;
}

/* Right Side Actions Container */

.castplas-header .header-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Action Buttons (Search & Language) */

.castplas-header .action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #e50000;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.castplas-header .action-btn-line {
    background: none;
    border: none;
    padding: 0;
    color: #e50000;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    border-right: 1px solid #FFFFFF29;
    padding-right: 23px;
}

.castplas-header .action-btn i {
    font-size: 1.1rem;
}

.castplas-header .action-btn .lang-text {
    color: #e0e0e0;
    margin-left: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Language Dropdown Arrow */

.castplas-header .lang-dropdown-toggle::after {
    content: "\f107" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    border: none !important;
    margin-left: 5px;
    color: #888888;
    font-size: 0.8rem;
    display: inline-block !important;
}

.about-banner {
    position: relative;
    height: 409px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin: 18px;
    border-radius: 4px;
    overflow: hidden;
}

/* .custom-container sayfayla aynı genişlikte ortada; başlık içeride sola (Hakkımızda vb.) */
.about-banner .custom-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1510px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.about-banner-title {
    font-family: Mulish;
    font-weight: 900;
    font-size: 58px;
    color: #FFFFFF;
    line-height: 1.1;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.form-control:focus {
    border-color: none !important;
}

@media (max-width: 1199px) {

    /* Mobilde hover ile alt menü açılmasın */
    .castplas-header .dropdown:hover .dropdown-menu {
        display: none !important;
    }

    .castplas-header .dropdown .dropdown-menu.show {
        display: block !important;
    }

    .mobile-offcanvas {
        width: min(320px, 85vw) !important;
        background-color: #1f1f1f !important;
        color: #fff;
        z-index: 9999 !important;
    }

    .offcanvas-backdrop {
        z-index: 9998 !important;
    }

    /*
     * Swiper stacking context containment:
     * .custom-next/.custom-prev'de transform: translateY(-50%) var →
     * her ok kendi stacking context'ini yaratıyor ve z-index karşılaştırması
     * offcanvas ile aynı seviyede yapılıyor.
     * Çözüm: tüm swiper container'ları z-index: 1 ile kapatıp,
     * okları bu context'e hapsetmek.
     */
    .swiper,
    .card-slider,
    .slider-section,
    [class*="swiper"] {
        position: relative;
        z-index: 1 !important;
    }

    .mobile-offcanvas .mobile-only-header {
        display: grid !important;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 12px;
        width: 100%;
        padding: 18px 16px;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-offcanvas .mobile-menu-title {
        grid-column: 1;
        color: #fff;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
    }

    .mobile-offcanvas .mobile-header-tools {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        min-width: 0;
    }

    .mobile-offcanvas .mobile-menu-close {
        grid-column: 3;
    }

    .mobile-offcanvas .mobile-header-lang {
        position: relative;
    }

    .mobile-offcanvas .mobile-header-lang .dropdown-menu {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        min-width: 170px;
        margin: 0;
        z-index: 1060;
    }

    .mobile-offcanvas .mobile-header-icon-btn,
    .mobile-offcanvas .mobile-header-lang-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 0.9rem;
        line-height: 1;
    }

    .mobile-offcanvas .mobile-header-icon-btn i,
    .mobile-offcanvas .mobile-header-lang-btn i {
        color: #e50000;
        font-size: 1rem;
    }

    .mobile-offcanvas .mobile-header-lang-btn::after {
        margin-left: 4px;
        color: #fff;
        border-top-color: #fff;
    }

    .mobile-offcanvas .mobile-menu-close {
        margin: 0;
        padding: 0;
        opacity: 1;
    }

    .mobile-offcanvas .mobile-offcanvas-body {
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-offcanvas .mobile-nav-list {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .mobile-offcanvas .mobile-nav-list .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-offcanvas .mobile-nav-list .nav-item:last-child {
        border-bottom: none;
    }

    .mobile-offcanvas .nav-link {
        color: #ffffff !important;
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: none;
        padding: 16px 20px !important;
        text-transform: uppercase;
        display: block;
        width: 100%;
    }

    .mobile-offcanvas .mobile-nav-accordion {
        width: 100%;
    }

    .mobile-offcanvas .mobile-submenu-toggle {
        width: 100%;
        text-align: center;
        background: transparent;
        border: 0;
        cursor: pointer;
        color: #ffffff !important;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 16px 20px !important;
        text-transform: uppercase;
    }

    .mobile-offcanvas .mobile-submenu-toggle::after {
        content: "\f107" !important;
        font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
        font-weight: 900 !important;
        border: none !important;
        vertical-align: middle;
        margin-left: 8px;
        color: #e50000;
        font-size: 0.8rem;
        display: inline-block !important;
        transition: transform 0.2s ease;
    }

    .mobile-offcanvas .mobile-submenu-toggle:not(.collapsed)::after {
        transform: rotate(180deg);
    }

    .mobile-offcanvas .mobile-submenu-toggle:not(.collapsed) {
        color: #e50000 !important;
    }

    .mobile-offcanvas .mobile-submenu-panel {
        background-color: rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-offcanvas .mobile-submenu-list {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .mobile-offcanvas .mobile-submenu-link {
        display: block;
        color: #c8c8c8 !important;
        padding: 12px 20px;
        font-size: 0.85rem;
        text-decoration: none;
        text-transform: none;
    }

    .mobile-offcanvas .mobile-submenu-link:hover {
        color: #e50000 !important;
    }

    .desktop-right-actions {
        display: none !important;
    }

    .history-content {
        padding-left: 0px;
        margin-top: 40px;
    }
}

@media (min-width: 1200px) {
    .mobile-only-header {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .castplas-header .dropdown:not(.lang-dropdown-container):hover .dropdown-menu {
        display: block;
    }

    /* Nav linklerini ortaya al */
    .castplas-header .offcanvas-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        flex: 1;
    }

    .castplas-header .offcanvas-body .navbar-nav {
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        gap: 0;
    }

    .castplas-header .offcanvas-body .desktop-right-actions {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .about-banner-title {
        font-size: 28px;
    }
}

/* --- News / Blog Card Styles (Ported from haber.css) --- */
.blog-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.3s;
}

.blog-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: 0.3s;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.blog-date {
    color: #FF0000;
    font-family: Mulish;
    font-weight: 500;
    font-size: 14px;
    margin-top: 20px;
}

.blog-title {
    font-family: Mulish;
    font-weight: 700;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1F1F1F;
}

.blog-title svg path {
    transition: stroke 0.25s ease;
}

.blog-card a:hover .blog-title svg path,
.blog-card a:focus .blog-title svg path {
    stroke: #FF0000;
}

.blog-desc {
    font-family: Mulish;
    font-weight: 400;
    font-size: 16px;
    color: #696969;
}