/* ============================================
   WTC Landing Page Styles
   Optimized and Modularized
   ============================================ */

/* --- Color Variables --- */
:root {
    --brown-primary: #5D3A34;
    --brown-dark: #744834;
    --green-primary: #235F46;
    --orange-primary: #a94a00;
    --pink-soft: #FDF2F0;
    --cream-bg: #fcf5ee;
    --white: #fff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* --- Custom Colors --- */
.text-brown {
    color: var(--brown-primary);
}

.renkkrembg {
    background-color: var(--cream-bg);
}

/* --- Package Borders --- */
.bg-beginner {
    border: solid 2px var(--brown-dark);
    color: #000;
}

.bg-glowup {
    border: solid 2px var(--green-primary);
    color: #000;
}

.bg-clubber {
    border: solid 2px var(--orange-primary);
    color: #000;
}

.bg-soft-pink {
    background-color: var(--pink-soft);
}

/* --- Package Button Colors --- */
.bg-beginner .btn-bordo {
    border-color: var(--brown-dark) !important;
    border-width: 2px !important;
}

.bg-glowup .btn-bordo {
    background-color: var(--green-primary) !important;
    border-color: var(--green-primary) !important;
    border-width: 2px !important;
}

.bg-clubber .btn-bordo {
    background-color: #fefaeb !important;
    border-color: var(--orange-primary) !important;
    color: var(--orange-primary) !important;
    border-width: 2px !important;
}

/* --- Hero Section --- */
.hero-section {
    background-size: cover;
    background-position: center;
    height: 450px;
    position: relative;
}

/* Hero banner container */
.hero-banner-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

/* --- Feature Boxes --- */
.feature-box {
    border: 1px solid var(--brown-dark);
    border-radius: 8px;
    padding: 65px 20px 40px 20px;
    margin-top: 40px;
    position: relative;
    text-align: center;
    color: var(--brown-dark) !important;
}

.feature-icon-wrapper {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.feature-icon-png {
    width: 65px;
    height: auto;
    display: block;
}

/* --- Pricing Cards --- */
.pricing-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.pricing-card:hover {
    transform: scale(1) translateZ(0);
}

.card-header-custom {
    padding-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.card-header-custom .font-weight-bold {
    font-weight: 500 !important;
}

/* Pricing display */
.pricing-display {
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Pricing footer info */
.pricing-footer-info {
    min-height: 40px;
}

.card-body-custom {
    padding: 0 20px;
    flex-grow: 1;
    font-size: 0.8rem;
}

.list-item {
    margin-bottom: 5px;
    display: block;
    align-items: center;
}

.list-item i {
    width: 20px;
}

.list-item b {
    display: block;
    margin-top: 20px !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
}

.text-cross {
    color: #ffcccc;
}

/* --- Navigation --- */
.nav-link {
    padding: 0.5rem 0.9rem !important;
}

/* --- FAQ Accordion --- */
.card-header-faq {
    background-color: var(--pink-soft);
    border: none;
    padding: 0;
}

.btn-faq {
    width: 100%;
    text-align: left;
    color: #555;
    font-weight: 400;
    padding: 15px 20px;
    text-decoration: none !important;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.btn-faq:hover {
    color: #333;
    background-color: #fcece9;
}

.collapse-content {
    background-color: #fafafa;
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
}

.btn-light-custom {
    background-color: var(--white);
    color: #333;
    font-weight: 600;
    border: none;
    padding: 10px 30px;
    box-shadow: 0 2px 4px var(--shadow);
}

.btn-light-custom:hover {
    background-color: #f8f9fa;
}

/* --- Title with Lines --- */
.title-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    font-weight: 500 !important;
    font-size: clamp(18px, 2vw, 32px);
}

.title-with-lines::before,
.title-with-lines::after {
    content: '';
    flex: 1;
    border-bottom: 3px solid var(--brown-primary);
    opacity: 0.3;
    margin: 0 20px;
}

/* --- Package Description --- */
.paketaciklama {
    font-size: 18px !important;
    color: var(--brown-dark);
}

h5.font-weight-bold {
    font-size: 16px !important;
}

p.pmesaj {
    bottom: 15px;
    left: 10%;
    right: 10%;
    margin: 0;
    text-align: center;
}

/* --- Ribbon --- */
.ribbon {
    --f: 0.5em;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1.8;
    padding-inline: 1.7lh;
    padding-bottom: var(--f);
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(100% calc(100% - var(--f)), 100% 100%, calc(100% - var(--f)) calc(100% - var(--f)), var(--f) calc(100% - var(--f)), 0 100%, 0 calc(100% - var(--f)), 999px calc(100% - var(--f) - 999px), calc(100% - 999px) calc(100% - var(--f) - 999px));
    transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
    transform-origin: 100% 100%;
    background-color: #8a0000;
}

.ribbon2 {
    font-size: 18px;
    font-weight: 500;
    color: var(--white) !important;
    position: relative;
    margin-bottom: -8px !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-align: center;
    padding: 5px !important;
    background-color: var(--green-primary) !important;
}

.ribbon3 {
    height: 29px !important;
}

/* --- Steps Section --- */
.custom-section {
    background-color: var(--cream-bg);
    padding: 60px 0;
    overflow: hidden;
}

.step-item {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.step-icon {
    width: 80px;
    height:80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:0 auto 30px;
    font-size: 24px;
    color: #6d4c41;
}

.step-text {
    color: #6d4c41;
    font-size: 1.1rem;
}

/* --- Step Cards --- */
.step-card {
    text-align: center;
    padding: 0 20px;
    height: 100%;
}

.step-number {
    color: var(--brown-dark);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

.step-title {
    color: var(--brown-dark);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.step-description {
    color: var(--brown-dark);
    font-size: 16px;
    line-height: 1.6;
}

/* --- Image Effects --- */
.img-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.img-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-wrapper:hover img {
    transform: scale(1.15);
}

.w-100 {
    width: 95% !important;
}

.w-90 {
    width: 90% !important;
}

/* --- Image Shapes --- */
.shape-1 {
    border-radius: 20px 20px 20px 100px;
}

.shape-2 {
    border-radius: 100px 20px 20px 20px;
}

.shape-3 {
    border-radius: 20px 100px 20px 20px;
}

.shape-4 {
    border-radius: 20px 20px 100px 20px;
}

.shape-5 {
    border-radius: 20px 100px 20px 20px;
}

/* --- Video Section --- */
.video-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.video-item {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

video {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.video-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.video-control-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.video-control-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.video-progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.1s linear;
}

/* --- Doctor Info --- */
.doctorinfo {
    background-color: var(--white);
    border-radius: 15px;
    font-size: 13px !important;
    padding: 10px;
    height: 78px;
    justify-content: center;
    margin-top: 10px;
    text-align: center;
    display: inline-block;
    width: 100% !important;
    align-content: center !important;
}

/* --- Utility Classes --- */
.fw500 {
    font-weight: 500 !important;
}

/* Hero banner button */
.hero-banner-button {
    position: absolute;
    bottom: 60px !important;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* --- Desktop --- */
@media (min-width: 768px) {
    .scale-up {
        transform: scale(1.05);
        z-index: 10;
    }

    .pricing-card .collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .features-toggle-btn {
        display: none !important;
    }
}

/* --- Tablet & Mobile --- */
@media (max-width: 767px) {
    .step-card {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: 10px 0;
        margin-bottom: 40px;
    }

    .step-card:last-child {
        margin-bottom: 0;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }

    .step-content {
        flex: 1;
    }

    .step-number {
        font-size: 14px;
        margin-bottom: 0;
    }

    .step-title {
        font-size: 14px;
        margin-bottom: 0;
    }

    .step-description {
        font-size: 13px;
        line-height: 1.5;
    }
}
/* --- Mobile Only --- */
@media (max-width: 576px) {
    .title-with-lines::before,
    .title-with-lines::after {
        margin: 0 10px;
    }

    .btn-faq {
        font-size: 0.85rem !important;
        padding:6px 4px !important;
        flex:1;
    }

    .collapse-content {
        font-size: 0.85rem !important;
    }

    .step-item {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .col-lg-5.col-md-12 {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .step-item {
        flex: 1;
    }

    .step-text {
        color: #6d4c41;
        font-size: 0.7rem;
    }

    .img-wrapper img {
        width: 20%;
        margin: 0 auto;
    }

    .img-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .paketaciklama {
        font-size: 14px !important;
    }

    /* Marquee animation for mobile */
    .marquee-content {
        justify-content: flex-start;
        animation: scroll 15s linear infinite;
        min-width: auto;
        gap: 35px;
        padding-right: 35px;
    }

    .stat-icon {
        font-size: 30px;
    }

    .stat-text strong {
        font-size: 18px;
        font-weight: 500 !important;
        text-align: left !important;
    }

    .stat-text span {
        font-size: 14px;
    }

    .second-list {
        display: flex;
    }

    .marquee-wrapper {
        gap: 0;
    }
}

/* --- Animations --- */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
