/********** Template CSS **********/
:root {
    --primary: #7EBC12;
    --secondary: #FF0F10;
    --light: #F2F2F2;
    --dark: #1D2833;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 8px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-hero.png);
    background-position:
        0px 40%,
        right 0 top 0,
        left 50% top 0,
        left 50% top 50%,
        center bottom -1px;
    background-repeat: no-repeat;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 11px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #5A5A5A;
    border-bottom: 1px solid #5A5A5A;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 1px;
    bottom: 5px;
    left: 0;
    background: var(--primary);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -30px;
}

.section-title.text-center::after {
    width: 120px;
    left: 50%;
    margin-left: -60px;
}


/*** Domain Search ***/
.domain {
    background: url(../img/bg-domain.png) center center no-repeat;
    background-size: contain;
}


/*** Comparison ***/
@media (min-width: 992px) {
    .comparison::after {
        position: absolute;
        content: "";
        width: 1px;
        top: 56px;
        bottom: 20px;
        left: 50%;
        background: #DDDDDD;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item .position-absolute {
    background: var(--secondary) !important;
}

/* Seçili (center) kartta avatar yuvarlağı kırmızı olsun */
.testimonial-carousel .owl-item.center .testimonial-item .rounded-circle.bg-primary {
    background: var(--secondary) !important;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.footer {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-footer.png);
    background-position:
        0px 112px,
        right 0 bottom 0,
        left 50% top 80px,
        left 50% bottom 0,
        top center;
    background-repeat: no-repeat;
}

.footer p {
    font-size: 15px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .3);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Proje kartı: görsel + metin tek link; demo butonları üstte kalır */
a.proje-kart-detay {
    transition: opacity .2s ease, box-shadow .2s ease;
}
a.proje-kart-detay:hover {
    opacity: .96;
}
a.proje-kart-detay:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/*** Proje detay sayfası ***/
.proje-detay-hero-band {
    background: linear-gradient(165deg, #f0f4f8 0%, #f8fafb 45%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 2.5rem;
}
.proje-detay-hero {
    padding-top: 0.25rem;
}
.proje-detay-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}
.proje-detay-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #1a2332;
}
.proje-detay-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #5c6570;
    margin-bottom: 0;
}
.proje-detay-hero__frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 22px 48px rgba(15, 23, 42, 0.1);
    background: #e8ecf1;
}
.proje-detay-hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}
.proje-detay-hero__shine {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 55%;
    height: 120%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.35) 0%,
        transparent 55%
    );
    pointer-events: none;
    z-index: 1;
}
.proje-detay-hero__img {
    width: 100%;
    display: block;
    max-height: min(420px, 52vh);
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.proje-detay-hero__frame:hover .proje-detay-hero__img {
    transform: scale(1.03);
}
.proje-detay-hero__placeholder {
    min-height: 280px;
    background: linear-gradient(145deg, #5c6f82 0%, #3d4f62 100%);
}
.proje-detay-btn-admin {
    border: 2px solid rgba(220, 53, 69, 0.45);
    color: #c82333;
    background: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
}
.proje-detay-btn-admin:hover {
    background: #fff5f5;
    border-color: #dc3545;
    color: #a71d2a;
}
.proje-detay-section-title {
    color: #1a2332;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.5rem;
}
.proje-detay-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    border-radius: 2px;
    background: var(--primary);
}
.proje-detay-icerik {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3748;
}
.proje-galeri__link {
    background: #f1f3f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.proje-galeri__link:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.proje-galeri__zoom {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
}
.proje-galeri__img {
    aspect-ratio: 4/3;
    object-fit: cover;
    max-height: 280px;
    width: 100%;
    transition: transform 0.45s ease;
}
.proje-galeri__link:hover .proje-galeri__img {
    transform: scale(1.05);
}
@media (max-width: 991.98px) {
    .proje-detay-actions .btn-lg {
        font-size: 0.95rem;
        padding: 0.6rem 1.1rem;
    }
}

/* Proje detay: geri dönüş */
.proje-detay-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3d4d5c;
    text-decoration: none;
    padding: 0.5rem 1rem 0.5rem 0.85rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
        transform 0.15s ease;
}
.proje-detay-back:hover {
    color: var(--primary);
    border-color: rgba(126, 188, 18, 0.35);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transform: translateX(-2px);
}
.proje-detay-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1040;
    padding: 0.65rem 1.15rem !important;
}
@media (min-width: 992px) {
    .proje-detay-fab {
        right: 1.75rem;
        bottom: 1.75rem;
    }
}