/* 
    PAPIRA BasÄ±mevi - HOMEPAGE SPECIFIC STYLES
*/

/* Hero Section */
.hero {
    height: calc(100vh + 60px);
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
    overflow: hidden;
    display: block !important;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 1;
    transform: scale(1);
    transition: transform 3.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.hero-slide.active .hero-bg {
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
    z-index: 2;
}

.hero .container-xl {
    position: relative;
    z-index: 3;
}

.hero-tagline {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 70px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 20px;
}

.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 18px;
    color: var(--light-cyan);
    max-width: 600px;
    margin-bottom: 45px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-circle-stat {
    position: absolute;
    bottom: 0;
    right: 100px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--emerald-transparent) 0%, var(--cyan-transparent) 100%);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 180, 230, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: floatMove 6s ease-in-out infinite;
}

@keyframes floatMove {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}

.hero-circle-stat h2 {
    font-size: 52px;
    font-weight: 500;
    margin-bottom: -5px;
    color: var(--white) !important;
}

.hero-circle-stat span {
    font-size: 13px;
    font-weight: 500;
    color: var(--white) !important;
    opacity: 0.7;
}

.hero-counter-wrap {
    font-weight: 500;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin-top: 40px;
}

.hero-counter-wrap span {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
    font-weight: 300;
}

.hero-side-line {
    position: relative;
    height: 300px;
    width: 5px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 5;
    border-radius: 20px;
    mask-image: linear-gradient(to bottom, transparent 0%, var(--black) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, var(--black) 50%, transparent 100%);
}

.hero-side-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 100px;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.5) 40%,
            transparent 70%);
    animation: moveLinePulse 4s ease-in-out infinite;
    filter: blur(5px);
}

@keyframes moveLinePulse {

    0%,
    100% {
        top: 30%;
        opacity: 0.3;
    }

    50% {
        top: 70%;
        opacity: 1;
    }
}

.line-dot {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    z-index: 10;
    animation: moveDot 4s ease-in-out infinite;
}

@keyframes moveDot {

    0%,
    100% {
        top: 30%;
    }

    50% {
        top: 70%;
    }
}

.features-section {
    padding: 60px 0;
    background: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
}

.feature-box {
    display: flex;
    align-items: center;
    padding: 30px;
    border-radius: 25px;
    transition: var(--transition);
}

.feature-box:hover {
    background: var(--light-bg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin-right: 20px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.feature-text h6 {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 16px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Services Stepped Layout */
.services-section {
    padding: 60px 0;
    background: var(--primary-gradient-light);
    overflow: hidden;
}

.services-grid {
    display: flex;
    gap: 8px;
}

.service-stepped-card-wrapper {
    flex: 1;
    display: flex;
    height: 440px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: visible;
}

.service-stepped-card {
    width: 100%;
    height: 260px;
    border-radius: 15px;
    overflow: visible;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-stepped-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
}

.service-stepped-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-stepped-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 2;
}

.service-stepped-card-wrapper:hover .service-stepped-media img {
    transform: scale(1.1);
}

.service-stepped-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    z-index: 3;
    color: var(--white);
}

.service-stepped-number {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
    color: var(--white);
}

.service-stepped-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.service-stepped-arrow {
    position: absolute;
    bottom: -20px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 14px;
    z-index: 4;
    transition: var(--transition);
    border: 1px solid var(--black);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-stepped-card-wrapper:hover .service-stepped-arrow {
    background: var(--primary-gradient);
    color: var(--black);
    border: 1px solid var(--primary-gradient);
}

.service-stepped-card-wrapper:hover .service-stepped-card {
    transform: translateY(-10px) !important;
}

@media (min-width: 992px) {
    .service-stepped-card-wrapper:nth-child(1) .service-stepped-card {
        transform: translateY(0);
    }

    .service-stepped-card-wrapper:nth-child(2) .service-stepped-card {
        transform: translateY(40px);
    }

    .service-stepped-card-wrapper:nth-child(3) .service-stepped-card {
        transform: translateY(80px);
    }

    .service-stepped-card-wrapper:nth-child(4) .service-stepped-card {
        transform: translateY(120px);
    }

    .service-stepped-card-wrapper:nth-child(5) .service-stepped-card {
        transform: translateY(60px);
    }
}

@media (max-width: 991px) {
    .services-grid {
        flex-wrap: wrap;
        padding: 40px 0 20px;
    }

    .service-stepped-card-wrapper {
        flex: 0 0 calc(50% - 15px);
        height: 300px;
    }

    .service-stepped-card-wrapper:hover .service-stepped-card {
        transform: translateY(-10px) !important;
    }

    .service-stepped-card {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .service-stepped-card-wrapper {
        flex: 0 0 100%;
        margin-bottom: 20px;
        height: 300px;
    }
}

@media (max-width: 991px) {
    .hero {
        height: auto;
        padding: 150px 0 100px;
        min-height: 100vh;
    }

    .hero-carousel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        z-index: 1;
    }

    .carousel-inner {
        position: relative;
        width: 100% !important;
        height: 100% !important;
    }

    .carousel-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-circle-stat {
        display: none;
    }

    .hero-counter {
        display: none;
    }

    .feature-box {
        margin-bottom: 10px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .service-stepped-card {
        flex: 0 0 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .btn-gradient {
        width: 100%;
        text-align: center;
    }
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background: var(--dark-bg-extra);
    color: var(--white);
    overflow: hidden;
}

.product-cards-grid {
    display: flex;
    gap: 12px;
}

.product-card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.product-card {
    width: 100%;
    flex: 1;
    background: var(--dark-bg-grey);
    border-radius: 15px;
    padding: 0;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card-wrapper:hover .product-card {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-img {
    height: 180px;
    overflow: hidden;
    margin-bottom: 0;
}

.product-card-body {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card h5 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.product-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid var(--white);
    margin: 0 auto 10px;
    transition: var(--transition);
    font-size: 12px;
}

.product-card-wrapper:hover .product-btn {
    background: var(--primary-gradient);
    color: var(--black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-gradient);
}

@media (max-width: 1200px) {
    .product-cards-grid {
        overflow-x: auto;
        padding-bottom: 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .product-card-wrapper {
        flex: 0 0 220px;
    }
}

@media (max-width: 767px) {
    .products-section {
        padding: 50px 0 40px !important;
    }

    .products-section .display-7 {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }

    .products-section p {
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }

    .product-cards-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        overflow-x: visible !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-card-wrapper {
        flex: none !important;
        width: 100% !important;
    }

    .product-card {
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        height: 100% !important;
    }

    .product-img {
        height: 130px !important;
    }

    .product-card-body {
        padding: 14px 12px !important;
    }

    .product-card h5 {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    .product-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .product-card-wrapper:nth-child(5) {
        display: none !important;
    }
}