/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Body */
body {
    background-color: #3c3842;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: transparent;
    border: 2px solid #ffffff88;
    color: #ffffffcc;
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-button:hover {
    background-color: #ffffff22;
    color: #ffffff;
    border-color: #fff;
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background-color: #3c3842;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Image */
.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Overlay Title */
.overlay-title {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffffde;
    font-weight: bold;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    z-index: 3;
    animation: titleFadeIn 1.5s ease-out;
    text-align: center;
    padding: 0 1rem;
}

/* Split Title Styling */
.overlay-title .title1 {
    display: inline-block;
}

.overlay-title .title2 {
    display: inline-block;
    margin-left: 6ch;
}

/* Coming Soon Text */
.coming-soon-text {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 1.5s ease-out;
    z-index: 3;
    padding: 0 1rem;
    max-width: 90%;
    word-wrap: break-word;
}

.coming-soon-text h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.coming-soon-text p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #ccc;
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 20%;
    z-index: 2;
    pointer-events: none;
}

.gradient-overlay.top {
    top: 0;
    background: linear-gradient(to bottom, #3c3842, transparent);
}

.gradient-overlay.bottom {
    bottom: 0;
    background: linear-gradient(to top, #3c3842, transparent);
}

/* Mail jet Styling  */
.mailjet-iframe {
    position: absolute;
    top: 70%;
    left: 51.5%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    height: 50px;
    width: 300px; 
    z-index: 5;
}

.mailjet-iframe:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .image-container {
        width: 100%;
        height: 100vh;
    }

    .overlay-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .overlay-title .title2 {
        margin-left: 8ch;
    }

    .coming-soon-text h2 {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .coming-soon-text p {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }

    .back-button {
        font-size: 0.9rem;
        padding: 6px 12px;
        top: 10px;
        left: 10px;
    }

    .trigger-button {
        top: 50px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1199px) {
    .image-container {
        width: 80%;
        height: auto;
    }

    .overlay-title {
        font-size: clamp(2rem, 5vw, 3.2rem);
    }

    .overlay-title .title2 {
        margin-left: 5ch;
    }

    .coming-soon-text h2 {
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    }

    .coming-soon-text p {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }
}

/* Desktop Devices */
@media (min-width: 1200px) {
    .image-container {
        width: 45%;
        height: auto;
        margin-top: 5vh;
    }

    .background-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .overlay-title {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }

    .overlay-title .title2 {
        margin-left: 6ch;
    }

    .coming-soon-text h2 {
        font-size: clamp(1.8rem, 3vw, 2.2rem);
    }

    .coming-soon-text p {
        font-size: clamp(1.2rem, 2vw, 1.4rem);
    }
}

