/* styles.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Raleway', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* Video Container */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Video and Placeholder Styling */
.video-container video,
.video-container .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container .video-placeholder {
    background: url('sunrise.png') no-repeat center center;
    background-size: cover;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjusted overlay to enhance logo visibility */
    background: rgba(0, 0, 0, 0.3); /* Reduced opacity for a lighter overlay */
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 15% 20px 10% 20px; /* Added bottom padding */
}

 /* Logo Styling */
.logo {
    width: 250px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    animation: fadeIn 1s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect for Logo */
.logo:hover {
    transform: scale(1.05);
}

/* Fade-In Animation for Logo */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-content h1 {
    font-size: 3em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: -55px;
    animation: fadeInDown 1s ease-in-out;
}

.main-content .subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Subscription Bar */
.subscription-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(33, 72, 51, 0.9); /* Updated color to #214833 with 90% opacity */
    color: #fff;
    padding: 20px 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.subscription-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-content p {
    font-size: 1.2em;
    font-weight: 500;
    margin: 10px 20px;
    text-align: center;
}

.subscription-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 20px;
}

.subscription-form input[type="email"] {
    padding: 15px;
    font-size: 1em;
    border: none;
    border-radius: 3px 0 0 3px; /* Subtly rounded corners */
    outline: none;
    width: 250px;
    max-width: 100%;
}

.subscription-form button {
    padding: 15px 30px;
    font-size: 1em;
    color: #fff;
    background-color: #d32f2f;
    border: none;
    border-radius: 0 3px 3px 0; /* Subtly rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription-form button:hover {
    background-color: #b71c1c;
}

/* Form Message Styles */
.form-message {
    margin-top: 10px;
    font-size: 1em;
    text-align: center;
    color: #fff;
    display: none;
}

.form-message.success {
    color: #4CAF50;
}

.form-message.error {
    color: #F44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 20% 20px 15% 20px; /* Increased bottom padding */
    }

    .main-content h1 {
        font-size: 2.5em;
    }

    .main-content .subtitle {
        font-size: 1.2em;
    }

    .subscription-content {
        flex-direction: column;
    }

    .subscription-form {
        flex-direction: column;
        margin: 10px 0;
        display: block;
    }

    .subscription-form input[type="email"],
    .subscription-form button {
        width: 100%;
        border-radius: 5px; /* Consistent subtle rounding */
    }

    .subscription-form button {
        margin-top: 10px;
    }
}

/* Adjust the logo size and main content padding for smaller screens */
@media (max-width: 600px) {
    .main-content {
        padding: 25% 20px 20% 20px; /* Further increased bottom padding */
    }

    .logo {
        width: 200px;
    }

    .main-content h1 {
        font-size: 2em;
    }

    .main-content .subtitle {
        font-size: 1em;
    }
}