@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    color: #3E3F5B;
}

.header {
    background: linear-gradient(135deg, #F6F1DE 0%, #e8e1c8 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8AB2A6;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link.active {
    font-weight: 600;
    color: #8AB2A6;
}

.nav-link.active:after {
    width: 100%;
}

.typing-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #3E3F5B;
}

.cursor {
    background-color: #8AB2A6;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.member-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.secondary-photo-container {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.member-photo-secondary {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.image-right {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-card-wrapper {
    flex: 1 1 300px;
    max-width: 360px;
}

/* Video Container Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .centered-card {
        margin-left: auto;
        margin-right: auto;
    }
    
    .video-content {
        max-width: 1200px;
        margin: 0 auto;
    }
}

div.spacer {
    font-size: 0; 
    height: 10px;
    line-height: 0;
}
/* Gallery Collage Styles */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landscape-1 {
    grid-column: span 2;
    grid-row: span 1;
}

.portrait {
    grid-column: span 2;
    grid-row: span 2;
}

.landscape-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.landscape-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.landscape-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.landscape-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.landscape-6 {
    grid-column: span 2;
    grid-row: span 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}