/* ============================================
   TEAM PAGE — LIGHT GLASS PRO MAX DESIGN
   ============================================ */

/* ---------- Original Hero Section ---------- */
.team-hero-slider {
    position: relative;
    min-height: 800px;
    height: 100vh;
    overflow: hidden;
    background-color: #f5f5f3;
}

.team-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: -70px;
    padding-bottom: 240px;
}

.team-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.team-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.team-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.team-hero-logo-overlay {
    position: relative;
    z-index: 2;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-hero-logo-overlay img {
    width: 200px;
    max-width: 80vw;
    height: auto;
    display: block;
    opacity: 0.8;
}

@media (max-width: 991px) {
    .team-hero-slider {
        min-height: 620px;
        height: 85vh;
    }
}

@media (max-width: 767px) {
    .team-hero-slider {
        min-height: 520px;
        height: 78vh;
    }
}


/* ---------- Background & Setup ---------- */
.team-premium-content {
    position: relative;
    background-color: #f7f9f6; /* Very light subtle green/gray */
    padding: 0;
}

/* Ambient Blooming Blobs */
.glass-ambient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: blobFloat 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: 5%;
    left: -5%;
    width: 800px;
    height: 800px;
    background: #445E45;
    animation-delay: 0s;
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: #BC945C;
    animation-delay: -5s;
}

.blob-3 {
    bottom: 10%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: #d4e0d4;
    animation-delay: -10s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 80px) scale(1.1); }
}


/* ---------- Shared Glass Classes ---------- */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1200px;
}

.glass-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #BC945C, transparent);
    margin: 25px 0;
    border-radius: 2px;
}
.center-divider {
    margin: 25px auto;
    background: linear-gradient(90deg, transparent, #BC945C, transparent);
}


/* ---------- Intro Section ---------- */
.team-intro-premium {
    position: relative;
    z-index: 2;
    padding-top: 30px;
    padding-bottom: 30px;
}

.intro-glass-card {
    display: flex;
    justify-content: center;
}

.intro-glass-inner {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 60px 80px;
    text-align: center;
    transform: translateZ(40px); /* Pops off screen */
}

.premium-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 65px);
    color: #445E45;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
    text-transform: uppercase;
}

.intro-text {
    font-size: 18px;
    line-height: 1.9;
    color: #4a544a;
    margin: 0;
}


/* ---------- Culture Section ---------- */
.team-culture-premium {
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

.culture-grid-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.culture-text-glass {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    transform: translateZ(30px);
}

.section-title-glass {
    font-family: var(--font-heading);
    font-size: clamp(35px, 4vw, 55px);
    color: #2c3629;
    margin: 0;
}

.culture-text-glass p {
    font-size: 17px;
    line-height: 1.9;
    color: #4a544a;
    margin-bottom: 20px;
}

.culture-visuals-3d {
    position: relative;
    height: 600px;
}

.culture-glass-img {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    padding: 15px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 55px rgba(0,0,0,0.08);
}

.culture-glass-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.primary-img {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 2;
    transform: translateZ(50px);
}

.secondary-img {
    width: 65%;
    height: 65%;
    bottom: 0;
    right: 0;
    z-index: 3;
    transform: translateZ(80px);
}


/* ---------- Director Section ---------- */
.team-director-premium {
    position: relative;
    z-index: 2;
    padding: 30px 0 30px;
}

.director-glass-container {
    display: flex;
    justify-content: center;
}

.director-glass-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    box-shadow: 0 35px 80px rgba(0,0,0,0.06), inset 0 0 0 2px rgba(255,255,255,0.5);
}

.director-glass-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 70px 80px;
    transform: translateZ(60px); /* 3D pop */
    align-items: center;
}

.director-content {
    transform: translateZ(30px);
}

.director-name {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #2c3629;
    margin: 0 0 10px;
}

.director-role-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(188, 148, 92, 0.15);
    border: 1px solid rgba(188, 148, 92, 0.4);
    border-radius: 30px;
    color: #BC945C;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.director-bio {
    font-size: 16px;
    line-height: 1.9;
    color: #4a544a;
    margin-bottom: 30px;
}

.director-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.glass-tag {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255,255,255,0.9);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    color: #445E45;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.director-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    transform: translateZ(80px);
}

.director-image-glass {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.director-image-glass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Floating aesthetic orbs around director */
.floating-glass-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 3;
}

.orb-1 {
    width: 80px;
    height: 80px;
    top: 20px;
    right: -20px;
    animation: floatOrb 4s ease-in-out infinite;
}

.orb-2 {
    width: 50px;
    height: 50px;
    bottom: 40px;
    left: -10px;
    animation: floatOrb 5s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}


/* ---------- Media Queries ---------- */
@media (min-width: 2560px) {
    .intro-glass-inner { max-width: 1200px; padding: 100px; }
    .premium-title { font-size: 100px; }
    .intro-text { font-size: 24px; }
    .culture-text-glass { padding: 100px; }
    .section-title-glass { font-size: 70px; }
    .culture-text-glass p { font-size: 24px; line-height: 2; }
    .culture-visuals-3d { height: 800px; }
    .director-glass-inner { padding: 100px; gap: 80px; }
    .director-name { font-size: 60px; }
    .director-bio { font-size: 22px; line-height: 2; }
    .director-image-glass { width: 500px; height: 500px; }
    .glass-tag { font-size: 18px; padding: 10px 24px; }
}

@media (max-width: 1199px) {
    .culture-grid-3d { gap: 40px; }
    .director-glass-inner { padding: 50px 40px; gap: 30px; }
    .director-image-glass { width: 340px; height: 340px; }
}

@media (max-width: 991px) {
    .intro-glass-inner { padding: 50px 40px; }
    .culture-grid-3d { grid-template-columns: 1fr; }
    .culture-visuals-3d { height: 500px; margin-bottom: 40px; order: -1; }
    .primary-img { left: 10%; }
    .secondary-img { right: 10%; }
    .director-glass-inner { grid-template-columns: 1fr; text-align: center; }
    .director-image-wrapper { justify-content: center; order: -1; margin-bottom: 30px; }
    .director-tags { justify-content: center; }
    .center-divider { margin: 20px auto; }
}

@media (max-width: 767px) {
    .team-premium-content { padding: 60px 0; }
    .intro-glass-inner { padding: 40px 25px; border-radius: 20px; }
    .culture-text-glass { padding: 40px 25px; border-radius: 20px; }
    .culture-visuals-3d { height: 350px; }
    .director-glass-inner { padding: 40px 25px; }
    .director-glass-card { border-radius: 25px; }
    .director-image-glass { width: 260px; height: 260px; }
    .director-name { font-size: 32px; }
}

@media (max-width: 480px) {
    .culture-visuals-3d { height: 280px; }
    .director-image-glass { width: 220px; height: 220px; }
    .orb-1, .orb-2 { display: none; }
}
