/* ============================================
   BIX KURUMSAL — Layout System
   ============================================ */

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--lg {
    max-width: var(--container-lg);
}

.container--sm {
    max-width: var(--container-sm);
}

/* ── Section ── */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section--dark {
    background: var(--bix-dark-gradient);
    color: var(--bix-white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.75);
}

.section--grey {
    background: var(--bix-off-white);
}

.section--orange {
    background: var(--bix-gradient);
    color: var(--bix-white);
}

/* ── Section Header ── */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-3xl);
}

.section-header__label {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    color: var(--bix-orange);
    margin-bottom: var(--space-md);
}

.section--dark .section-header__label {
    color: var(--bix-orange-light);
}

.section-header__title {
    margin-bottom: var(--space-lg);
}

.section-header__desc {
    font-size: var(--text-body-lg);
}

/* ── Grid System ── */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ── Flex Utilities ── */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    align-items: center;
    justify-content: space-between;
}

.flex-start {
    align-items: flex-start;
}

.flex-end {
    align-items: flex-end;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.gap-xl {
    gap: var(--space-xl);
}

.gap-2xl {
    gap: var(--space-2xl);
}

/* ── Text Utilities ── */
.text-center {
    text-align: center;
}

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

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

.text-white {
    color: var(--bix-white);
}

.text-orange {
    color: var(--bix-orange);
}

.text-muted {
    color: var(--bix-mid-grey);
}

/* ── Spacing Utilities ── */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

.mb-3xl {
    margin-bottom: var(--space-3xl);
}

.mt-xl {
    margin-top: var(--space-xl);
}

/* ── Split Layout (Preverisk Style) ── */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}

.split-layout__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.split-layout__panel--left {
    background: var(--bix-dark-gradient);
    color: var(--bix-white);
}

.split-layout__panel--right {
    background: linear-gradient(135deg, #1a3a2e 0%, #2d5a3e 100%);
    color: var(--bix-white);
}

/* ── Center Image Layout (GreenNest Inspired) ── */
.center-image-layout {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.center-image-layout__side {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.center-image-layout__center {
    width: 100%;
    height: 600px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.center-image-layout__center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .center-image-layout {
        grid-template-columns: 1fr;
    }

    .center-image-layout__center {
        order: -1;
        height: 400px;
    }
}

/* ── Footer Elements ── */
.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bix-white);
    margin-bottom: var(--space-lg);
    display: inline-block;
    text-decoration: none;
}

.footer-logo span {
    color: var(--bix-orange);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--bix-orange);
}

.footer-bottom {
    margin-top: var(--space-4xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-small);
}