/* İmta İnşaat - Image & Logo Sizing Overrides */

/* ===== GLOBAL MINIMAL CLEANUP ===== */
/* Hide all animated floating shapes sitewide */
.shape-mockup,
.shape-mockup.animation-infinite,
.section-animation-shape1-1,
.section-animation-shape1-2 {
    display: none !important;
}

/* Shadow title decorations - hide */
.shadow-title {
    display: none !important;
}

/* ===== HERO - COMPACT & CLEAN ===== */
.hero-wrapper.hero-1 {
    position: relative;
    min-height: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hero-wrapper.hero-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.75) 0%, rgba(15, 52, 96, 0.60) 100%);
    z-index: 0;
}

.hero-wrapper.hero-1 > * {
    position: relative;
    z-index: 1;
}

.hero-wrapper.hero-1 .hero-thumb {
    display: none !important;
}

.hero-wrapper.hero-1 .hero-bg-shape1-1,
.hero-wrapper.hero-1 .hero-bg-shape1-2 {
    display: none !important;
}

/* Hero slide content - centered */
.hero-slide .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-slide .row {
    width: 100%;
    justify-content: center !important;
}

.hero-slide .col-lg-8 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.hero-style1 {
    text-align: center !important;
    padding: 200px 0 130px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-style1 .hero-title {
    font-size: 2.8rem !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}

.hero-style1 .hero-text {
    font-size: 1.05rem !important;
    margin-bottom: 20px !important;
    margin-top: 14px !important;
    max-width: 650px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-style1 .btn-group {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
    display: flex !important;
}

.hero-style1 .btn {
    padding: 14px 30px !important;
    font-size: 15px !important;
}

.slider-controller-wrap {
    display: none !important;
}

@media (max-width: 991px) {
    .hero-style1 {
        padding: 140px 0 90px !important;
    }
    .hero-style1 .hero-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 767px) {
    .hero-style1 {
        padding: 110px 0 60px !important;
    }
    .hero-style1 .hero-title {
        font-size: 1.5rem !important;
    }
    .hero-style1 .hero-text {
        font-size: 0.85rem !important;
    }
    /* Hide second button on mobile */
    .hero-style1 .btn-group .btn:not(.style2) {
        display: none !important;
    }
}

/* Remove gap between hero and about section */
.about-area-1 {
    padding-top: 40px !important;
    margin-top: 0 !important;
}

/* Fix about section - text starts at top, not centered to tall image */
.about-area-1 .row.align-items-center {
    align-items: flex-start !important;
}

/* Reduce about-thumb excessive spacing */
.about-thumb1 {
    padding-right: 60px !important;
    padding-bottom: 30px !important;
}

.about-thumb1 .about-img-1 {
    padding-right: 20px !important;
}

.about-area-1 .about-thumb1 .about-img-1 img {
    max-height: 350px !important;
}

/* Make counter box more compact */
.about-counter-wrap {
    padding: 8px 20px 20px !important;
}

.about-counter-wrap .about-counter-number {
    font-size: 50px !important;
}

.about-counter-wrap .about-counter-text {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

/* ===== BREADCRUMB - MINIMAL SOLID BG ===== */
.breadcumb-wrapper {
    position: relative;
    background: #1a1a2e !important;
    padding: 40px 0 !important;
    min-height: auto !important;
}

.breadcumb-wrapper::before {
    display: none !important;
}

.breadcumb-wrapper .breadcumb-title {
    font-size: 1.8rem !important;
    color: #fff;
    margin-bottom: 8px;
}

.breadcumb-wrapper .breadcumb-menu li,
.breadcumb-wrapper .breadcumb-menu li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.breadcumb-wrapper .breadcumb-menu li.active {
    color: #e8a525;
}

@media (max-width: 767px) {
    .breadcumb-wrapper {
        padding: 30px 0 !important;
    }
    .breadcumb-wrapper .breadcumb-title {
        font-size: 1.4rem !important;
    }
}

/* ===== HEADER - CLEAN ===== */
/* Fix address truncation - reduce reserved space for phone box */
.header-layout1 .header-top {
    margin-right: 300px !important;
}

@media (max-width: 1600px) {
    .header-layout1 .header-top {
        margin-right: 280px !important;
    }
}

@media (max-width: 1500px) {
    .header-layout1 .header-top {
        margin-right: 260px !important;
    }
}

@media (max-width: 1299px) {
    .header-layout1 .header-top {
        margin-right: 240px !important;
    }
}

.header-address-full a {
    white-space: normal !important;
    word-break: break-word;
    overflow: visible !important;
    text-overflow: unset !important;
    display: inline !important;
}

.header-top .header-links ul li {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* Bizi Arayın box - white clean look */
.header-layout1 .navbar-right-desc {
    background: #fff !important;
    background-image: none !important;
}

.header-layout1 .navbar-right-desc .title {
    color: #333 !important;
}

.header-layout1 .navbar-right-desc .link,
.header-layout1 .navbar-right-desc a {
    color: #1a1a2e !important;
    font-weight: 700 !important;
}

.header-layout1 .navbar-right-desc .icon-btn {
    background-color: #1a1a2e !important;
    color: #fff !important;
}

/* ===== REMOVE BG FROM PROCESS AREA SHAPE ===== */
.process_shape_1-3 {
    display: none !important;
}

/* ===== REDUCE SECTION SPACING FOR CLEANER FEEL ===== */
.space {
    padding: 80px 0 !important;
}

.space-top {
    padding-top: 80px !important;
}

.space-bottom {
    padding-bottom: 80px !important;
}

@media (max-width: 991px) {
    .space {
        padding: 60px 0 !important;
    }
    .space-top {
        padding-top: 60px !important;
    }
    .space-bottom {
        padding-bottom: 60px !important;
    }
}

/* ===== REMOVE EXCESSIVE BG IMAGES FROM SECTIONS ===== */
/* Remove process section bg image - keep solid color */
.process-area-1[data-bg-src],
.process-area-1.background-image {
    background-image: none !important;
    background: #f8f9fa !important;
}

.process-area-1[data-bg-src]::before,
.process-area-1.background-image::before {
    display: none !important;
}

/* Testimonial area - light clean bg instead of photo */
.testimonial-area-1[data-bg-src],
.testimonial-area-1.background-image {
    background-image: none !important;
    background: #f5f5f5 !important;
}

.testimonial-area-1::before {
    display: none !important;
}

/* Counter section - clean bg */
.counter-area-1[data-bg-src],
.counter-area-1.background-image {
    background-image: none !important;
    background: #1a1a2e !important;
}

/* Team card - remove bg decoration */
.team-card[data-bg-src],
.team-card.background-image {
    background-image: none !important;
}

.portfolio-card.style2 .portfolio-card-number {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: auto;
    z-index: 2;
}

.portfolio-card-details .badge {
    display: inline-block;
    margin-top: 6px;
    margin-bottom: 6px;
}

/* ===== HIZMETLER PAGE - NO HEIGHT RESTRICTIONS ===== */
.service-area-4 .service-card.style3,
.service-area-4 .service-card {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.service-area-4 .service-card_content {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.service-area-4 .btn-wrap {
    position: relative !important;
    margin-top: 15px;
}

/* ===== LOGO CONSTRAINTS ===== */
/* Logo area - vertically centered in header bar, only visible on xxl */
.header-layout1 .header-navbar-logo {
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0 !important;
    padding: 0 48px !important;
    top: 0;
    bottom: 0;
    height: 100%;
}

@media (min-width: 1400px) {
    .header-layout1 .header-navbar-logo {
        display: flex !important;
    }
}

@media (max-width: 1399px) {
    .header-layout1 .header-navbar-logo {
        display: none !important;
    }
}

.header-navbar-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.header-navbar-logo img {
    max-height: 55px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Logo bg area - match height */
.header-layout1 .menu-area .logo-bg {
    top: 0 !important;
    height: 100% !important;
}

.header-logo img {
    max-height: 55px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.footer-logo img {
    max-height: 55px !important;
    max-width: 180px !important;
    width: auto !important;
    object-fit: contain;
}

/* Sticky header - slightly smaller logo */
.sticky-wrapper.sticky .header-logo img,
.sticky-wrapper.sticky .header-navbar-logo img {
    max-height: 45px !important;
    max-width: 160px !important;
}

/* Mobile logo smaller */
.mobile-logo img {
    max-height: 45px !important;
    max-width: 160px !important;
    width: auto !important;
    object-fit: contain;
}

/* Logo area fix handled above */

/* Background image sections - ensure photos show nicely */
.background-image,
[data-bg-src] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Dark overlay for readability on photo backgrounds */
.footer-wrapper.footer-layout1 {
    position: relative;
}

.footer-wrapper.footer-layout1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.footer-wrapper.footer-layout1 > * {
    position: relative;
    z-index: 1;
}

/* Breadcrumb overlay - now handled in top section (solid bg, no image) */

/* Testimonial area overlay */
.testimonial-area-1 {
    position: relative;
}

.testimonial-area-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 245, 245, 0.88);
    z-index: 0;
}

.testimonial-area-1 > * {
    position: relative;
    z-index: 1;
}

/* Service area overlay */
.service-area-1[data-bg-src],
.service-area-1.background-image {
    position: relative;
}

.service-area-1[data-bg-src]::before,
.service-area-1.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.85);
    z-index: 0;
}

.service-area-1[data-bg-src] > *,
.service-area-1.background-image > * {
    position: relative;
    z-index: 1;
}

/* Service card text colors on dark overlay */
.service-area-1 .title-area .sec-title,
.service-area-1 .title-area p,
.service-area-1 .title-area .sub-title {
    color: #fff;
}

/* Contact form area overlay */
.contact-wrap2 {
    position: relative;
}

.contact-wrap2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.70) 0%, rgba(15, 52, 96, 0.55) 100%);
    z-index: 0;
    border-radius: inherit;
}

.contact-wrap2 > * {
    position: relative;
    z-index: 1;
}

/* Testimonial card with photo bg */
.testimonial-card[data-bg-src] {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.testimonial-card[data-bg-src]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(232, 165, 37, 0.85);
    z-index: 0;
    border-radius: inherit;
}

.testimonial-card[data-bg-src] > * {
    position: relative;
    z-index: 1;
}

/* ===== HERO IMAGES ===== */
.hero-thumb img {
    max-height: 600px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== ABOUT SECTION IMAGES ===== */
.about-img-1 img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== CTA SECTION ===== */
.cta-thumb1-1 img {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== WHY CHOOSE US ===== */
.wcu-thumb1-1 img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== PORTFOLIO / PROJECT CARDS ===== */
.portfolio-card-thumb img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

/* ===== CONTACT PAGE CARDS ===== */
.contact-page-card-thumb img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

/* ===== SERVICE DETAILS ===== */
.service-thumb img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== TEAM CARDS ===== */
.team-card_img img {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}

/* ===== TESTIMONIAL ===== */
.testi-card-thumb img {
    max-height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-details-thumb img {
    max-height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== GENERAL IMAGE OVERFLOW PREVENTION ===== */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent images from breaking layout */
.container img,
.row img {
    max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-thumb img {
        max-height: 400px;
    }
    .about-img-1 img,
    .cta-thumb1-1 img,
    .wcu-thumb1-1 img {
        max-height: 350px;
    }
}

@media (max-width: 767px) {
    .hero-thumb img {
        max-height: 300px;
    }
    .about-img-1 img,
    .cta-thumb1-1 img,
    .wcu-thumb1-1 img {
        max-height: 280px;
    }
    .header-logo img,
    .header-navbar-logo img {
        max-height: 45px !important;
        max-width: 140px !important;
    }
}

/* ===== TEAM CARDS WITHOUT PHOTOS ===== */
.team-card {
    min-height: 200px;
}

.team-card .team-card_content {
    padding: 30px 0;
}

/* Hero bg - handled in top section */

/* Shape images - all hidden via global rule above */

/* Hero background - handled in top section */

/* ===== PROJECT FILTER MENU ===== */
.portfolio-menu.filter-menu-active {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
}

.portfolio-menu.filter-menu-active button {
    background: transparent;
    border: 2px solid #e8a525;
    color: #1a1a2e;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}

.portfolio-menu.filter-menu-active button:hover,
.portfolio-menu.filter-menu-active button.active {
    background: #e8a525;
    color: #fff;
    border-color: #e8a525;
    box-shadow: 0 4px 15px rgba(232, 165, 37, 0.4);
}

/* ===== PROJECT STATUS BADGES ===== */
.badge.bg-status-tamamlandi,
.badge.bg-status-devam_eden,
.badge.bg-status-ruhsat_asamasinda,
.badge.bg-status-proje_asamasinda {
    display: inline-block !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    letter-spacing: 0.3px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
.badge.bg-status-tamamlandi { background-color: #198754 !important; color: #fff !important; }
.badge.bg-status-devam_eden { background-color: #e8a525 !important; color: #fff !important; }
.badge.bg-status-ruhsat_asamasinda { background-color: #0dcaf0 !important; color: #1a1a2e !important; }
.badge.bg-status-proje_asamasinda { background-color: #6f42c1 !important; color: #fff !important; }

/* ===== SERVICE CARD SHADOW TEXT FIX ===== */
.service-card.style3 {
    position: relative;
    overflow: hidden;
}

.service-card-shadow-text {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(232, 165, 37, 0.15);
    z-index: 0;
    pointer-events: none;
}

.service-card.style3 .service-card_content {
    position: relative;
    z-index: 1;
}

/* ===== CONTACT FORM TEXT READABILITY ===== */
.contact-wrap2 .sec-title,
.contact-wrap2 .sub-title,
.contact-wrap2 .contact-form-wrap {
    color: #fff;
}

.contact-wrap2 .form-control,
.contact-wrap2 .form-select {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.contact-wrap2 .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

/* ===== MAP GRAYSCALE REMOVAL ===== */
.map-sec {
    filter: none !important;
    -webkit-filter: none !important;
}

.map-sec iframe {
    filter: none !important;
    -webkit-filter: none !important;
    width: 100%;
    min-height: 450px;
    border: 0;
}

/* ===== PROJECT DETAILS PAGE ===== */
.project-page-thumb {
    position: relative;
}

.project-page-thumb .sidebar-area {
    position: relative;
    margin-top: 30px;
}

.project-details-area .single-page .project-page-thumb > img {
    border-radius: 16px;
    max-height: 500px;
    object-fit: cover;
}

/* ===== PROJECT GALLERY ===== */
.project-gallery {
    margin-top: 40px;
    margin-bottom: 40px;
}

.project-gallery h3 {
    margin-bottom: 20px;
}

.project-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.project-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

.project-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

.project-gallery .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .project-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .portfolio-menu.filter-menu-active button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ===== PROCESS CARD WRAP EQUAL HEIGHT ===== */
.process-card-wrap .row {
    display: flex;
    flex-wrap: wrap;
}

.process-card-wrap .row > [class*="col-"] {
    display: flex;
}

.process-card-wrap .process-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.process-card-wrap .process-card .process-card-title {
    min-height: 52px;
}

.process-card-wrap .process-card .process-card-text {
    flex: 1;
}

@media (max-width: 767px) {
    .process-card-wrap .process-card {
        min-height: auto;
    }
    .process-card-wrap .process-card .process-card-title {
        min-height: auto;
    }
}

/* ===== CONTACT PAGE CARDS EQUAL HEIGHT ===== */
.contact-page-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-page-card .contact-page-card-details {
    flex: 1;
}

.contact-page-card .contact-page-card-thumb {
    margin-top: auto;
}

/* ===== CONTACT WRAP OVERLAY (same as hero) ===== */
.contact-wrap2.background-image::before {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.70) 0%, rgba(15, 52, 96, 0.55) 100%) !important;
}

/* ===== TESTI CARD THUMB FOR FAVICON ===== */
.testi-card-thumb img {
    max-height: 60px !important;
    max-width: 60px !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
}
