@font-face {
    font-family: 'CMG Sans Bold';
    src: url('fonts/CMGSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'CMG Sans Medium';
    src: url('fonts/CMGSans-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'CMG Sans Black';
    src: url('fonts/CMGSans-Black.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: white;
    font-family: 'CMG Sans Medium', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.logo-container {
    margin-bottom: 4rem;
}

.icons {
    width: 120px;
    margin-bottom: 1.5rem;
}

.church-name {
    font-family: 'CMG Sans Black', sans-serif;
    font-size: 8.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    -webkit-text-stroke: 3px white;
}

.service-time {
    font-family: 'CMG Sans Bold', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.address {
    font-family: 'CMG Sans Medium', sans-serif;
    font-size: 1.2rem;
    opacity: 0.9;
}

.address-link {
    color: white;
    text-decoration: underline;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.address-link:hover {
    opacity: 0.7;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.events-section {
    text-align: left;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.events-section h2 {
    font-family: 'CMG Sans Bold', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.events-list {
    list-style: none;
}

.events-list li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.date {
    font-family: 'CMG Sans Bold', sans-serif;
}

.tagline {
    flex: 1;
    text-align: left;
    font-family: 'CMG Sans Black', sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.giving-link {
    font-family: 'CMG Sans Bold', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.giving-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-modal {
    display: none;
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: opacity 0.2s ease;
}

.image-modal img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.visible img {
    opacity: 1;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.video-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    z-index: 1;
}

#vimeo-player {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100vh;
    width: calc(100vh * 16/9);
    min-width: 100vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

#vimeo-player > div {
    width: 100% !important;
    height: 100% !important;
}

#vimeo-player iframe {
    width: 100% !important;
    height: 100% !important;
}

.video-background.active {
    opacity: 0.6;
}

.video-button {
    font-family: 'CMG Sans Bold', sans-serif;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem auto;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.video-button svg {
    width: 28px;
    height: 28px;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: calc(80vh * 16/9);
    height: 80vh;
    max-width: 95vw;
    max-height: 80vh;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 24px;
}

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

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        gap: 2rem;
    }

    .church-name {
        font-size: 4rem;
    }

    .service-time {
        font-size: 1.5rem;
    }

    .events-section {
        text-align: center;
    }

    .tagline {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .image-modal {
        display: none !important;
    }

    .video-background {
        display: none;
    }

    .video-modal-content {
        width: 95vw;
        height: calc(95vw * 9/16);
        max-height: 80vh;
    }
} 