/* ==========================================================
   KAMEL INSAAT - Responsive fixes
   Loaded after assets/sass/style.css
   Fixes oversized fixed typography at small/medium viewports
   ========================================================== */

/* ---- Fixed header: menu always on top ----
   Header slide-in only applies when JS is active (html.js).
   Without JS the header is shown normally. */
html.js #header .wpo-site-header,
html.js .wpo-site-header.wpo-header-style {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transform: translateX(-100%);
}

html.js #header .wpo-site-header.menu-in,
html.js .wpo-site-header.wpo-header-style.menu-in {
    transform: translateX(0);
    animation: menuSlideIn 0.8s ease both;
}

/* Preloader fallback: if JS is disabled, never cover the page */
html:not(.js) .preloader {
    display: none !important;
}

.newsletter-widget .newsletter-ok {
    color: #e3b576;
    font-size: 15px;
    margin-top: 15px;
}

@keyframes menuSlideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.wpo-site-header .navigation.sticky-header {
    display: none !important;
}

.wpo-site-header #navbar > ul > li > a {
    color: #000;
}

.wpo-site-header #navbar > ul > li > a:hover,
.wpo-site-header #navbar > ul > li.current > a {
    color: #e3b576;
}

/* ---- Hero slider title ---- */
.wpo-hero-slider {
    height: 1200px;
    margin-bottom: 200px;
}

@media (max-width: 1199px) {
    .wpo-hero-slider {
        height: 960px;
        margin-bottom: 160px;
    }
}

@media (max-width: 991px) {
    .wpo-hero-slider {
        height: 100vh;
        padding: 360px 0 480px;
        margin-bottom: 120px;
    }
}

@media (max-width: 575px) {
    .wpo-hero-slider {
        padding: 240px 0 240px;
        margin-bottom: 90px;
    }
}

.wpo-hero-slider .slide-content {
    margin: 0 auto;
    text-align: center;
}

.wpo-hero-slider .slide-content.slide-content-right {
    position: absolute;
    right: 276px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 800px;
    text-align: right;
}

.wpo-hero-slider .slide-content.slide-content-lg h2 {
    font-size: clamp(51px, 6vw, 81px);
    line-height: 1.3;
    letter-spacing: 0.06em;
}

@media (max-width: 991px) {
    .wpo-hero-slider .slide-content.slide-content-right {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 1130px;
        margin: 0 auto;
        text-align: center;
    }
}

.wpo-hero-slider .slide-content h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.3;
    letter-spacing: 0.06em;
}

@media (max-width: 1199px) {
    .wpo-hero-slider .slide-content h2 {
        font-size: clamp(32px, 4.2vw, 46px);
        line-height: 1.3;
    }
}

@media (max-width: 991px) {
    .wpo-hero-slider .slide-content h2 {
        font-size: 40px;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 767px) {
    .wpo-hero-slider .slide-content h2 {
        font-size: 34px;
    }
}

@media (max-width: 575px) {
    .wpo-hero-slider .slide-content h2 {
        font-size: 30px;
        line-height: 1.35;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 414px) {
    .wpo-hero-slider .slide-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 320px) {
    .wpo-hero-slider .slide-content h2 {
        font-size: 22px;
    }
}

/* ---- About section heading ---- */
.wpo-about-section .content h2 {
    overflow-wrap: break-word;
    word-break: normal;
    font-size: 140px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

@media (max-width: 1599px) {
    .wpo-about-section .content h2 {
        font-size: 120px;
        line-height: 1.2;
    }
}

@media (max-width: 1399px) {
    .wpo-about-section .content h2 {
        font-size: 105px;
        line-height: 1.2;
    }
}

@media (max-width: 1199px) {
    .wpo-about-section .content h2 {
        font-size: 90px;
        line-height: 1.2;
    }
}

@media (max-width: 991px) {
    .wpo-about-section .content h2 {
        font-size: 70px;
        line-height: 1.15;
    }
}

@media (max-width: 767px) {
    .wpo-about-section .content h2 {
        font-size: 54px;
        line-height: 1.15;
    }
}

@media (max-width: 575px) {
    .wpo-about-section .content h2 {
        font-size: 42px;
        line-height: 1.2;
    }
}

@media (max-width: 400px) {
    .wpo-about-section .content h2 {
        font-size: 34px;
    }
}

.wpo-project-section .title h2 {
    font-size: 80px;
    margin-bottom: 50px;
}

@media (max-width: 1599px) {
    .wpo-project-section .title h2 {
        font-size: 70px;
    }
}

@media (max-width: 1399px) {
    .wpo-project-section .title h2 {
        font-size: 62px;
    }
}

@media (max-width: 1199px) {
    .wpo-project-section .title h2 {
        font-size: 52px;
    }
}

@media (max-width: 991px) {
    .wpo-project-section .title h2 {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .wpo-project-section .title h2 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .wpo-project-section .title h2 {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .wpo-project-section .title h2 {
        font-size: 20px;
    }
}

/* ---- Values heading ---- */
.values-heading {
    text-align: center;
    padding: 70px 0 10px;
}

.values-heading h2 {
    color: #000;
    font-family: "Slabo 27px", serif;
    font-size: 100px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 1199px) {
    .values-heading h2 {
        font-size: 80px;
    }
}

@media (max-width: 991px) {
    .values-heading h2 {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .values-heading h2 {
        font-size: 45px;
    }
}

@media (max-width: 575px) {
    .values-heading h2 {
        font-size: 34px;
    }
    .values-heading {
        padding: 50px 0 30px;
    }
}

/* ---- Section scroll-down button ---- */
.wpo-about-section,
.wpo-project-section,
.wpo-service-section,
.wpo-testimonial-section {
    position: relative;
}

.wpo-project-section,
.wpo-service-section,
.wpo-testimonial-section {
    padding-bottom: 160px;
}

.scroll-btn.scroll-btn-section {
    position: absolute;
    right: 130px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 189px;
}

.scroll-btn.scroll-btn-section span {
    color: #000;
    margin-bottom: 20px;
}

.scroll-btn.scroll-btn-section .scroll-befor {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto;
}

.scroll-btn.scroll-btn-section .scroll-befor::before {
    right: -20px;
    bottom: -20px;
    width: 60px;
    height: 60px;
    border-color: #e3b576;
}

.scroll-btn .scroll-befor::before {
    border-color: #e3b576;
}

.wpo-testimonial-section .scroll-btn.scroll-btn-section span {
    color: #fff;
}

@media (max-width: 1399px) {
    .scroll-btn.scroll-btn-section {
        right: 50px;
        bottom: 40px;
    }
}

@media (max-width: 991px) {
    .scroll-btn.scroll-btn-section {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 575px) {
    .scroll-btn.scroll-btn-section {
        width: 60px;
    }
}

/* ---- Service section ---- */
.wpo-service-section {
    margin-top: 30px;
}

@media (max-width: 991px) {
    .wpo-service-section {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .wpo-service-section {
        margin-top: 15px;
    }
}

/* ---- Project title spacing ---- */
.wpo-project-section {
    padding: 60px 0;
}

.wpo-project-section .project-wrap .project-card:first-child .content h2 a {
    font-size: 34px;
    line-height: 42px;
}

@media (max-width: 1199px) {
    .wpo-project-section .project-wrap .project-card:first-child .content h2 a {
        font-size: 30px;
        line-height: 38px;
    }
}

@media (max-width: 991px) {
    .wpo-project-section .project-wrap .project-card:first-child .content h2 a {
        font-size: 26px;
        line-height: 32px;
    }
}

@media (max-width: 575px) {
    .wpo-project-section .project-wrap .project-card:first-child .content h2 a {
        font-size: 20px;
        line-height: 26px;
    }
}

.wpo-project-section .project-card {
    max-height: 400px;
    margin: 8px;
}

.wpo-project-section .project-wrap .project-card img:nth-child(2) {
    height: auto;
}

.wpo-project-section .project-wrap .project-card:nth-child(1),
.wpo-project-section .project-wrap .project-card:nth-child(2),
.wpo-project-section .project-wrap .project-card:nth-child(3),
.wpo-project-section .project-wrap .project-card:nth-child(4) {
    width: 35%;
}

.wpo-project-section .project-card .content {
    padding: 20px 24px;
}

.wpo-project-section .project-card .content h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #fff;
}

.wpo-project-section .project-card .content h2 a {
    color: #fff;
}

.wpo-project-section .project-card .content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.wpo-project-section .project-card a.fancybox {
    display: block;
    position: relative;
    overflow: hidden;
}

.wpo-project-section .project-card a.fancybox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.wpo-project-section .project-card a.fancybox:hover img {
    transform: scale(1.05);
}

.wpo-project-section .project-card a.fancybox img:first-child {
    position: relative;
    opacity: 1;
    transform: none;
    filter: none;
}

/* ---- Fancybox OK ve X Butonları ---- */
.fancybox-close {
    top: 15px !important;
    right: 15px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    background-image: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease !important;
}
.fancybox-close::after {
    content: '×';
    font-size: 28px;
    color: #fff;
    font-weight: 300;
    line-height: 1;
}
.fancybox-close:hover {
    background: rgba(200, 169, 81, 0.9) !important;
}
.fancybox-nav span {
    visibility: visible !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    background-image: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease !important;
    top: 50% !important;
    margin-top: -25px !important;
}
.fancybox-nav span::after {
    font-size: 24px;
    color: #fff;
    font-weight: 300;
}
.fancybox-prev span {
    left: 15px !important;
}
.fancybox-prev span::after {
    content: '‹';
}
.fancybox-next span {
    right: 15px !important;
}
.fancybox-next span::after {
    content: '›';
}
.fancybox-nav span:hover {
    background: rgba(200, 169, 81, 0.9) !important;
}
.fancybox-skin {
    background: #1a1a2e !important;
    border-radius: 12px !important;
    padding: 0 !important;
}
.fancybox-title {
    color: #fff !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 991px) {
    .wpo-project-section {
        padding: 50px 0;
    }
    .wpo-project-section .project-card {
        max-height: 350px;
    }
    .wpo-project-section .project-wrap .project-card:nth-child(1),
    .wpo-project-section .project-wrap .project-card:nth-child(2),
    .wpo-project-section .project-wrap .project-card:nth-child(3),
    .wpo-project-section .project-wrap .project-card:nth-child(4) {
        width: 45%;
    }
}

@media (max-width: 575px) {
    .wpo-project-section {
        padding: 40px 0;
    }
    .wpo-project-section .project-wrap .project-card:nth-child(1),
    .wpo-project-section .project-wrap .project-card:nth-child(2),
    .wpo-project-section .project-wrap .project-card:nth-child(3),
    .wpo-project-section .project-wrap .project-card:nth-child(4) {
        width: 100%;
    }
    .wpo-project-section .project-card {
        max-height: 300px;
    }
}

@media (max-width: 991px) {
    .wpo-project-section .title h2 {
        margin-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .wpo-project-section .title h2 {
        margin-bottom: 30px;
    }
}

/* ---- Service section heading ---- */
@media (max-width: 1199px) {
    .wpo-service-section .service-top .content h2 {
        font-size: 46px;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .wpo-service-section .service-top .content h2 {
        font-size: 34px;
        line-height: 1.25;
    }
}

@media (max-width: 414px) {
    .wpo-service-section .service-top .content h2 {
        font-size: 28px;
    }
}

/* ---- Funfact numbers ---- */
@media (max-width: 1399px) {
    .wpo-funfact-section .item h2 span {
        font-size: 90px;
        letter-spacing: 6px;
    }
}

@media (max-width: 991px) {
    .wpo-funfact-section .item h2 span {
        font-size: 72px;
        letter-spacing: 4px;
    }
}

@media (max-width: 575px) {
    .wpo-funfact-section .item h2 span {
        font-size: 60px;
    }
}

@media (max-width: 400px) {
    .wpo-funfact-section .item h2 span {
        font-size: 50px;
    }
}

.wpo-funfact-section .item h2 .icon {
    font-size: 90px;
}

@media (max-width: 1399px) {
    .wpo-funfact-section .item h2 .icon {
        font-size: 70px;
        bottom: -15px;
    }
}

@media (max-width: 991px) {
    .wpo-funfact-section .item h2 .icon {
        font-size: 54px;
        bottom: -8px;
    }
}

/* ---- About funfact number ---- */
@media (max-width: 1399px) {
    .about-funfact h3 span {
        font-size: 120px;
        line-height: 120px;
        letter-spacing: 6px;
    }
}

@media (max-width: 991px) {
    .about-funfact h3 span {
        font-size: 90px;
        line-height: 90px;
    }
}

@media (max-width: 575px) {
    .about-funfact h3 span {
        font-size: 64px;
        line-height: 70px;
        letter-spacing: 2px;
    }
}

@media (max-width: 400px) {
    .about-funfact h3 span {
        font-size: 52px;
    }
}

/* ---- Testimonial ---- */
@media (max-width: 1199px) {
    .wpo-testimonial-section .item .content h3 {
        font-size: 34px;
        line-height: 1.35;
    }
}

@media (max-width: 767px) {
    .wpo-testimonial-section .item .content h3 {
        font-size: 28px;
        line-height: 1.35;
    }
}

@media (max-width: 575px) {
    .wpo-testimonial-section .item {
        padding: 70px 0 90px;
    }
    .wpo-testimonial-section .item .content h3 {
        font-size: 22px;
        line-height: 1.4;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .wpo-testimonial-section .item .content h4 {
        font-size: 26px;
        line-height: 1.2;
        padding-top: 30px;
    }
    .wpo-testimonial-section .item .content span {
        font-size: 15px;
    }
}

/* ---- Team card ---- */
@media (max-width: 1199px) {
    .team-card h2 a,
    .team-card h2 span {
        font-size: 30px;
        line-height: 1.2;
        height: auto !important;
    }
}

@media (max-width: 575px) {
    .team-card h2 a,
    .team-card h2 span {
        font-size: 26px;
    }
    .team-card span {
        font-size: 18px;
    }
}

/* ---- Project card ---- */
@media (max-width: 991px) {
    .project-card .content h2 a {
        font-size: 28px;
        line-height: 1.2;
    }
    .project-card .content span {
        font-size: 16px;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    .project-card .content h2 a {
        font-size: 24px;
    }
    .project-card .content {
        padding: 18px 16px;
    }
}

/* ---- Service cards on small phones ---- */
@media (max-width: 414px) {
    .service-card {
        padding: 24px 18px;
    }
    .service-card h2 a {
        font-size: 24px;
        line-height: 1.3;
    }
}

/* ---- About section content on small screens ---- */
.wpo-about-section {
    min-height: 100vh;
}

.wpo-about-section .content ul {
    max-width: 631px;
    margin: 0;
    padding-left: 20px;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    list-style: disc;
}

.wpo-about-section .content ul + p {
    margin-top: 0;
}

.wpo-about-section .content h3 {
    max-width: 631px;
    margin: 30px 0 10px;
    color: #000;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 575px) {
    .wpo-about-section .content h3 {
        font-size: 21px;
    }
}

.about-cols {
    display: flex;
    align-items: stretch;
    gap: 50px;
    max-width: 1110px;
}

.about-cols .about-col {
    flex: 1;
    min-width: 0;
}

.about-cols .about-col p,
.about-cols .about-col ul,
.about-cols .about-col h3 {
    max-width: 100%;
}

.about-divider-v {
    flex-shrink: 0;
    width: 1px;
    margin: 0;
    position: relative;
    background: linear-gradient(180deg, transparent, #e3b576 20%, #e3b576 80%, transparent);
}

.about-divider-v .about-divider-symbol {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #fff;
}

@media (max-width: 1199px) {
    .about-cols {
        flex-direction: column;
        gap: 0;
    }
    .about-divider-v {
        width: 100%;
        height: 1px;
        margin: 35px 0;
        background: linear-gradient(90deg, transparent, #e3b576 20%, #e3b576 80%, transparent);
    }
}

@media (max-width: 575px) {
    .wpo-about-section .content {
        padding-right: 0;
    }
    .wpo-about-section .content p {
        font-size: 17px;
        line-height: 1.6;
    }
    .wpo-about-section .content ul {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* ---- About section image shadow ---- */
.wpo-about-section .image-1 {
    right: 30px;
}
.wpo-about-section .image-1 img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ---- Partner logos sizing ---- */
@media (max-width: 575px) {
    .wpo-partners-section .partners-slider li img {
        max-width: 120px;
    }
}

/* ---- İletişim Formu ---- */
.wpo-contact-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}
.wpo-contact-section::before {
    display: none;
}
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.contact-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #c8a951;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 169, 81, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c8a951 0%, #d4b96a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 169, 81, 0.4);
}
.submit-btn:active {
    transform: translateY(0);
}
@media (max-width: 575px) {
    .wpo-contact-section {
        padding: 60px 0;
    }
    .contact-form-container {
        padding: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}