/* ============================================================
   BTW - Banner Transparency Widget - Styles
   ============================================================ */

.btw-banner {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 500px;
    width: 100%;
}

/* Overlay layers */
.btw-overlay,
.btw-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Inner container */
.btw-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

/* Layout variants */
.btw-layout-text-only .btw-inner,
.btw-layout-text-left .btw-inner,
.btw-layout-text-right .btw-inner { justify-content: center; }
.btw-layout-text-right .btw-text-col { margin-left: auto; }
.btw-layout-text-only .btw-text-col { width: 100%; text-align: center; }
.btw-layout-text-only .btw-buttons  { justify-content: center !important; }

.btw-layout-text-left-person .btw-inner,
.btw-layout-text-right-person .btw-inner,
.btw-layout-split-equal .btw-inner  { justify-content: space-between; }

.btw-layout-split-equal .btw-text-col { flex: 0 0 50% !important; }

/* Text column */
.btw-text-col { flex: 1 1 auto; }

/* Person/image column */
.btw-person-col {
    display: flex;
    align-items: flex-end;
    flex: 1 1 auto;
}
.btw-person-col.btw-person-right { justify-content: flex-end; }
.btw-person-col.btw-person-left  { justify-content: flex-start; }
.btw-person-col.btw-person-center{ justify-content: center; }

.btw-person-img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Text elements */
.btw-pretitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #c9a84c;
}

.btw-title {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
}

.btw-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 28px;
    color: #e0e0e0;
}

/* Buttons row */
.btw-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
}

/* Button base */
.btw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
    white-space: nowrap;
}

.btw-btn:hover { transform: translateY(-2px); }
.btw-btn:active { transform: translateY(0); }

/* Button 1 */
.btw-btn-1 {
    background-color: #f0a500;
    color: #1a1a1a;
    border: 2px solid transparent;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 1rem;
}

/* Button 2 outline */
.btw-btn-2.btw-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 1rem;
}
.btw-btn-2.btw-outline:hover { background-color: rgba(255,255,255,0.15); }

/* Button 2 solid */
.btw-btn-2.btw-solid {
    border: 2px solid transparent;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 1rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.btw-animate {
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes btw-fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes btw-fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes btw-fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes btw-zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes btw-slideInUp {
    from { opacity: 0; transform: translateY(80px); }
    to   { opacity: 1; transform: translateY(0); }
}

.btw-animate.btw-fadeInUp    { animation-name: btw-fadeInUp; }
.btw-animate.btw-fadeInLeft  { animation-name: btw-fadeInLeft; }
.btw-animate.btw-fadeInRight { animation-name: btw-fadeInRight; }
.btw-animate.btw-zoomIn      { animation-name: btw-zoomIn; }
.btw-animate.btw-slideInUp   { animation-name: btw-slideInUp; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .btw-animate { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .btw-inner {
        flex-direction: column;
    }
    .btw-person-col {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    .btw-person-img { width: 70% !important; }
    .btw-text-col {
        flex: 0 0 100% !important;
        text-align: center !important;
    }
    .btw-buttons { justify-content: center !important; }
    .btw-layout-text-right .btw-text-col { margin-left: 0; }
}

@media (max-width: 480px) {
    .btw-buttons { flex-direction: column; align-items: center; }
    .btw-btn { width: 100%; justify-content: center; }
}
