/* ================================================================
   Posted Digilab — Sayfa Stilleri (pages.css)
   Hakkımızda · İletişim · İşler · Proje Detay · Blog
   ================================================================ */

/* ── Genel Sayfa Wrapper ─────────────────────────────────────── */
.about-page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* ── About / Hakkımızda Hero ─────────────────────────────────── */
.about-hero-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 15px 40px;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-hero-text {
    font-size: clamp(32px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.5px;
    color: #1a1a1a;
    width: 100%;
    text-align: left;
}

.sticker-word {
    display: inline-block;
    background-color: #e6ff2a;
    padding: 2px 14px 4px;
    
    transform: rotate(-2deg);
    transform-origin: center;
    margin-right: 4px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticker-word:hover {
    transform: rotate(0deg) scale(1.05);
}

.smiley-animated {
    display: inline-block;
    font-family: 'Gluten', cursive;
    font-weight: 100;
    animation: smileyWobble 3s ease-in-out infinite;
}

@keyframes smileyWobble {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.about-sub-text {
    font-family: 'Gluten', cursive !important;
    font-size: clamp(16px, 2vw, 22px);
    margin-top: 40px;
    font-weight: 300;
    color: #666;
    letter-spacing: -0.2px;
    width: 100%;
    text-align: left;
}

/* ── Hizmet Hero Text (Rich Text to Sticker) ─────────────────── */
.service-hero-text {
    font-size: clamp(32px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.5px;
    color: #1a1a1a;
    width: 100%;
    text-align: left;
}

.service-hero-text p {
    margin: 0;
    display: inline;
}

.service-hero-text strong,
.service-hero-text b,
.service-hero-text em {
    display: inline-block;
    background-color: #e6ff2a;
    padding: 2px 14px 4px;
    
    transform: rotate(-2deg);
    transform-origin: center;
    margin-right: 4px;
    margin-left: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 900;
    font-style: normal;
}

.service-hero-text strong:hover,
.service-hero-text b:hover,
.service-hero-text em:hover {
    transform: rotate(0deg) scale(1.05);
}

/* ── wp-card-action-btn (İşler Kartları Butonları) ───────────── */
.wp-card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    margin-right: 12px;
    padding: 12px 22px;
    background-color: #e6ff2a;
    color: #000;
    font-size: 17px;
    font-weight: 800;
    
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, gap 0.2s ease;
    line-height: 1;
    font-family: inherit;
}

.wp-card-action-btn:hover {
    background-color: #1a1a1a;
    color: #e6ff2a;
    transform: translateY(-2px);
    gap: 12px;
}

/* İşler sayfası başlık etiketi */
.isler-page-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    color: #e6ff2a;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 2;
    padding-left: 10px;
}

.isler-centered-cat {
    text-align: center;
    font-size: clamp(13px, 1.5vw, 16px);
}

.isler-centered-title {
    text-align: center;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    transform-origin: center bottom;
    white-space: normal;
    max-width: 90%;
}

/* Video Galeri Butonu */
.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

/* ── Proje Detay Hero ────────────────────────────────────────── */
.proje-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #111;
}

.proje-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proje-hero-title-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 40px 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.proje-hero-title {
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin: 0;
    line-height: 1.1;
}

/* ── Skew (Eğimli) Bölümler ─────────────────────────────────── */
.skew-wrapper {
    position: relative;
    overflow: hidden;
}

.skew-bg {
    position: absolute;
    inset: 0;
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 0;
}

.skew-bg-green {
    /* background-color: #e6ff2a; */
}

.skew-bg-white {
    background-color: #fff;
}

.skew-bg-dark {
    background-color: #1a1a1a;
}

.skew-content-straight {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.skew-text-dark {
    color: #1a1a1a;
}

.skew-text-light {
    color: #fff;
}

.proje-desc-title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
}

.proje-desc-p {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.8;
    max-width: 780px;
    color: #333;
}

/* ── Proje Video Grid ────────────────────────────────────────── */
.proje-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.proje-video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.proje-video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.proje-video-item:hover img {
    transform: scale(1.05);
}

.proje-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    transition: background 0.2s ease;
}

.proje-video-item:hover .proje-play-overlay {
    background: rgba(0, 0, 0, 0.55);
}

/* ── Video Modal ─────────────────────────────────────────────── */
.video-modal-content {
    background: #111;
    
    width: 90vw;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.video-main-display {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 16px;
}

.video-main-display iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-thumbnails-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-yt-thumb {
    position: relative;
    width: 140px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.video-yt-thumb.active,
.video-yt-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.video-yt-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* ── İletişim Sayfası ────────────────────────────────────────── */
.contact-section {
    max-width: 1320px;
    margin: 0 auto;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-grid {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-title {
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.contact-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.contact-link {
    display: inline-block;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    margin-bottom: 4px;
}

.contact-link:hover {
    color: #555;
    text-decoration: underline;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-form-box {
    flex: 1 1 380px;
}

.contact-input {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #e0e0e0;
    
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    background: #fafafa;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    resize: vertical;
    display: block;
}

.contact-input:focus {
    border-color: #e6ff2a;
    background: #fff;
}

.form-group {
    margin-bottom: 16px;
}

/* ── Social Pill ─────────────────────────────────────────────── */
.social-pill {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    text-transform: lowercase;
}

.social-pill:hover {
    background-color: #e6ff2a;
    color: #000;
    transform: translateY(-2px);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .about-hero-section {
        padding: 14vh 15px 60px;
    }

    .contact-grid {
        flex-direction: column;
        gap: 40px;
    }

    .proje-hero {
        min-height: 50vh;
    }

    .proje-hero-title-wrapper {
        padding: 0 20px 40px;
    }

    .video-modal-content {
        width: 95vw;
        padding: 14px;
    }

    .video-yt-thumb {
        width: 100px;
    }

    .isler-centered-title {
        font-size: clamp(18px, 5vw, 26px);
    }

    .wp-card-action-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .proje-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Proje Kart Footer (Açıklama + Detay Butonu) ────────────── */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 36px 20px;
    flex-wrap: wrap;
}

.project-card-desc {
    flex: 1;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.65;
    color: #444;
    margin: 0;
    min-width: 0;
}

/* ── Yan Etiket / Sticker Detay Butonu ──────────────────────── */
@keyframes stickerWobble {
    0%   { transform: rotate(-3deg); }
    25%  { transform: rotate(-5deg) scale(1.04); }
    50%  { transform: rotate(-1deg) scale(1.06); }
    75%  { transform: rotate(-4deg) scale(1.03); }
    100% { transform: rotate(-3deg); }
}

.project-sticker-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 22px;
    background-color: #e6ff2a;
    color: #1a1a1a;
    font-size: clamp(13px, 1.3vw, 15px);
    font-weight: 900;
    text-decoration: none;
    text-transform: lowercase;
    transform: rotate(-3deg);
    transform-origin: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.project-sticker-btn:hover {
    background-color: #1a1a1a;
    color: #e6ff2a;
    animation: stickerWobble 0.5s ease;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
    .project-card-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 20px 16px;
        gap: 14px;
    }

    .project-sticker-btn {
        align-self: flex-start;
    }
}