/* Hero Sections Component Styles */
.main-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    background: #F9F8EF;
}

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-layout {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 40px;
    min-height: 507px;
}

/* Left Content Container */
.hero-left-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 120px 0 40px 0;
    color: #333231;
}

/* Trophy Badge */
.hero-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 6px 8px;
    background: #EDEBD8;
    border-radius: 360px;
    width: fit-content;
    align-self: stretch;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: #EDEBD8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-icon {
    width: 22.5px;
    height: 18px;
}

.badge-text {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: #333231;
    padding: 0 6px;
}

/* Main Heading */
.hero-heading {
    font-family: 'Fira Sans', sans-serif;
    font-size: 52px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.52px;
    color: #333231;
    margin: 0;
    font-family: "Fira Sans";
    font-style: normal;
}

.changing-word {
    color: #3E7B51;
    transition: opacity 0.5s ease-in-out;
}

/* Subheading */
.hero-subheading {
    font-family: 'Fira Sans', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: #6E6C6A;
    margin: 0;
    font-size: 20px;
    font-style: normal;
}

/* User List */
.hero-userlist {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 360px;
    width: fit-content;
}

.userlist-avatars {
    display: flex;
    align-items: center;
    gap: -8px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #F9F8EF;
    margin-left: -8px;
}

.user-avatar:first-child {
    margin-left: 0;
}

.userlist-text {
    font-family: 'Fira Sans', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    color: #6E6C6A;
    padding: 0 8px;
}

/* CTA Button */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #3E7B51;
    color: #FFFFFF;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button-text {
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    line-height: 1.375;
    font-weight: 600;
    letter-spacing: 2%;
    text-transform: uppercase;
}

.button-arrow {
    width: 17.2px;
    height: 14.4px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(62, 123, 81, 0.25);
}

/* Hero Image */
.hero-image {
    position: absolute;
    
    top: 50px;
    width: 45vw;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    padding-top: 0;
    padding-right: 0;
    margin-right: 0;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 40px 0 0 40px;
}

.hero-main-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center right;
    display: block;
    border-radius: 40px 0 0 40px;
}

/* Large screens - ensure border radius works */
@media (min-width: 993px) {
    .hero-image {
        border-radius: 40px 0 0 40px !important;
        overflow: hidden !important;
    }
    
    .hero-main-image {
        border-radius: 40px 0 0 40px !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-image {
        /* Görselin metinden önce gelmesini istemiyoruz (Figma: içerikten sonra) */
        order: initial;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 16px;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    
    .hero-heading {
        font-size: 40px;
        text-align: left;
        letter-spacing: -0.01em;
    }
    
    .hero-subheading {
        font-size: 15px;
        text-align: left;
    }
    
    .hero-image {
        height: 262px;
        border-radius: 16px;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    
    .hero-main-image {
        border-radius: 16px;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-left-content {
        gap: 32px;
        padding: 40px 0;
        align-items: flex-start;
        text-align: left;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }

    /* Mobil başlangıç: section içi üst padding'i kaldır, iç boşluğu içerik bloğu sağlar */
    .main-hero {
        padding: 0 0 32px;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }

    .hero-badge {
        justify-content: center;
        align-self: flex-start;
        width: auto;
    }

    .badge-text {
        font-size: 18px;
    }

    .userlist-text {
        font-size: 14px;
    }

    .hero-userlist {
        align-items: center;
        text-align: left;
    }

    .hero-cta {
        align-items: center;
        text-align: left;
    }

    .cta-button {
        max-width: none;
        width: auto;
        padding: 16px;
        justify-content: center;
    }

    .button-text {
        letter-spacing: 0.02em; /* Figma: % karşılığı 0.02em */
    }
}

@media (max-width: 480px) {
    /* Section üst padding'ini 0 yaparak fixed header+banner ile çakışmayı önle */
    .main-hero {
        padding: 0 0 24px;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    
    .hero-container {
        padding: 0 16px;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    
    .hero-left-content {
        gap: 32px;
        padding: 40px 0;
        align-items: flex-start;
        text-align: left;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    
    .hero-heading {
        font-size: 40px;
        line-height: 1.3;
        letter-spacing: -0.01em;
        text-align: left;
    }
    
    .hero-subheading {
        font-size: 15px;
        line-height: 1.5;
        text-align: left;
    }
    
    .hero-image {
        height: 262px;
        border-radius: 16px;
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }
    
    .hero-main-image {
        border-radius: 16px;
        max-width: 100%;
        width: 100%;
    }
    
    .badge-text {
        font-size: 18px;
    }

    .userlist-text {
        font-size: 14px;
    }

    .cta-button {
        width: auto;
        padding: 16px;
    }

    .button-text {
        font-size: 16px;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }
}
    
    .userlist-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px;
    }
    
    .button-text {
        font-size: 14px;
    }
/* Remove extra closing brace that doesn't match any opening brace */

/* Tablet görünümü için header overlap önleme (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-hero {
    padding-top: 130px !important; /* Header height + extra padding */
    
  }
  
  
}

/* Tablet ve küçük ekranlar için düzenlemeler (<=992px) - Figma uyumu */
@media (max-width: 992px) {
  .hero-layout {
    flex-direction: column;
    min-height: auto;
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
  }
  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100vw;
    height: 320px; /* Tablet için biraz daha yüksek bırak */
    margin: 0;
    border-radius: 20px;
    justify-content: center;
    overflow-x: hidden !important;
  }
  .hero-heading {
    font-size: 40px; /* Figma: 40px */
  }
  .hero-left-content {
    width: 100%;
    max-width: 100vw;
    gap: 32px;
    padding: 40px 0;
    align-items: flex-start;
    text-align: left;
    overflow-x: hidden !important;
  }
}
