/* Yeniro UI Fixes */

/* ================================================
   1. HEADER OVERFLOW FIX
   ================================================ */
header {
    overflow: hidden;
}

header .container-fluid {
    position: relative;
    z-index: 10;
}

/* Prevent decorative elements from overflowing */
.overflow-x {
    overflow-x: hidden;
}

/* ================================================
   2. QR CODE POSITIONING
   ================================================ */
.container-qr {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.qr-code {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ================================================
   2.5. PHONE SECTIONS CONSISTENCY
   ================================================ */

/* Common container styles for both sections */
section.section-home .container,
section.bg-green#waste .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

/* Common content styles */
section.section-home .content,
section.bg-green#waste .content {
    flex: 1 1 500px;
    max-width: 600px;
    min-width: 320px;
}

/* Phone container - exact same positioning */
section.section-home .phone-container,
section.bg-green#waste .col-12,
section.section-home > .container > img,
section.bg-green#waste img {
    flex: 0 0 280px;
    max-width: 280px !important;
    margin: 0 !important;
    display: block;
}

/* Lezzetli Fırsatlar Section specific */
section.bg-green#waste {
    padding: 60px 0 40px 0 !important;
}

section.bg-green#waste .col-12 {
    margin-top: 0 !important;
    margin-left: -80px !important;
    justify-content: flex-end !important;
}

section.bg-green#waste .col-12 img {
    margin: 0 !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    section.section-home .container,
    section.bg-green#waste .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    section.section-home .content,
    section.bg-green#waste .content {
        max-width: 100%;
    }

    section.section-home img,
    section.bg-green#waste img {
        max-width: 240px !important;
    }
}

/* ================================================
   3. SECTION SPACING CONSISTENCY
   ================================================ */
section {
    padding: 60px 0;
}

section.section-home {
    padding: 80px 0 40px 0 !important;
    min-height: auto !important;
}

section.section-home .container {
    padding-top: 20px;
}

section.section-marketing {
    padding: 60px 0;
}

section.section-row {
    padding: 60px 0;
}

/* Reduce excessive spacing between sections */
section + section {
    margin-top: 0;
}

/* ================================================
   4. CARD BORDER FIX
   ================================================ */
.card {
    border-width: 2px !important;
    border-style: solid;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Specific fix for "How it works" cards */
.feature,
.card-mission {
    border-width: 2px !important;
}

/* ================================================
   5. STATISTICS ALIGNMENT
   ================================================ */
.feature-statistic {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-statistic img {
    margin: 0 auto 16px auto;
    display: block;
}

.feature-statistic strong {
    display: block;
    margin-bottom: 8px;
}

.feature-statistic p {
    margin: 0;
}

/* ================================================
   6. MISSION CARDS CAROUSEL
   ================================================ */
#swiper-mission .swiper-wrapper {
    align-items: stretch;
}

#swiper-mission .swiper-slide {
    display: flex;
    align-items: stretch;
}

#swiper-mission .card-mission {
    width: 100%;
    margin: 0 auto;
}

.swiper-navigation {
    gap: 12px;
    margin-bottom: 20px;
}

.swiper-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button:hover {
    transform: scale(1.1);
}

/* ================================================
   7. ACCORDION CONSISTENCY
   ================================================ */
.accordion-button,
button[data-bs-toggle="collapse"] {
    border-radius: 12px !important;
    border: 2px solid #000;
    margin-bottom: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    transform: translateX(4px);
}

/* ================================================
   8. TYPOGRAPHY CONSISTENCY
   ================================================ */
h1 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

h3 {
    font-weight: 700;
    line-height: 1.4;
}

.paragraph {
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ================================================
   9. TEXT ALIGNMENT FIXES
   ================================================ */
.section-marketing .content {
    text-align: left;
}

@media (max-width: 991px) {
    .section-marketing .content {
        text-align: center;
    }
}

/* ================================================
   10. PHONE MOCKUP IMPROVEMENT
   ================================================ */
.phone-mockup {
    position: relative;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
}

/* ================================================
   11. RESPONSIVE IMPROVEMENTS
   ================================================ */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container-qr {
        bottom: 10px;
        right: 10px;
    }

    .qr-code {
        padding: 8px;
    }

    .qr-code img {
        max-width: 80px;
    }

    .qr-code strong {
        font-size: 12px;
    }
}

/* ================================================
   12. BUTTON CONSISTENCY
   ================================================ */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-rounded {
    border-radius: 50px;
}

/* ================================================
   13. SPACING UTILITIES
   ================================================ */
.gap-consistent {
    gap: 24px;
}

.mb-consistent {
    margin-bottom: 24px;
}

.mt-consistent {
    margin-top: 24px;
}
