/* Reset & Basic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #fff;
    color: #222;
}

/* Custom Container: Fluid until 1400px, then max 1400px */
.container {
    max-width: 1400px !important;
    width: 100%;
}

/* Container-fluid padding for large screens (5% margins) */
@media (min-width: 1400px) {
    .container-fluid {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* TOP BAR STYLES */
.top-bar {
    background-color: #012060;
    padding: 0.7rem 0;
    font-size: 0.9rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFF;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-link:hover {
    color: #EFEFEF;
}

.top-bar-link i,
.top-bar-link svg {
    flex-shrink: 0;
    color: #FFF;
    font-size: 1rem;
}

.top-bar-right {
    display: flex;
    gap: 0.75rem;
}

.top-bar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #FFF;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.top-bar-social:hover {
    color: #EFEFEF;
    background-color: #e9ecef;
}

/* HEADER STYLES */
.header-new {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-new .navbar {
    padding: 1.25rem 0;
}

/* Logo Placeholder - Red Box 350x80 */
.logo-placeholder {
    display: block;
    width: 344px;
    height: 70px;
    background: url(../img/elwin.svg) no-repeat;
    background-size: cover;
    transition: opacity 0.3s ease;
}

.logo-placeholder:hover {
    opacity: 0.9;
}

/* Regular nav links - lighter weight for corporate look */
.header-new .nav-link {
    color: #012060;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: capitalize;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0 !important;
    white-space: nowrap;
    display: inline-block;
}

.header-new .nav-link:hover {
    color: #012060;
}

.header-new .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #012060;
    transition: width 0.3s ease;
}

.header-new .nav-link:hover::before {
    width: 80%;
}

/* Dropdown toggle - same styling, no arrow */
.header-new .dropdown-toggle {
    color: #012060;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: capitalize;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0 !important;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.header-new .dropdown-toggle:hover {
    color: #012060;
}

.header-new .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #012060;
    transition: width 0.3s ease;
}

.header-new .dropdown-toggle:hover::before {
    width: 80%;
}

/* Hide Bootstrap dropdown arrow */
.header-new .dropdown-toggle::after {
    display: none;
}

.header-new .navbar-nav {
    gap: 24px;
}

/* Dropdown Menu - min-width 320px, allows expansion, no max-width limit */
.header-new .dropdown-menu {
    margin-top: 0;
    border-radius: 0;
    padding: 0.5rem 0;
    min-width: 320px;
    width: auto;
    max-width: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    background-color: #012060;
    /* Dark Blue Background */
    border-top: 3px solid #fff;
    /* White top border against dark bg if needed, or keep same */
    white-space: nowrap;
}

/* Fix for right-aligned dropdowns (last 4 items just to be safe) */
.header-new .navbar-nav .nav-item:last-child .dropdown-menu,
.header-new .navbar-nav .nav-item:nth-last-child(2) .dropdown-menu,
.header-new .navbar-nav .nav-item:nth-last-child(3) .dropdown-menu,
.header-new .navbar-nav .nav-item:nth-last-child(4) .dropdown-menu {
    right: -100px;
    left: auto;
}

/* Keep dropdown open when hovering over menu or dropdown itself */
.header-new .dropdown:hover .dropdown-menu,
.header-new .dropdown-menu:hover {
    display: block;
}


.header-new .dropdown-item {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    color: #fff;
    /* White Text */
    white-space: nowrap;
}

.header-new .dropdown-item:hover,
.header-new .dropdown-item:focus {
    background-color: #fff;
    /* White Background on Hover */
    color: #012060;
    /* Dark Blue Text on Hover */
}

.header-new .nav-search-btn {
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.header-new .nav-search-btn i {
    font-size: 1.2rem;
}

.header-new .nav-search-btn:hover {
    transform: scale(1.1);
    color: #012060 !important;
}

.header-new .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.header-new .navbar-toggler:focus {
    box-shadow: none;
}

/* Slide-in Corporate Mobile Menu */
@media (max-width: 991px) {
    .header-new .navbar {
        padding: 0;
    }

    .mobile-menu-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        padding: 5px;
        z-index: 1050;
    }

    .mobile-menu-toggle:focus {
        box-shadow: none;
        outline: none;
    }

    .header-new #navbarNav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        max-width: 80vw;
        background-color: #fff;
        z-index: 1045;
        padding: 80px 20px 20px 20px;
        transition: right 0.4s ease-in-out !important;
        display: block !important;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        height: 100% !important;
    }

    .header-new #navbarNav.show {
        right: 0 !important;
    }

    .header-new #navbarNav.collapsing {
        right: -300px;
        height: 100vh !important;
        display: block !important;
        transition: right 0.4s ease-in-out !important;
    }

    .header-new .nav-item {
        border-bottom: 1px solid #f8f9fa;
        margin-bottom: 5px;
    }

    .header-new .nav-item:last-child {
        border-bottom: none;
    }

    .header-new .nav-link,
    .header-new .dropdown-toggle {
        padding: 12px 10px !important;
        font-size: 1.1rem;
        color: #012060 !important;
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    .header-new .nav-link::before,
    .header-new .dropdown-toggle::before {
        display: none;
    }

    .header-new .dropdown-menu {
        position: static !important;
        background-color: #f8f9fa;
        border: none;
        box-shadow: none;
        padding: 10px 0;
        min-width: auto;
        margin-top: 5px;
        border-radius: 4px;
        text-align: center;
    }

    .header-new .dropdown-item {
        color: #333;
        padding: 8px 15px;
        font-size: 0.95rem;
        border-bottom: none;
        white-space: normal;
        text-align: center;
    }

    .header-new .dropdown-item:hover {
        background-color: #e9ecef;
        color: #012060;
    }
}

/* CONTAINER SETUP (500px Height) */
.slider-container {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* Decorative Shapes Layer (Yellow/Blue accents like S+N) */
.shapes-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(50px);
}

.shape-yellow {
    width: 350px;
    height: 350px;
    background: #FDB913;
    /* S+N Yellow */
    top: -80px;
    left: 22%;
    animation: float 8s ease-in-out infinite;
}

.shape-blue {
    width: 280px;
    height: 280px;
    background: #012060;
    /* S+N Blue */
    bottom: -50px;
    left: 12%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-25px) translateX(15px);
    }
}

/* OWL CAROUSEL STYLES */
.hero-slider .item {
    width: 100%;
    height: 580px;
    position: relative;
    display: block;
    overflow: hidden;
}

/* LAYOUT: Left Text, Right Image */

.slide-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.slide-image:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: -50px;
    top: 0px;
    background: url(../img/shape.png) no-repeat;
    background-size: auto 100%;
    z-index: 2;
}

.slide-shape-overlay {
    position: absolute;
    top: 0;
    left: -1px;
    width: auto;
}



.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    display: block;
}

/* 2. Text Layer (Left Side) */
.slide-content-wrapper {
    position: relative;
    width: 50%;
    height: 100%;
    background-color: transparent;
    z-index: 20;
    /* Above image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
    padding-bottom: 6rem;
}

/* Typography */
.slide-content-wrapper h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #012060;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
    z-index: 3;
}

.slide-content-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 400;
    position: relative;
    z-index: 3;
}

/* Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #012060;
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    width: fit-content;
    position: relative;
    z-index: 3;
}

.btn-primary:hover {
    background-color: #011340;
}

/* Custom Navigation (Bottom Progress Bars) */
.slider-container>.container {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 50;
    pointer-events: none;
}

.slider-nav-container {
    /* Align with the text column which is 50% width */
    width: 50%;
    display: flex;
    gap: 15px;
    pointer-events: auto;
    padding-right: 2rem;
    /* Match text padding */
}

.slider-nav-container .nav-item {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.slider-nav-container .progress-track {
    width: 100%;
    height: 3px;
    background-color: #e5e5e5;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.slider-nav-container .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #012060;
    border-radius: 2px;
}

/* Active State & Hover */
.slider-nav-container .nav-item.active .progress-bar {
    width: 100%;
    transition: width linear;
    background-color: #012060;
}

.slider-nav-container .nav-text {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    transition: color 0.3s ease;
}

.slider-nav-container .nav-item.active .nav-text {
    color: #012060 !important;
}

.slider-nav-container .nav-item:hover .nav-text {
    color: #012060;
}

/* Animation Utils */
.owl-item.active .slide-title {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.owl-item.active .slide-desc {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.owl-item.active .btn-primary {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .slide-content-wrapper {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        /* Add background for readability on tablet if overlap */
        padding-bottom: 4rem;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .logo-placeholder {
        width: 200px;
        height: 50px;
    }

    .slide-image {
        width: 100%;
        opacity: 0.3;
        /* Fade image on smaller screens to read text */
        z-index: 0;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: auto;
        min-height: 500px;
    }

    .hero-slider .item {
        flex-direction: column-reverse;
        height: auto;
    }

    .slide-image {
        position: relative;
        width: 100%;
        height: 250px;
    }

    .slide-content-wrapper {
        width: 100%;
        height: auto;
        padding: 2rem;
        padding-bottom: 6rem;
    }

    .slider-nav-container {
        width: 85%;
        left: 50%;
        transform: translateX(-50%);
    }

    .iframe-clip-wrapper {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .shapes-decoration {
        display: none;
    }

    .top-bar {
        display: none;
    }

    .logo-placeholder {
        width: 150px;
        height: 40px;
    }
}

/* FOOTER STYLES */
.footer-antresit {
    background-color: #2c3e50;
    /* Antresit */
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: 0;
}

.footer-antresit a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-antresit a:hover {
    color: #fff !important;
}

.footer-antresit .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.footer-antresit .btn-outline-light:hover {
    background-color: #fff;
    color: #2c3e50;
    border-color: #fff;
}

.footer-antresit hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-antresit h5,
.footer-antresit h6 {
    color: #fff;
    margin-bottom: 1.5rem;
}

/* ===================================
   Footer Styles from Bio (Adapted for Antrasit)
   =================================== */
.custom-footer {
    position: relative;
    background-color: #1E2125 !important;
    /* Dark Anthracite */
    padding: 5rem 0 3rem !important;
    color: #ffffff !important;
}

.custom-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
}

.custom-footer h5 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    letter-spacing: 0.5px;
    font-size: 1.25rem !important;
}

.custom-footer h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 1.75rem !important;
    letter-spacing: 0.5px;
    font-size: 1.05rem !important;
}

.custom-footer p,
.custom-footer .small,
.custom-footer .text-light-emphasis {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.8;
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
}

.custom-footer .list-unstyled {
    margin-bottom: 0;
    padding-left: 0;
}

.custom-footer .list-unstyled li {
    margin-bottom: 0.8rem !important;
    position: relative;
    padding-left: 0.75rem;
}

/* Custom Corporate Bullet */
.custom-footer .list-unstyled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    /* Slight adjustment for smaller bullet vertical centering */
    width: 4px;
    /* Smaller size */
    height: 4px;
    /* Smaller size */
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.custom-footer .list-unstyled li:hover::before {
    background-color: #0066CC;
    transform: rotate(45deg);
}

.custom-footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.85rem !important;
    /* Smaller text */
    font-weight: 300 !important;
    /* Thinner text */
    text-decoration: none !important;
    padding-left: 0;
}

/* Remove bottom border effect, use color shift instead for subtlety */
.custom-footer .list-unstyled a::before {
    display: none;
}

.custom-footer .list-unstyled a:hover {
    color: #ffffff !important;
    transform: none;
    /* Removed slide effect */
    opacity: 1;
}

.custom-footer .btn-outline-light {
    border-width: 1px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    background: transparent !important;
}

.custom-footer .btn-outline-light:hover {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%) !important;
    border-color: #0066CC !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
    color: #ffffff !important;
}

.custom-footer hr {
    opacity: 0.15;
    margin: 3rem 0 2rem !important;
    border-color: #ffffff !important;
    background-color: #ffffff !important;
}


@media (max-width: 991px) {
    .custom-footer {
        padding: 3rem 0 1.5rem !important;
    }

    .custom-footer h5 {
        font-size: 1.15rem !important;
    }

    .custom-footer h6 {
        font-size: 1rem !important;
    }
}

@media (max-width: 767px) {
    .custom-footer .row.g-4 {
        row-gap: 2rem !important;
    }
}




.sayfa {
    position: relative;
    display: block;
    padding: 80px 0px;
}

.sayfadetay h2,
.sayfadetay h3,
.sayfadetay h4,
.sayfadetay h5 {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 15px;
}

.sayfadetay p {
    font-size: 0.9rem;
    line-height: 1.8;
    display: block;
    margin-bottom: 20px;
}


.wiletisim {
    background: #012060;
    color: #FFF;
    display: block;
    margin-bottom: 35px;
    border-radius: 3px;
    padding: 40px 35px;
}

.wiletisim span {
    font-weight: bold;
    display: block;
    font-size: 1.6rem;
}

.wiletisim p {
    font-size: 0.9rem;
    display: block;
    line-height: 1.7;
    font-weight: 300;
    padding: 20px 0px;
}

.wiletisim ul {
    padding: 0px;
    margin: 0px;
    display: block;

}

.wiletisim .mail,
.wiletisim .telefon,
.wiletisim .adres {
    list-style: none !important;
    font-size: 1rem !important;
    display: block !important;
    margin: 2px 0px !important;
    line-height: 30px !important;
}

.wiletisim i {
    margin-right: 10px;
}

.wiletisim a {
    color: #FFF;
}


.belgelerimiz ul {
    width: 100%;
    display: block;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.belgelerimiz ul li {
    line-height: 50px;
    padding: 0px 0px 0px 15px;
    display: block;
    margin-bottom: 5px;
    border-left: 6px solid #012060;
    background: rgba(1, 30, 100, 0.075);
    font-weight: bolder;
    cursor: pointer;
}

.belgelerimiz ul li:hover {
    background: rgba(1, 30, 100, 0.275);

}


.bayiler {
    background: #FFFFFF;
    padding: 35px;
    width: 100%;
    height: 100%;
    display: block;
    border-bottom: 4px solid #012060;
    border-radius: 3px;
    transform: translateY(0px);
    transition: all 0.3s ease;
}

.bayiler:hover {
    transform: translateY(-10px);
}

.bayiler h3 {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.bayiler p {
    display: block;
    padding: 0px;
    margin: 0px 0px 10px 0px;
}

.bayiler p i {
    color: #012060;
    margin-right: 10px;
}

.resimbolumu {
    position: relative;
    display: block;
    padding: 50px 0px;
    background: rgba(0, 0, 0, 0.012);
}

.resimkutu img {
    width: 100%;
    display: block;
    border-radius: 3px;
}

.resimkutu {
    background: #FFF;
    padding: 15px;
    border-radius: 3px;
}