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

/* Main Container */
.home-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #e7f4ec, #fdf6e3);
    color: #334e4c;
}

/* Full-Screen Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    object-fit: fill;
}

/* Music Control Icon */
.music-control-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

/* Overlay */
.overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 135, 112, 0.1), rgba(90, 135, 112, 0.8)), radial-gradient(circle at top left, rgba(255, 207, 207, 0.1), transparent 60%);
    backdrop-filter: saturate(250%);
    padding: 40px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}

.overlay:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 83, 68, 0.6);
    border-radius: 12px;
    z-index: -1;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.overlay .content {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Logo Section */
.logo {
    margin-top: 280px;
    transition: transform 0.4s ease-in-out, box-shadow 5s ease-in-out;
}

/* Hero Section */
.hero-title {
    font-size: 6.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: whitesmoke;
    animation: fadeInUp 2s ease-in-out;
    margin-top: -130px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #FFE2E2;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 2.5s ease-in-out;
}

.typing-animation {
    display: inline-block;
    font-weight: bold;
    color: rgb(255, 207, 207);
}

/* Call-to-Action Button */
.cta-button {
    font-size: 1.3rem;
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #FFDEE2, #FFCFDF);
    color: #5a8770;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 8px 20px rgba(255, 207, 207, 0.5);
}

.cta-button:hover {
    transform: scale(1.2);
    background: linear-gradient(90deg, #FFCFDF, #FFDEE2);
    box-shadow: 0px 10px 30px rgba(255, 207, 207, 0.8);
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255, 207, 207, 0.9);
}

/* Call-to-Action Title */
.cta-title {
    font-size: 1.5rem;
    color: #86A788;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(134, 167, 136, 0.8);
}

/* Call-to-Action Description */
.cta-description {
    font-size: 1.2rem;
    color: #FFEDE1;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(134, 167, 136, 0.5), 0 0 10px rgba(134, 167, 136, 0.8), 0 0 15px rgb(134, 167, 136, .8);
}

/* Secondary Button */
.cta-secondary-button {
    background-color: #86A788;
    color: #FFEDE1;
    border: none;
    border-radius: .15px;
    padding: 12px 28px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0px 8px 20px rgba(134, 167, 136, 0.5);
    transition: all 0.3s ease-in-out;
}

.cta-secondary-button:hover {
    background-color: rgba(134, 167, 136, 0.8);
    box-shadow: 0px 10px 30px rgba(134, 167, 136, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    .cta-title {
        font-size: 1.3rem;
    }
    .cta-description {
        font-size: 1rem;
    }
    .logo {
        width: 120px;
        /* Resize logo for medium screens */
    }
    .overlay {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        margin-top: -95px;
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .cta-title {
        font-size: 1.1rem;
    }
    .cta-description {
        font-size: 0.9rem;
    }
    .logo {
        margin-top: 70px;
        /* Resize logo for smaller screens */
    }
    .overlay {
        padding: 5px;
    }
    .music-control-icon {
        bottom: 10px;
        right: 10px;
    }
}
