html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Header Main (Header Style Two) */
.header-main {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
}

/* Header Upper */
.header-upper {
    position: relative;
    padding: 25px 0 15px;
}

.logo-box,
.header-upper .logo-box {
    position: relative;
    float: left;
    width: 350px;
    height: 60px;
}

.logo-box h1,
.header-upper .logo-box h1,
.logo-box p.logo-text,
.header-upper .logo-box p.logo-text {
    margin: 0;
    padding: 0;
    width: 350px;
    height: 60px;
    line-height: 1;
}

.logo-box h1 a,
.header-upper .logo-box h1 a,
.logo-box p.logo-text a,
.header-upper .logo-box p.logo-text a {
    display: block;
    width: 350px;
    height: 60px;
    overflow: hidden;
    text-indent: -9999px;
    background: url(../img/draysegul.svg) no-repeat center center;
    background-size: cover;
}

/* Info Outer */
.header-upper .info-outer {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.header-upper .info-box {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.header-upper .info-box:first-child {
    padding-left: 0;
}

.header-upper .info-box:last-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
}

.header-upper .info-icon {
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-upper .info-icon i {
    box-sizing: border-box;
    font-size: 20px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-upper .info-box:hover .info-icon i {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.4);
    border-color: var(--primary-color);
}

.header-upper .info-text {
    display: flex;
    flex-direction: column;
}

.header-upper .info-text strong {
    display: block;
    font-size: 14px;
    line-height: 16px;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 3px;
}

.header-upper .info-text span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.header-upper .info-text span a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-upper .info-text span a:hover {
    color: var(--primary-color);
}

/* Header Lower (Navigation) */
.header-lower {
    position: relative;
    width: 100%;
}

.header-lower .nav-outer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Main Navigation Menu */
.nav-menu {
    position: relative;
}

.nav-menu ul {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu>ul>li {
    position: relative;
    padding: 20px 12px;
    transition: all 0.3s ease;
}

.nav-menu>ul>li:first-child {
    padding-left: 0;
}

.nav-menu>ul>li>a {
    position: relative;
    display: block;
    font-size: 17px;
    line-height: 25px;
    font-weight: 700;
    color: #ffffff;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu>ul>li>a::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.nav-menu>ul>li:hover>a {
    color: var(--primary-color);
}

.nav-menu>ul>li:hover>a::before {
    transform: translateX(-50%) scaleX(1);
}


/* Dropdown Menu */
.nav-menu>ul>li>ul {
    position: absolute;
    left: 0;
    top: 100%;
    width: auto;
    min-width: 280px;
    z-index: 100;

    /* Pencere Animasyonu Başlangıcı */
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform-origin: top center;
    transform: perspective(1000px) rotateX(-32deg);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;

    padding: 15px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #dae5e4 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: flex-start;
}

.nav-menu>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

.nav-menu>ul>li>ul>li {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
}

.nav-menu>ul>li>ul>li>a {
    position: relative;
    display: block;
    padding: 6px 15px 5px 0;
    line-height: 20px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-color);
    text-align: left;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu>ul>li>ul>li>a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-menu>ul>li>ul>li:last-child>a {
    border-bottom: none;
}

.nav-menu>ul>li>ul>li>a:hover {
    color: var(--primary-color);
    padding: 6px 0 5px 15px;
}

.nav-menu>ul>li>ul>li>a:hover::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

/* Outer Box (Right side actions) */
.outer-box {
    position: relative;
    display: flex;
    align-items: center;
}

.outer-box .social-box {
    position: relative;
    margin-right: 25px;
}

.outer-box .social-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.outer-box .social-box ul li {
    margin: 0;
    padding: 0;
}

.outer-box .social-box a {
    color: #ffffff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.outer-box .social-box a:hover {
    color: var(--primary-color);
}

.outer-box .search-box {
    position: relative;
    margin-right: 25px;
}

.outer-box .search-box .search-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
}

.outer-box .search-box .search-btn:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.outer-box .btn-box {
    position: relative;
}

.outer-box .btn-box a {
    position: relative;
    display: inline-block;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
    color: #ffffff;
    padding: 10px 35px;
    border-radius: 50px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 40%, var(--dark-color) 60%, var(--dark-color) 100%);
    background-size: 300% 300%;
    background-position: 0% 0%;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.outer-box .btn-box a:hover {
    background-position: 100% 100%;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Mobile Bar & Sidebar (Hidden on Desktop) */
.mobile-bar,
.mobile-sidebar,
.mobile-sidebar-overlay {
    display: none;
}

@media (min-width: 992px) {

    .mobile-bar,
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none !important;
    }
}

/* Responsive (Tablets and Mobiles) */
@media (max-width: 991px) {
    .header-main {
        position: absolute;
        width: 100%;
        background-color: transparent;
        z-index: 999;
    }

    .header-upper {
        display: none;
    }

    .nav-menu,
    .outer-box {
        display: none;
    }

    .mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: transparent !important;
        width: 100%;
        padding: 12px 0;
    }

    .mobile-bar .mobile-logo a {
        display: block;
        width: 292px;
        height: 50px;
        overflow: hidden;
        text-indent: -9999px;
        background: url(../img/draysegul.svg) no-repeat center left;
        background-size: cover;
    }

    .mobile-bar .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        border: none;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    /* About Section Buttons Mobile */
    .about-btns {
        flex-direction: column;
    }

    .about-btns a {
        display: block;
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }

    /* Mobile Sidebar CSS */
    .mobile-sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100%;
        background: #ffffff;
        z-index: 1002;
        transition: left 0.4s ease;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    }

    body.mobile-menu-active .mobile-sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-menu-active .mobile-sidebar {
        left: 0;
    }

    .mobile-sidebar .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .mobile-sidebar .sidebar-header .logo a {
        display: block;
        width: 233px;
        height: 40px;
        overflow: hidden;
        text-indent: -9999px;
        background: url(../img/draysegul-yesil.svg) no-repeat center left;
        background-size: cover;
    }

    .mobile-sidebar .mobile-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: var(--primary-color);
        border: none;
        border-radius: 50%;
        color: #ffffff;
        font-size: 16px;
        cursor: pointer;
        padding: 0;
    }

    .mobile-sidebar .sidebar-content .nav-menu {
        display: block !important;
    }

    .mobile-sidebar .sidebar-content .nav-menu>ul {
        display: block !important;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-sidebar .sidebar-content .nav-menu>ul>li {
        position: relative;
        display: block !important;
        width: 100%;
        padding: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-sidebar .sidebar-content ul li a {
        display: block;
        color: var(--text-color);
        padding: 15px 0;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .mobile-sidebar .sidebar-content ul li a::before {
        display: none !important;
    }

    .mobile-sidebar .sidebar-content ul li a:hover,
    .mobile-sidebar .sidebar-content ul li.active>a {
        color: var(--primary-color);
    }

    .mobile-sidebar .sidebar-content .nav-menu ul li.has-dropdown>ul {
        display: none;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 0 0 15px !important;
        margin-bottom: 10px;
    }

    .mobile-sidebar .sidebar-content ul li.has-dropdown>ul li {
        border-bottom: none;
    }

    .mobile-sidebar .sidebar-content ul li.has-dropdown>ul li a {
        font-size: 15px;
        font-weight: 400;
        padding: 10px 0;
        color: #555555;
    }

    .mobile-sidebar .sidebar-content .dropdown-btn {
        position: absolute;
        right: 0;
        top: 10px;
        width: 32px;
        height: 32px;
        text-align: center;
        line-height: 32px;
        font-size: 14px;
        color: var(--text-color);
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 5;
    }

    .mobile-sidebar .sidebar-content .dropdown-btn.open {
        background: var(--primary-color);
        color: #ffffff;
        transform: rotate(90deg);
    }

    .section-heading span,
    .mainposts .section-header > :not(p),
    .nedenler .section-header > :not(p) {
        font-size: 36px !important;
    }

    .top1,
    .top2,
    .top3,
    .top4,
    .nedenler .row > div .img-text-box {
        top: 0 !important;
    }

    .nedenler .col-md-3,
    .nedenler .col-12 {
        margin-bottom: 25px !important;
    }

    .nedenler .col-md-3:last-child,
    .nedenler .row > div:last-child {
        margin-bottom: 0 !important;
    }
}

/* ==========================================================================
   Main Slider Section
   ========================================================================== */
.main-slider {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
}

.mainslider,
.main-slider .slide {
    height: 870px;
    position: relative;
    display: block;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Background Images for Slides */
.main-slider .slide-one {
    background: url(../img/resimler/hafif-celik-villa-insaati-3-1.jpg) no-repeat center center;
    background-size: cover;
}

.main-slider .slide-two {
    background: url(../img/resimler/luks-ve-konforun-hafif-celikle-bulusmasi-1-1.jpg) no-repeat center center;
    background-size: cover;
}

/* Slide Overlay Gradient */
.main-slider .slide:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background-image: linear-gradient(160deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%);
}

.main-slider .slide .container {
    position: relative;
    top: 50%;
    transform: translateY(-30%);
    z-index: 2;
}

/* Slider Typography & Animations */
.main-slider .slide .slider-subtitle {
    position: relative;
    padding-left: 60px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    display: inline-block;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.main-slider .owl-item.active .slide .slider-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.main-slider .slide .slider-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 2px;
    background-color: #ffffff;
}

.main-slider .slide .slider-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
    text-transform: capitalize;
}

.main-slider .owl-item.active .slide .slider-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.main-slider .slide p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 300;
    color: #ffffff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    margin: 35px 0 60px;
}

.main-slider .owl-item.active .slide p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Slider Buttons (Dynamic PHP Loop Ready) */
.sliderbuton {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* Prevents overlap in loops and handles spacing elegantly */
}

.sliderbuton a {
    line-height: 55px;
    padding: 0 35px;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    /* Primary Color */
    border-radius: 50px;
    /* Pill Shape */
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0;
    /* Hidden by default for animation */
    margin-top: 0;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.sliderbuton a:first-child {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 40%, var(--dark-color) 60%, var(--dark-color) 100%);
    background-size: 300% 300%;
    background-position: 0% 0%;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
    color: #ffffff;
}

/* Alternate colors dynamically for loop items */
.sliderbuton a:nth-child(even) {
    background: #ffffff;
    color: var(--text-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Keyframes for Button Entry */
@keyframes buttonEntry {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base Active State (Entry Animation) */
.main-slider .owl-item.active .sliderbuton a {
    animation: buttonEntry 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Dynamic Entrance Delays (Scalable for PHP Loop up to 5 items) */
.main-slider .owl-item.active .sliderbuton a:nth-child(1) {
    animation-delay: 1.0s;
}

.main-slider .owl-item.active .sliderbuton a:nth-child(2) {
    animation-delay: 1.1s;
}

.main-slider .owl-item.active .sliderbuton a:nth-child(3) {
    animation-delay: 1.2s;
}

.main-slider .owl-item.active .sliderbuton a:nth-child(4) {
    animation-delay: 1.3s;
}

.main-slider .owl-item.active .sliderbuton a:nth-child(5) {
    animation-delay: 1.4s;
}

/* Modern Hover Effects */
.main-slider .owl-item.active .sliderbuton a:not(:first-child):hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: var(--dark-color);
    color: #ffffff;
}

.main-slider .owl-item.active .sliderbuton a:first-child:hover {
    background-position: 100% 100%;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.main-slider .owl-item.active .sliderbuton a:nth-child(even):hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: var(--dark-color);
    color: #ffffff;
}

/* Slider Banner (Overlay Box) */
.sliderbanner {
    height: 120px;
    position: relative;
    margin: -60px 0 0 0;
    z-index: 10;
    pointer-events: none;
    /* Boş kısımların tıklamaları engellememesi için */
    overflow-x: hidden;
}

.sliderbanner .bannerbox {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    padding: 20px 30px;
    position: relative;
    color: #ffffff;
    pointer-events: auto;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
    /* Kutu üzerindeki linklerin tıklanabilmesi için */
}

.sliderbanner .bannerbox:hover {
    background: var(--primary-dark);
}

.sliderbanner .bannerbox:before {
    position: absolute;
    content: "";
    width: 1000%;
    height: 100%;
    left: 99%;
    top: 0;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.sliderbanner .bannerbox:hover:before {
    background: var(--primary-dark);
}

.sliderbanner .bannerbox i {
    font-size: 45px;
    color: #ffffff;
    margin-right: 20px;
}

.sliderbanner .bannerbox .banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sliderbanner .bannerbox span {
    display: block;
    font-size: 18px;
    font-weight: 300;
    line-height: 20px;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.sliderbanner .bannerbox h3 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
    padding: 0;
    margin: 0;
    display: block;
}

.sliderbanner .bannerbox h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sliderbanner .bannerbox h3 a:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* Owl Carousel Dots Customization */
.main-slider .owl-dots {
    position: absolute;
    display: flex;
    gap: 8px;
    z-index: 999;
    left: 40px;
    bottom: 40px;
}

.main-slider .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent;
}

.main-slider .owl-dots .owl-dot.active {
    background: #ffffff;
}

.main-slider .owl-dots .owl-dot span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
    display: block;
    transition: all 0.3s ease;
}

.main-slider .owl-dots .owl-dot.active span {
    /* Optional: Hide or just let it blend into the full white background */
    opacity: 0;
}

/* ==========================================================================
   Main About Section
   ========================================================================== */
.mainabout {
    position: relative;
    display: block;
    padding: 100px 0;
    background: #ffffff;
}

.mainabout .row {
    align-items: center;
}

.mainabout h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    display: block;
    color: var(--heading-color);
    margin-bottom: 25px;
}

.mainabout h2 b {
    display: block;
    font-weight: 800;
    color: var(--primary-color);
    /* Marka rengi vurgusu */
}

.mainabout p {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin-top: 15px;
    color: #2b2b2b;
}

.mainabout .text-box > p:first-child {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.3;
    color: #555555;
    margin-top: 0;
    margin-bottom: 6px;
}

.mainabout .text-box > p:first-child i {
    font-style: normal;
    font-size: inherit;
    font-weight: inherit;
}

.mainabout .text-box h4 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 25px;
}

.mainabout .btn-list {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mainabout .btn-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 34px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--dark-color) 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
    transition: all 0.35s ease;
}

.mainabout .btn-list a:hover {
    background-position: 100% 100%;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.25);
}

/* Asimetrik ve Üst Üste Binen Görsel Düzeni */
.mainabout [class*="col-"]:has(.img-box-1) {
    display: flex;
    position: relative;
    align-items: flex-start;
}

.mainabout .img-box-1,
.mainabout .img-box-2 {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
    transition: transform 0.15s ease-out;
}

.mainabout .img-box-1 {
    width: calc(58% + 15px);
    flex: 0 0 calc(58% + 15px);
    margin-top: 0;
    z-index: 1;
    transform: translateY(var(--parallax-y-1, 0px));
    will-change: transform;
}

.mainabout .img-box-2 {
    width: calc(58% + 15px);
    flex: 0 0 calc(58% + 15px);
    margin-top: 60px;
    margin-left: -16%;
    z-index: 2;
    transform: translateY(var(--parallax-y-2, 0px));
    will-change: transform;
}

.mainabout .img-box-1 img,
.mainabout .img-box-2 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 7px;
}

/* Modern Görsel ve Hover Efektleri */
.mainaboutimg {
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.mainaboutimg:hover {
    transform: translateY(-5px);
}

.mainaboutimg img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.mainaboutimg:hover img {
    transform: scale(1.03);
}

.dikey {
    position: relative;
    display: block;
    padding-left: 30px;
}

.dikey h2 {
    position: relative;
    z-index: 1;
}

.mainextratext h2 {
    position: relative;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    padding-top: 10px;
    z-index: 1;
}

.mainextratext h2 em {
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 3em;
    white-space: nowrap;
    color: currentColor;
    opacity: 0.06;
    z-index: -1;
    line-height: 1;
    pointer-events: none;
    letter-spacing: 2px;
}

.mainextratext p {
    font-size: 0.9rem;
}

.about-btns {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn-theme {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 40%, var(--dark-color) 60%, var(--dark-color) 100%);
    background-size: 300% 300%;
    background-position: 0% 0%;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-theme:hover {
    background-position: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-theme-outline {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 28px;
    background: transparent;
    color: var(--text-color) !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eaeaea;
}

.btn-theme-outline:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: #ccc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {

    .sliderbanner {
        display: none !important;
    }

    .mainslider,
    .main-slider .slide {
        height: 85vh;
    }

    .main-slider .slide:before {
        background-image: none;
        background-color: rgba(0, 0, 0, 0.70);
    }

    .main-slider .slide .slider-subtitle {
        font-size: 14px;
        padding-left: 40px;
    }

    .main-slider .slide .slider-subtitle::before {
        width: 30px;
    }


    .main-slider .slide .slider-title {
        font-size: 30px;
        line-height: 1;
    }

    .main-slider .slide p {
        font-size: 16px;
    }

    .sliderbuton {
        display: none !important;
    }

    .mainabout {
        padding: 60px 0;
    }

    .mainabout h2 {
        font-size: 36px;
        margin-top: 40px;
    }

    .mainabout .text-box h4 {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .mainabout .text-box > p:first-child {
        font-size: 19px;
    }

    .mainabout [class*="col-"]:has(.img-box-1) {
        margin-bottom: 35px;
    }

    .mainabout .img-box-1 {
        width: calc(58% + 15px);
        flex: 0 0 calc(58% + 15px);
    }

    .mainabout .img-box-2 {
        width: calc(58% + 15px);
        flex: 0 0 calc(58% + 15px);
        margin-top: 35px;
        margin-left: -16%;
    }

    .dikey {
        padding-left: 0;
    }
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.sticky-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.sticky-header.fixed-header {
    top: 0;
    opacity: 1;
    visibility: visible;
}

.sticky-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.sticky-header .logo {
    margin: 0;
}

.sticky-header .logo a {
    display: block;
    width: 350px;
    height: 60px;
    overflow: hidden;
    text-indent: -9999px;
    background: url(../img/draysegul-yesil.svg) no-repeat center left;
    background-size: cover;
}

/* Menu Centering */
.sticky-header .sticky-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

/* Sticky Menu Spacing applied to 'li' instead of 'a' */
.sticky-header .sticky-menu>ul>li {
    padding: 28px 10px;
    /* Fit inside 80px height, 10px side padding */
}

/* Dropdown positions in sticky header */
.sticky-header .nav-menu>ul>li>ul {
    top: 80px;
}

/* Sticky Menu Text Colors, Spacing & Hover Overrides */
.sticky-header .nav-menu>ul>li>a {
    color: var(--text-color);
    /* Koyu Gri */
    padding: 0;
    /* Boşluklar li'ye taşındığı için sıfırlandı */
}

.sticky-header .nav-menu>ul>li>a:hover {
    color: var(--primary-color);
    /* Yeşil Hover */
}

.sticky-header .nav-menu>ul>li>a::before {
    background-color: var(--primary-color);
    /* Yeşil Alt Çizgi */
}

/* Quote Button */
.sticky-header .quote-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 40%, var(--dark-color) 60%, var(--dark-color) 100%);
    background-size: 300% 300%;
    background-position: 0% 0%;
    color: #ffffff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-header .quote-btn:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

@media screen and (max-width: 991px) {
    .sticky-header {
        display: none !important;
    }
}

/* ==========================================================================
   Main Hizmetler Section
   ========================================================================== */
.mainhizmetler {
    position: relative;
    display: block;
    width: 94%;
    margin: 0px 3%;
    padding: 100px 0px 0px;
    border-radius: 15px;
}

.mainhizmetler:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 55%;
    background: #000;
    opacity: 0.6;
    left: 0px;
    top: 0px;
    border-radius: 15px;
    z-index: 1;
}

.mainhizmetler-bg {
    position: absolute;
    width: 100%;
    height: 55%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center calc(50% + var(--parallax-y, 0px));
    left: 0px;
    top: 0px;
    border-radius: 15px;
    z-index: 0;
}

.mainhizmetler .mainhizmetbaslik {
    position: relative;
    z-index: 2;
    display: block;
    padding-bottom: 50px;
    text-align: center;
}

.mainhizmetler .atolyeler {
    position: relative;
    z-index: 2;
}

.mainhizmetler .mainhizmetbaslik span {
    display: block;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    color: #FFF;
    margin-bottom: 20px;
    padding: 0px 10%;
}

.mainhizmetler .mainhizmetbaslik p {
    font-size: 16px;
    padding: 0px 5%;
    display: block;
    color: #FFF;
    font-weight: 400;
}

@media screen and (max-width: 991px) {
    .mainhizmetler .mainhizmetbaslik span {
        font-size: 30px;
        line-height: 1;
    }
}

/* Main Services (sistem çıktısı) */
.mainservices {
    position: relative;
    display: block;
    width: 94%;
    margin: 0px 3%;
    padding: 100px 0px 0px;
    border-radius: 15px;
}

.mainservices:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 62%;
    background: #000;
    opacity: 0.6;
    left: 0px;
    top: 0px;
    border-radius: 15px;
    z-index: 1;
}

.mainservices .absolutebg {
    height: 62%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center calc(50% + var(--parallax-y, 0px));
    border-radius: 15px;
}

.mainservices .section-header {
    position: relative;
    z-index: 2;
    display: block;
    padding-bottom: 50px;
    text-align: center;
}

.mainservices .section-header > :not(p) {
    display: block;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: #FFF;
    margin: 0 0 20px;
    padding: 0px 10%;
}

.mainservices .section-header p {
    font-size: 16px;
    padding: 0px 5%;
    display: block;
    color: #FFF;
    font-weight: 400;
}

.mainservices .hizmetler-owl-slider {
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 991px) {
    .mainservices .section-header > :not(p) {
        font-size: 30px;
        line-height: 1;
    }
}

.hizmet {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.hizmet .hizmetimg {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
    background: #EFEFEF;
    border-radius: 12px;
}

.hizmet .hizmetimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hizmet .hizmetimg a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.hizmet .hizmetimg a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.6);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.hizmet .hizmetimg a::after {
    content: "\e00d";
    /* Ev ikonu (fa-house-chimney-window) */
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 20px;
    color: var(--primary-color);
    background: #ffffff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
    transition: all 0.4s ease;
}

.hizmet:hover .hizmetimg a::before {
    opacity: 1;
}

.hizmet:hover .hizmetimg a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hizmet:hover .hizmetimg img {
    transform: scale(1.08);
}

.hizmet .hizmettext {
    padding: 25px 15px;
    background: transparent;
    position: relative;
}

.hizmet .hizmettext h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    display: block;
    margin: 0 0 15px 0;
    color: var(--heading-color);
}

.hizmet .hizmettext h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hizmet .hizmettext p {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    color: #555555;
    margin: 0;
}

/* ==========================================================================
   Nedenler Section
   ========================================================================== */
.nedenler {
    position: relative;
    display: block;
    z-index: 5;
}

.nedenbox {
    position: relative;
    display: block;
    padding-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nedenbox:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4);
}

/* Karanlık temel overlay — her zaman görünür */
.nedenbox:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.10));
    z-index: 0;
}

/* Mavi hover overlay — opacity ile fade in */
.nedenbox:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(to top, rgba(var(--primary-rgb), 0.92), rgba(var(--primary-rgb), 0.18));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 0;
}

.nedenbox:hover:after {
    opacity: 1;
}

.neden {
    padding: 45px;
    display: block;
    border-radius: 15px;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.nedenbox:hover .neden {
    transform: translateY(-5px);
}

.neden p,
.neden p strong {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    color: #FFF !important;
}

.neden span {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    color: #FFF;
    display: block;
    margin-bottom: 15px;
}

.section-heading,
.mainposts .section-header,
.nedenler .section-header {
    display: block;
    padding-bottom: 100px;
    text-align: center;
}

.section-heading span,
.mainposts .section-header > :not(p),
.nedenler .section-header > :not(p) {
    display: block;
    font-size: 50px;
    line-height: 1;
    margin-bottom: 15px;
    color: #313131;
    font-weight: 700;
    letter-spacing: -1px;
}

.mainposts .section-header p,
.nedenler .section-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.top1,
.top3,
.nedenler .row > div:nth-child(odd) .img-text-box {
    top: -30px;
}

.top2,
.top4,
.nedenler .row > div:nth-child(even) .img-text-box {
    top: 30px;
}

/* CMS .img-text-box Uyarlaması */
.nedenler .img-text-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 105px 45px 45px;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nedenler .img-text-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4);
}

/* Karanlık temel overlay — her zaman görünür */
.nedenler .img-text-box:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 0;
}

/* Bordo hover overlay — opacity ile fade in */
.nedenler .img-text-box:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(to top, rgba(var(--primary-rgb), 0.92), rgba(var(--primary-rgb), 0.18));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 0;
}

.nedenler .img-text-box:hover:after {
    opacity: 1;
}

.nedenler .img-text-box h4 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    color: #FFF !important;
    display: block;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nedenler .img-text-box p {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    color: #FFF !important;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nedenler .img-text-box:hover h4,
.nedenler .img-text-box:hover p {
    transform: translateY(-5px);
}

/* ==========================================================================
   Services Owl Dots Customization
   ========================================================================== */
.mainhizmetler .owl-dots,
.mainservices .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.mainhizmetler .owl-dots .owl-dot,
.mainservices .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 1px;
    padding: 0;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

.mainhizmetler .owl-dots .owl-dot span,
.mainservices .owl-dots .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0px !important;
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mainhizmetler .owl-dots .owl-dot.active span,
.mainservices .owl-dots .owl-dot.active span {
    width: 24px;
    border-radius: 4px;
    background: var(--primary-color);
}

.mainhizmetler .owl-dots .owl-dot:hover span,
.mainservices .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
}

/* ==========================================================================
   Footer Overlapping Contact Box
   ========================================================================== */
.footer-contact-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.footer-contact-box .inner-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.2);
    color: #ffffff;
}

.footer-contact-box .info-item {
    display: flex;
    align-items: center;
}

.footer-contact-box .info-item.center-item {
    padding-left: 30px;
    padding-right: 30px;
}

.footer-contact-box .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-box .info-item:hover .icon-box {
    background: #ffffff;
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-contact-box .text-box h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.footer-contact-box .info-item:last-child .text-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-contact-box .text-box p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.footer-contact-box .text-box p a {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    line-height: 1.3;
    transition: opacity 0.3s ease;
}

.footer-contact-box .text-box p a:hover {
    color: #ffffff;
    opacity: 0.85;
}

@media screen and (max-width: 991px) {
    .footer-contact-box {
        position: relative;
        transform: translateY(-50px);
        margin-bottom: -50px;
    }

    .footer-contact-box .info-item.center-item {
        border: none;
        padding: 0;
        margin: 30px 0;
    }
}

/* ==========================================================================
   Main Footer (Modernized)
   ========================================================================== */
.main-footer {
    position: relative;
    margin-top: 80px;
    /* Space for overlapping box */
    background: var(--footer-bg);
    padding: 0;
    color: var(--footer-text);
    overflow: visible;
    /* Changed from hidden to allow overlap */
}

/* Subtle glow effect in the background */


.main-footer .fmain {
    padding: 140px 0 60px;
    /* Increased top padding to clear absolute box */
    position: relative;
    z-index: 1;
}

.main-footer .fbox {
    margin-bottom: 40px;
}

/* Footer Top: iletişim bandı footer üstüne taştığı için kolon boşluk bırakmaz */
.main-footer .ftop .fbox {
    margin-bottom: 0;
}

/* Kolon logosu ve düz metni */
.main-footer .flogo {
    margin-bottom: 24px;
}

.main-footer .flogo img {
    max-width: 170px;
    filter: brightness(0) invert(1) opacity(0.9);
}

.main-footer .ftext {
    font-size: 14px;
    line-height: 1.8;
}

/* Kolonun altındaki sosyal medya ikonları */
.main-footer .fsocial {
    margin-top: 20px;
}

.main-footer .fsocial ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Modernized Widget Titles */
.main-footer .fbox span {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: var(--footer-heading);
    margin-bottom: 30px;
    display: block;
    position: relative;
    letter-spacing: -1px;
}

/* Sleek underline for titles */
.main-footer .fbox span:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-footer .fbox:hover span:after {
    width: 50px;
}

.main-footer .fbox ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Modernized Footer Lists */
.main-footer .flist li {
    margin-bottom: 5px;
}

.main-footer .flist li a {
    color: var(--footer-link);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 13px;
    position: relative;
    padding-left: 15px;
}

.main-footer .flist li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.main-footer .flist li a:hover {
    color: var(--footer-link-hover);
    transform: translateX(8px);
}

.main-footer .flist li a:hover::before {
    background-color: #ffffff;
}

/* Modernized Footer Contact */
.main-footer .filetisim li {
    position: relative;
    padding: 5px 0 5px 55px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .filetisim li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.main-footer .filetisim li:hover i {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-50%) scale(1.05);
}

.main-footer .filetisim li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.main-footer .filetisim li a:hover {
    color: #ffffff;
}

/* Yazı renkleri --bar (r, g, b) değişkeninden gelir: Footer'a panelden renk seçilince
   footer.ctp zemini ve --bar değerini verir; seçilmezse buradaki varsayılanlar geçerlidir */
.footer-copy {
    background: #0b0b0b;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 0;
}

.footer-copy p,
.footer-copy p span,
.footer-copy strong a,
.footer-copy .tasarim a {
    color: rgba(var(--bar, 255, 255, 255), 0.4);
    text-decoration: none;
}

.footer-copy p {
    margin: 0 !important;
    padding: 0;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.footer-copy strong a,
.footer-copy .tasarim a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-copy .tasarim a {
    margin-left: 5px;
}

.footer-copy strong a:hover,
.footer-copy .tasarim a:hover {
    color: rgb(var(--bar, 255, 255, 255));
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.mainblog,
.mainposts {
    position: relative;
    background: #fdfdfd;
}

.mainblog {
    padding: 80px 0;
}

.section-heading p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.blog-card,
.mainposts .blog {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.4s ease;
    margin-bottom: 30px;
}

.blog-card:hover,
.mainposts .blog:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.blog-img,
.mainposts .blogimg {
    width: 100%;
    aspect-ratio: 9 / 5;
    height: auto;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.blog-img a,
.mainposts .blogimg a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.blog-img img,
.mainposts .blogimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-img a::before,
.mainposts .blogimg a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.6);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.blog-img a::after,
.mainposts .blogimg a::after {
    content: "\f015";
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 20px;
    color: var(--primary-color);
    background: #ffffff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-img a::before,
.mainposts .blog:hover .blogimg a::before {
    opacity: 1;
}

.blog-card:hover .blog-img a::after,
.mainposts .blog:hover .blogimg a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.blog-card:hover .blog-img img,
.mainposts .blog:hover .blogimg img {
    transform: scale(1.08);
}

.blog-text,
.mainposts .blogtext {
    padding: 25px 0 10px 0;
}

.blog-text h4,
.mainposts .blogtext h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-text h4 a,
.mainposts .blogtext h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-text h4 a:hover,
.mainposts .blogtext h3 a:hover {
    color: var(--primary-color);
}

.blog-text p,
.mainposts .blogtext p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--text-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Seobar Section
   ========================================================================== */
.seobar {
    position: relative;
    display: block;
}

.seobartext span,
.seobar .text-box > p:first-child {
    font-weight: 300 !important;
}

.seobartext span,
.seobartext h3,
.seobar .text-box > p:first-child,
.seobar h2 {
    color: var(--heading-color);
    font-size: 50px;
    line-height: 1.1;
    display: block;
    width: 100%;
    font-weight: 800;
}

.seobartext p,
.seobar .text-box > p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    display: block;
    margin-top: 20px;
}

.seobar .row {
    align-items: center;
}

.seobar .text-box > p:first-child {
    margin: 0;
}

.seobar .text-box > p:first-child i {
    font-style: normal;
}

.seobar img {
    border-radius: 15px;
}

/* ===== Main Extra Section ===== */
.mainextra {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.07) 0%, #ffffff 100%);
}

.mainextraimg {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.18);
}

.mainextraimg img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Page Title ===== */
.page-title {
    padding: 220px 0 120px;
    background-color: var(--primary-color);
    position: relative;
}

.page-title:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background-image: linear-gradient(160deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%);
}

.page-title .container {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

.page-title ul {
    list-style: none;
    padding: 10px 0 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-title ul li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.page-title ul li:last-child:hover {
    color: #fff;
    cursor: default;
}

.page-title ul li+li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.page-title ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.page-title ul li a:hover {
    color: #fff;
}

.page-title ul li:first-child a::before {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.25s ease, transform 0.25s ease;
}

.page-title ul li:first-child a:hover::before {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.15);
}
