/* ========================================
   INTERAKSIYON CUSTOM STYLES
   Tüm sayfaların inline style'ları buraya taşındı
======================================== */

/* ========================================
   CSS VARIABLE SYSTEM - Design Tokens
======================================== */
:root {
    --container: 1180px;      /* page width */
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 40px;
    --space-7: 56px;          /* section default */
    --space-8: 72px;          /* section large */
}

/* ========================================
   LOGO RESPONSIVE RULES
======================================== */
.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

@media (max-width: 1199.98px) {
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block !important;
        max-height: 55px !important;
    }
    
    .header-logo img {
        max-height: 55px !important;
    }
}

@media (max-width: 575.98px) {
    .logo-mobile {
        max-height: 45px !important;
    }
    
    .header-logo img {
        max-height: 45px !important;
    }
}

/* ========================================
   BLOG SECTION MOBILE IMPROVEMENTS
======================================== */

/* Mobile: Sadece 1 blog göster */
@media (max-width: 767.98px) {
    .blog-section .row.g-4 {
        gap: 1.5rem !important;
    }
    
    /* İlk blog haricindeki tüm blogları gizle */
    .blog-section .col-md-6.col-lg-4:not(:first-child) {
        display: none !important;
    }
    
    /* İlk blog kartını mobilde tam genişlik yap */
    .blog-section .col-md-6.col-lg-4:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .team-items .thumb img {
        height: 180px !important;
    }
    
    .team-items .content {
        padding-top: 1rem;
    }
    
    .team-items .content h5 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* Mobil blog butonu styling */
    .theme-btn.mx-auto {
        display: inline-flex !important;
        align-items: center;
        gap: 12px;
        padding: 14px 24px;
        font-weight: 600;
        font-size: 15px;
    }
}

/* Tablet: 2-3 blog göster */
@media (min-width: 768px) and (max-width: 991.98px) {
    .blog-section .col-md-6.col-lg-4:nth-child(3) {
        display: block;
    }
}

/* Large: Tüm blogları göster */
@media (min-width: 992px) {
    .blog-section .col-md-6.col-lg-4 {
        display: block !important;
    }
}

/* Desktop için mobil butonunu gizle */
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
}

/* ========================================
   1) CONTAINER + CENTER ALIGNMENT
======================================== */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

/* ========================================
   2) SECTION SPACING SYSTEM
======================================== */
.section { 
    padding-block: var(--space-7); 
}
.section--tight { 
    padding-block: var(--space-5); 
}
.section--loose { 
    padding-block: var(--space-8); 
}

/* ========================================
   3) PREVENT CHILD MARGIN COLLAPSE
======================================== */
.section > *:first-child { 
    margin-top: 0 !important; 
}
.section > *:last-child { 
    margin-bottom: 0 !important; 
}

/* ========================================
   4) HEADING MARGIN SYSTEM
======================================== */
h1, h2, h3 { 
    line-height: 1.15; 
}
h1 { 
    margin: 0 0 var(--space-4);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}
h2 { 
    margin: 0 0 var(--space-3);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
h3 { 
    margin: 0 0 var(--space-2);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ========================================
   5) CARD GRID SYSTEM
======================================== */
.cards { 
    gap: var(--space-4); 
}
.card {
    border-radius: 16px;
    padding: var(--space-4);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.card img { 
    display: block; 
    width: 100%; 
    border-radius: 12px; 
}

/* ========================================
   6) SUBTLE SECTION DIVIDERS
======================================== */
.section--divider {
    position: relative;
}
.section--divider::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    transform: translateY(0.5px);
}

/* ========================================
   7) HERO + PRODUCT BLOCKS
======================================== */
.hero { 
    padding-block: var(--space-6); 
}
.product-block { 
    padding-block: var(--space-6); 
}

/* ========================================
   8) BLOG + CONTACT SECTIONS
======================================== */
.blog, .contact { 
    padding-block: var(--space-5); 
}

/* ========================================
   9) MOBILE RESPONSIVE SPACING
======================================== */
@media (max-width: 992px) {
    .section { 
        padding-block: var(--space-6); 
    }
    .hero, .product-block, .blog, .contact { 
        padding-block: var(--space-5); 
    }
}
@media (max-width: 640px) {
    .section { 
        padding-block: var(--space-5); 
    }
}

/* ========================================
   10) STEPS GRID LAYOUT
======================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
.steps .step {
    padding: var(--space-4);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
@media (max-width: 992px) {
    .steps { 
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media (max-width: 520px) {
    .steps { 
        grid-template-columns: 1fr; 
    }
}

/* ========================================
   11) PARAGRAPH SPACING
======================================== */
p { 
    margin: 0 0 var(--space-3); 
}
.lead { 
    font-size: 1.125rem; 
    margin-bottom: var(--space-4); 
}

/* ========================================
   12) SMOOTH ANCHOR SCROLLING
======================================== */
:target { 
    scroll-margin-top: 96px; 
}

/* ========================================
   13) GRADIENT SECTION BREAKS
======================================== */
.section--fade {
    background: linear-gradient(180deg, rgba(133, 214, 186, 0.14), rgba(133, 214, 186, 0.04) 42%, transparent 100%);
}

/* ========================================
   SERVICE CARD STYLES
======================================== */

/* Enhanced Service Card Hover Effects */
.service-items1 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.service-items1:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(28, 75, 66, 0.15);
}

/* Culture Card - Mint Shadow */
.service-items1:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(133, 214, 186, 0.25), 0 10px 20px rgba(133, 214, 186, 0.15);
}

/* Communication Card - Coral/Gold Shadow */
.service-items1:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(133, 214, 186, 0.25), 0 10px 20px rgba(133, 214, 186, 0.15);
}

/* Events Card - Purple/Blue Shadow */
.service-items1:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(103, 58, 183, 0.2), 0 10px 20px rgba(103, 58, 183, 0.12);
}

/* Service Icon Animation */
.service-items1 .service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-items1:hover .service-icon {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image Zoom Effect */
.service-items1 .thumb {
    position: relative;
    overflow: hidden;
}
.service-items1 .thumb img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.06) contrast(1.02);
}
.service-items1:hover .thumb img {
    transform: scale(1.08);
}

/* Arrow Button Bounce */
.service-items1 .d-center i {
    transition: transform 0.3s ease;
}
.service-items1:hover .d-center i {
    transform: translateX(0px);
}

/* Thumb Overlay */
.service-items1 .thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(133, 214, 186, 0);
    transition: background 0.3s ease;
    border-radius: 0 0 1rem 1rem;
}
.service-items1:hover .thumb::after {
    background: rgba(133, 214, 186, 0.06);
}

/* Alternating background colors for service cards */
.service-card-container .col-md-6:nth-child(even) .service-card,
.service-card-container .col-12:nth-child(even) .service-card {
    background-color: #f4fbf8 !important;
}

/* ========================================
   PROCESS SECTION STYLES
======================================== */
.process-section {
    padding: 40px 0;
}

.process-section .step {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.process-section .step:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: #ffffff;
}

/* Icon Pulse Animation on Hover */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.process-section .step:hover .icon-wrapper {
    animation: pulse 1.5s ease-in-out infinite;
}

.process-section .icon-wrapper {
    transition: all 0.3s ease;
}

/* Connector Lines */
.process-section .connector {
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .process-section {
        padding: 30px 0;
    }
    .process-section .step {
        padding: 25px 15px;
    }
}

/* ========================================
   BLOG CARD STYLES
======================================== */
.team-items {
    transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.team-items .thumb {
    position: relative;
    overflow: hidden;
}

.team-items .thumb img {
    transition: all 0.4s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.team-items:hover .thumb img {
    filter: brightness(0.85) saturate(1.1);
    transform: scale(1.02);
}

/* Mint overlay on hover */
.team-items .thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(133, 214, 186, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-items:hover .thumb::after {
    opacity: 1;
}

.team-items:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(28, 75, 66, 0.15);
}

/* Blog card content alignment */
.team-items .content {
    align-items: flex-start !important;
}

.team-items .content h5 {
    min-height: 60px;
}

/* ========================================
   FAQ ACCORDION STYLES
======================================== */
.accordion-button {
    position: relative;
}

.accordion-button::after {
   /* content: '\f078';*/
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    transition: transform 0.3s ease;
    color: #1c4b42;
    font-size: 14px;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #1c4b42;
    box-shadow: none;
}

.accordion-item {
    border: none !important;
}

.accordion-body {
    background-color: #f8f9fa;
}

/* ========================================
   BUTTON STYLES
======================================== */
.theme-btn.style1 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-btn.style1:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(14, 59, 46, 0.16);
}

/* ========================================
   VALUE PROPOSITION CARDS
======================================== */
.choose-items {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    padding: 1.5rem;
}
.choose-items:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Images Enhancement */
.choose-thumb-wrap img {
    filter: brightness(1.04) contrast(1.02);
}

/* ========================================
   HOW IT WORKS CARDS
======================================== */
.how-it-works-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}
.how-it-works-card .icon-wrapper {
    transition: transform 0.3s ease;
}
.how-it-works-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   FORM INPUTS
======================================== */
.contact-form .form-control:focus {
    border-color: #85D6BA !important;
    box-shadow: 0 0 0 0.2rem rgba(133, 214, 186, 0.25) !important;
    outline: none;
}

/* ========================================
   SECTION BACKGROUNDS
======================================== */
.section-bg {
    background: linear-gradient(180deg, #f8fdfb 0%, #ffffff 100%);
}

/* Section Spacing */
section {
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.section-bg::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(133, 214, 186, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================
   INFO CARDS ANIMATION
======================================== */
.info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ========================================
   HERO IMAGE ENHANCEMENT
======================================== */
.hero-thumb1 {
    position: relative;
}
.hero-thumb1::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(ellipse at center, 
        rgba(133, 214, 186, 0.12) 0%, 
        rgba(240, 249, 247, 0.08) 40%, 
        transparent 70%);
    z-index: -1;
    filter: blur(30px);
}
.hero-thumb1 img {
    position: relative;
    z-index: 1;
}

/* ========================================
   PULSE SECTION POLISH
======================================== */
#pulse {
    background: linear-gradient(180deg, #F4FBF9 0%, #FFFFFF 70%);
    padding-block: 40px;
    position: relative;
}

#pulse::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

#pulse .pulse-card {
    max-width: 920px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(14, 59, 46, 0.08);
    padding: 32px;
    position: relative;
}

#pulse .pulse-card .accent {
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, #85D6BA, #85D6BA);
    margin: -22px -22px 20px -22px;
}

#pulse .pulse-card h3,
#pulse .pulse-card h4 {
    margin: 0 0 16px;
    line-height: 1.2;
    color: #1c4b42;
    font-size: 26px;
    font-weight: 700;
}
#pulse .pulse-card p {
    margin: 0 0 14px;
    line-height: 1.7;
    color: #1c4b42;
}

#pulse .badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
#pulse .badge {
    background: #F7FBFA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: #1c4b42;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#pulse .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#pulse .cta-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
#pulse .btn-primary {
    background: #0E3B2E;
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #0E3B2E;
    display: inline-flex;
    align-items: center;
}
#pulse .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 59, 46, 0.25);
    background: #1c4b42;
}
#pulse .btn-ghost {
    background: #fff;
    border: 2px solid rgba(28, 75, 66, 0.2);
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
#pulse .btn-ghost:hover {
    border-color: #1c4b42;
    background: rgba(28, 75, 66, 0.04);
    transform: translateY(-2px);
}

#pulse + .section {
    padding-block: 32px;
}

/* Mobile tuning */
@media (max-width: 768px) {
    #pulse {
        padding-block: 28px;
    }
    #pulse .pulse-card {
        padding: 24px;
    }
    #pulse .pulse-card h3 {
        font-size: 22px;
    }
    #pulse .cta-row {
        flex-direction: column;
    }
    #pulse .btn-primary,
    #pulse .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   LANGUAGE SWITCHER STYLES
======================================== */
.lang-switcher {
    margin-left: 20px;
}

.lang-link {
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #1c4b42;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.lang-link:hover {
    background: rgba(133,214,186,0.15);
    color: #1c4b42;
    transform: translateY(-1px);
}

.lang-link.active {
    background: rgba(133,214,186,0.2);
    color: #1c4b42;
    font-weight: 600;
}

.lang-switcher span {
    color: rgba(28, 75, 66, 0.3);
    font-weight: 300;
}

/* ========================================
   MOBILE MENU & BREADCRUMB
======================================== */
/* Hide breadcrumb boxes on mobile */
@media (max-width: 767px) {
    .breadcrumb-banner .boxes {
        display: none !important;
    }
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1c4b42;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 1199px) {
    .mobile-menu-toggle {
        display: block;
    }
}
