/* =====================================================
   GREEN ENERGY SLIDER - COMPLETE REBUILD
   ===================================================== */

/* Section Container */
.green-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Left Panel - Content */
.green-hero-left {
    position: relative;
    width: 42%;
    min-height: 100vh;
    background-color: #00BCD4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    z-index: 10;
}

/* Decorative Circles */
.green-hero-left::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.green-hero-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

/* Navigation Buttons - Hidden */
.green-nav {
    display: none;
}

.green-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a1a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 16px;
}

.green-nav-btn:first-child {
    border-radius: 50% 0 0 50%;
}

.green-nav-btn:last-child {
    border-radius: 0 50% 50% 0;
}

.green-nav-btn:hover {
    background: #333;
}

/* Content Styles */
.green-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.green-headline {
    color: #fff;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 40px;
}

.green-headline span {
    color: #004d5a;
}

/* Buttons */
.green-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.green-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.green-btn-white {
    background: #fff;
    color: #1a1a1a;
}

.green-btn-white:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.green-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.green-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Pagination */
.green-pagination {
    position: absolute;
    bottom: 60px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.green-progress {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.green-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.3s ease;
}

/* Right Panel - Slider */
.green-hero-right {
    position: relative;
    width: 58%;
    min-height: 100vh;
    z-index: 1;
}

.green-slider {
    width: 100%;
    height: 100%;
    cursor: grab !important;
    touch-action: pan-y !important;
    -webkit-user-select: none;
    user-select: none;
}

.green-slider:active {
    cursor: grabbing !important;
}

.green-slider .swiper-wrapper {
    z-index: 5;
}

.green-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.green-slider .swiper-slide:active {
    cursor: grabbing;
}

.green-slider .swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
}

/* Overlay Card */
.green-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    display: flex;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

.green-card-video {
    width: 240px;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: #1a1a1a;
    font-size: 18px;
}

.green-play-btn:hover {
    transform: scale(1.1);
}

/* Elegant Catalog Card Styles - Desktop Only (Responsive) */
@media (min-width: 992px) {
    .catalog-elegant {
        background: linear-gradient(135deg, #ffffff 0%, #f8fcfd 100%);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: clamp(12px, 1.2vw, 25px);
        border: 1px solid rgba(0, 188, 212, 0.15);
    }

    .catalog-icon-wrapper {
        width: clamp(32px, 3vw, 55px);
        height: clamp(32px, 3vw, 55px);
        background: linear-gradient(135deg, #00BCD4 0%, #00838F 100%);
        border-radius: clamp(8px, 0.8vw, 14px);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: clamp(6px, 0.6vw, 12px);
        box-shadow: 0 4px 12px rgba(0, 188, 212, 0.2);
        transition: transform 0.3s ease;
    }

    .catalog-elegant:hover .catalog-icon-wrapper {
        transform: translateY(-2px) rotate(3deg);
    }

    .catalog-icon-wrapper i {
        font-size: clamp(14px, 1.4vw, 26px);
        color: #fff;
    }

    .catalog-badge {
        display: inline-block;
        background: linear-gradient(135deg, #00BCD4 0%, #00838F 100%);
        color: #fff;
        padding: clamp(2px, 0.3vw, 5px) clamp(8px, 0.8vw, 14px);
        border-radius: 50px;
        font-size: clamp(7px, 0.6vw, 10px);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: clamp(4px, 0.5vw, 10px);
    }

    .catalog-elegant .green-card-title {
        font-size: clamp(11px, 1vw, 15px);
        margin-bottom: clamp(8px, 0.8vw, 14px) !important;
    }

    .catalog-download-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background: linear-gradient(135deg, #00BCD4 0%, #00838F 100%);
        color: #fff;
        height: clamp(28px, 2.5vw, 44px);
        border-radius: clamp(6px, 0.6vw, 10px);
        font-weight: 600;
        font-size: clamp(10px, 0.9vw, 14px);
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(0, 188, 212, 0.2);
    }

    .catalog-download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 188, 212, 0.3);
        color: #fff;
    }

    .catalog-download-btn.disabled {
        background: #e0e0e0;
        color: #999;
        cursor: not-allowed;
        box-shadow: none;
    }

    .catalog-note {
        font-size: clamp(8px, 0.6vw, 11px);
        color: #aaa;
        margin-top: clamp(6px, 0.5vw, 10px);
        margin-bottom: 0;
    }
}

/* Mobile Catalog Card - Keep Original Style */
@media (max-width: 991px) {
    .catalog-icon-wrapper {
        display: none;
    }

    .catalog-badge {
        display: none;
    }

    .catalog-note {
        display: none;
    }

    .catalog-download-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #00BCD4;
        color: #fff;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
        width: auto;
        height: auto;
    }
}

.green-card-content {
    flex: 1;
    padding: 20px;
}

.green-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.green-card-title span {
    color: #00BCD4;
}

.green-form {
    display: flex;
    gap: 10px;
}

.green-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    outline: none;
}

.green-submit {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #00BCD4;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s ease;
}

.green-submit:hover {
    background: #0097A7;
}

.green-terms {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .green-headline {
        font-size: 42px;
    }

    .green-hero-left {
        padding: 40px 50px;
    }
}

@media (max-width: 991px) {

    /* Main Container - Full viewport height on mobile */
    .green-hero {
        display: block;
        height: 100vh;
        min-height: 600px;
        /* Ensure content fits */
        position: relative;
        overflow: hidden;
    }

    /* Right Panel -> Becomes Background Slider */
    .green-hero-right {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100% !important;
        z-index: 1;
    }

    /* Dark Overlay for readability */
    .green-hero-right::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(14, 23, 31, 0.75);
        /* Darker overlay for better text contrast */
        z-index: 2;
        pointer-events: none;
    }

    .green-slider,
    .green-slider .swiper-wrapper,
    .green-slider .swiper-slide,
    .green-slider .swiper-slide img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    /* Left Panel -> Becomes Overlay Content */
    .green-hero-left {
        position: relative;
        z-index: 10;
        width: 100%;
        height: 100%;
        background: transparent !important;
        padding: 60px 20px 140px;
        /* Adjusted padding */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* Center align for mobile */
        text-align: center;
        pointer-events: none;
    }

    .green-hero-left>* {
        pointer-events: auto;
    }

    /* Hide Desktop Decorations */
    .green-hero-left::before,
    .green-hero-left::after,
    .green-nav,
    .green-pagination {
        display: none;
    }

    /* Typography Adjustments */
    .green-headline {
        font-size: 40px;
        /* User requested size */
        line-height: 1.2;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        margin-bottom: 25px;
    }

    .green-headline span {
        color: #4DD0E1;
    }

    .green-tagline {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 15px;
        font-size: 11px;
    }

    .green-buttons {
        justify-content: center;
    }

    /* Compact Catalog Card Redesign */
    .green-card {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 12px 15px;
        display: flex;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 20;
        margin: 0;
        flex-direction: row;
    }

    .green-card-video {
        display: none !important;
        /* Hide image as requested */
    }

    .green-card-content {
        padding: 0 !important;
        width: 100%;
        display: flex;
        flex-direction: row;
        /* Horizontal layout */
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    /* Hide generic labels */
    .green-card-content h5,
    .green-terms {
        display: none;
    }

    .green-card-title {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0;
        text-align: left;
    }

    /* Add subtext via pseudo-element or just assume title is enough */
    .green-card-title::after {
        content: 'Hizmet Kataloğu';
        display: block;
        font-size: 10px;
        font-weight: 400;
        color: #666;
        margin-top: 2px;
    }

    .green-card-content a {
        width: auto !important;
        background: #00BCD4 !important;
        color: #fff !important;
        height: 40px !important;
        padding: 0 20px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
        /* Override inline styles */
        margin-top: 0 !important;
    }
}

@media (max-width: 576px) {
    .green-headline {
        font-size: 24px;
        /* Optimized for phones */
    }

    .green-hero-left {
        padding: 60px 20px 130px;
    }

    .green-card {
        width: 94%;
        bottom: 20px;
    }

    .green-card-title::after {
        content: 'İndir & İncele';
        /* Shorter text for small screens */
    }
}

/* =====================================================
   PROJECTS SLIDER SECTION
   ===================================================== */
.projects-section-padding {
    padding-bottom: 80px;
    overflow: hidden;
}

.watermark-text {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.projects-container-rounded {
    background: #e0f7fa;
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

.sub-title-green {
    display: block;
    color: #00BCD4;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.projects-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.projects-desc-center {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.project-nav-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.project-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s;
    font-size: 20px;
}

.project-nav-btn:hover {
    background: #00BCD4;
    color: #fff;
    border-color: #00BCD4;
}

.project-slider {
    margin-top: 50px;
    overflow: visible;
    /* Allow overflow if needed */
}

.project-img-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    /* Fixed height for consistency */
}

.project-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-img-card:hover img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-img-card:hover .project-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-cat {
    display: block;
    font-size: 12px;
    color: #00BCD4;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.project-title {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.project-zoom-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #00BCD4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.projects-footer-quote {
    margin-top: 40px;
    text-align: center;
    color: #555;
    font-size: 15px;
}

.badge-free-quote {
    background: #00BCD4;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .watermark-text {
        font-size: 100px;
        top: -30px;
    }

    .projects-container-rounded {
        padding: 40px 20px;
    }

    .projects-title {
        font-size: 32px;
    }

    .project-nav-wrapper {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* =====================================================
   ABOUT SPLIT SECTION MOBILE FIXES (Geleceğin Yapıları)
   ===================================================== */
@media (max-width: 991px) {
    .about-split-content-wrapper {
        padding: 40px 20px !important;
        text-align: center;
    }

    .about-headline {
        font-size: 26px !important;
        /* Compact headline */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        word-wrap: break-word;
        /* Prevent overflow */
    }

    .about-tagline {
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px !important;
        font-size: 11px;
        letter-spacing: 1px;
        width: auto;
    }

    /* Hide stats header tagline and icon on mobile */
    .stats-section-header {
        display: none !important;
    }

    .stats-icon-green {
        display: none !important;
    }

    .about-desc {
        font-size: 14px !important;
        line-height: 1.5;
        margin-bottom: 20px !important;
        padding: 0 10px;
    }

    /* Stats Section - Headline & Button Mobile Consistency */
    .taller-headline {
        font-size: 24px !important;
        line-height: 1.2;
        color: #212529;
        margin-bottom: 15px;
    }

    .btn-dark-pill {
        background-color: #00BCD4 !important;
        color: #fff !important;
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 50px;
    }

    /* Stats Numbers Mobile */
    .stat-big-number {
        font-size: 36px !important;
        color: #00BCD4 !important;
        font-weight: 800;
    }

    .stat-label-title {
        font-size: 13px !important;
        color: #6c757d;
    }

    .stat-list-item {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Compact Checklist */
    .custom-checklist {
        display: flex;
        flex-direction: column;
        gap: 8px;
        /* Tighter gap */
        margin-bottom: 30px;
        text-align: left;
        background: #f9f9f9;
        padding: 15px;
        border-radius: 12px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .custom-checklist-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    .custom-checklist-item span {
        font-size: 13px;
        font-weight: 600;
        color: #333;
    }

    .check-icon-circle {
        width: 22px;
        height: 22px;
        min-width: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e0f7fa;
        color: #00BCD4;
        border-radius: 50%;
        font-size: 10px;
    }

    /* CTA Buttons */
    .phone-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
        justify-content: center;
        width: 100%;
    }

    .phone-cta-group .btn-modern {
        width: 100%;
        /* Full width button */
        justify-content: center;
        padding: 12px 20px !important;
        font-size: 14px;
    }

    .phone-icon-round {
        width: 40px;
        height: 40px;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #00BCD4;
        font-size: 18px;
    }

    .phone-cta-group .d-flex {
        display: flex;
        /* Ensure it overrides bootstrap d-flex if needed, or just utility */
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px !important;
    }

    /* Reduce spacing between breadcrumb and content on mobile */
    .page-title-section {
        padding: 100px 0 30px !important;
    }

    .about-main {
        padding: 30px 0 !important;
    }

    .page-title-section .page-heading {
        font-size: 1.8rem !important;
        margin-bottom: 10px;
    }

    .page-title-section .page-subheading {
        font-size: 1rem !important;
    }
}