/*
 * BSG Consistent Section Styles
 * Ensures all sections across the website have consistent styling
 */

/* ===== SECTION CONTAINER STYLES ===== */
.bsg-section {
    padding: 80px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.bsg-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===== SECTION HEADER STYLES ===== */
.bsg-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.bsg-section-header .tagline {
    display: inline-block;
    background: #2ee6c5;
    color: #ffffff;
    padding: 4px 18px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.bsg-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 1rem 0;
}

.bsg-section-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TWO COLUMN LAYOUT ===== */
.bsg-two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bsg-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bsg-text-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.bsg-text-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.bsg-text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.bsg-content-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.bsg-content-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== CARD STYLES ===== */
.bsg-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.bsg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bsg-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1f2937;
}

.bsg-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ===== ICON STYLES ===== */
.bsg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2ee6c5;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

.bsg-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    stroke-width: 2.5;
}

/* ===== BUTTON STYLES ===== */
.bsg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: #2ee6c5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.bsg-button:hover {
    background: #22d3aa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.bsg-button-secondary {
    background: transparent;
    color: #2ee6c5;
    border: 2px solid #2ee6c5;
}

.bsg-button-secondary:hover {
    background: #2ee6c5;
    color: #ffffff;
}

/* ===== GRID LAYOUTS ===== */
.bsg-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.bsg-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bsg-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ===== CAROUSEL STYLES ===== */
.bsg-carousel {
    position: relative;
    overflow: hidden;
}

.bsg-carousel-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #2ee6c5 #e5e7eb;
}

.bsg-carousel-container::-webkit-scrollbar {
    height: 8px;
}

.bsg-carousel-container::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.bsg-carousel-container::-webkit-scrollbar-thumb {
    background: #2ee6c5;
    border-radius: 10px;
}

.bsg-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #2ee6c5;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bsg-carousel-arrow:hover {
    background: #22d3aa;
    transform: translateY(-50%) scale(1.1);
}

.bsg-carousel-arrow.left {
    left: -20px;
}

.bsg-carousel-arrow.right {
    right: -20px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .bsg-section {
        padding: 60px 0;
    }
    
    .bsg-section .container {
        padding: 0 20px;
    }
    
    .bsg-section-header h2 {
        font-size: 2rem;
    }
    
    .bsg-two-col-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bsg-grid-2,
    .bsg-grid-3,
    .bsg-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bsg-carousel-arrow {
        display: none;
    }
    
    .bsg-carousel-container {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .bsg-section {
        padding: 40px 0;
    }
    
    .bsg-section-header h2 {
        font-size: 1.8rem;
    }
    
    .bsg-card {
        padding: 1.5rem;
    }
    
    .bsg-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        min-width: 150px;
    }
}

/* ===== UTILITY CLASSES ===== */
.bsg-text-center {
    text-align: center;
}

.bsg-text-left {
    text-align: left;
}

.bsg-text-right {
    text-align: right;
}

.bsg-mb-0 { margin-bottom: 0; }
.bsg-mb-1 { margin-bottom: 1rem; }
.bsg-mb-2 { margin-bottom: 2rem; }
.bsg-mb-3 { margin-bottom: 3rem; }

.bsg-mt-0 { margin-top: 0; }
.bsg-mt-1 { margin-top: 1rem; }
.bsg-mt-2 { margin-top: 2rem; }
.bsg-mt-3 { margin-top: 3rem; }

/* ===== ANIMATION CLASSES ===== */
.bsg-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.bsg-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.bsg-slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.bsg-slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.bsg-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.bsg-slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
