/* Join Section Styles */
.join-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.join-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.join-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 60px;
    align-items: center;
}

/* Layout Variations */
.join-layout-text-left .join-content {
    grid-template-columns: 1fr 1fr;
}

.join-layout-text-right .join-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.join-layout-text-right .join-text {
    direction: ltr;
}

.join-layout-centered .join-content {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-layout-split .join-content {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.join-layout-split .join-text {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin: -60px 0;
}

.join-layout-split .join-title,
.join-layout-split .join-description,
.join-layout-split .feature-text {
    color: #2c3e50 !important;
}

/* Join Text */
.join-text {
    animation: fadeInLeft 0.8s ease-out;
}

.join-layout-text-right .join-text {
    animation: fadeInRight 0.8s ease-out;
}

.join-layout-centered .join-text {
    animation: fadeInUp 0.8s ease-out;
}

.join-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.join-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.join-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Features */
.join-features {
    margin-bottom: 40px;
}

.join-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out;
}

.join-feature:nth-child(1) { animation-delay: 0.1s; }
.join-feature:nth-child(2) { animation-delay: 0.2s; }
.join-feature:nth-child(3) { animation-delay: 0.3s; }

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Buttons */
.join-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.join-btn:hover::before {
    left: 100%;
}

.join-btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.join-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.join-btn-secondary {
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.join-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Image */
.join-image {
    animation: fadeInRight 0.8s ease-out;
}

.join-layout-text-right .join-image {
    animation: fadeInLeft 0.8s ease-out;
}

.join-layout-centered .join-image {
    animation: fadeInUp 0.8s ease-out;
}

.join-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.join-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.join-image-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .join-title {
        font-size: 2.2rem;
    }
    
    .join-layout-split .join-content {
        grid-template-columns: 1fr;
    }
    
    .join-layout-split .join-text {
        margin: 0;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .join-section {
        padding: 60px 0;
    }
    
    .join-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }
    
    .join-layout-text-right .join-content {
        direction: ltr;
    }
    
    .join-title {
        font-size: 2rem;
    }
    
    .join-description {
        font-size: 1.1rem;
    }
    
    .join-actions {
        justify-content: center;
    }
    
    .join-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .join-image img {
        transform: none;
    }
    
    .join-image img:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .join-section {
        padding: 40px 0;
    }
    
    .join-title {
        font-size: 1.8rem;
    }
    
    .join-description {
        font-size: 1rem;
    }
    
    .join-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .join-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .join-feature {
        justify-content: center;
        text-align: left;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .join-layout-split .join-text {
        background: rgba(44, 62, 80, 0.95);
    }
    
    .join-layout-split .join-title,
    .join-layout-split .join-description,
    .join-layout-split .feature-text {
        color: #ecf0f1 !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .join-text,
    .join-image,
    .join-feature,
    .join-btn,
    .join-image img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .join-btn::before {
        display: none;
    }
}