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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Font Integration */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Abril Fatface';
    color: #232D39;
    margin-bottom: 0.5em;
}

h1 {
    color: #FF8709
}

header {
    background-color: transparent;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
}

.main-logo {
    margin-top: 2em;
    max-width: 480px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .main-logo {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        max-width: 280px;
    }
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 2em;
    margin-top: 2em;
    text-align: center;
}

.hero {
    min-width: 800px;
    margin: 0 auto;
    padding: 2em;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.hero .description {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: #232D39;
    color: #fff;
    padding: 1em;
    border-radius: 8px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-item span {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
}

.countdown-item label {
    font-size: 0.8em;
    text-transform: uppercase;
}

/* Subscription Form */
.subscribe-form {
    margin-top: 2em;
}

.subscribe-form h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

.subscribe-form form {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
}

.subscribe-form button {
    background-color: red;
    color: #fff;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #FF8709;
}

#form-message {
    margin-top: 1em;
    font-weight: bold;
    color: green;
}

/* Subscription Form */

footer {
    background-color: #232D39;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-width: auto;
    }
    .hero h1 {
        font-size: 2.5em;
    }

    .hero .description {
        font-size: 1em;
    }

    .countdown-item {
        min-width: 80px;
        padding: 0.8em;
    }

    .countdown-item span {
        font-size: 2em;
    }

    .subscribe-form input[type="email"] {
        max-width: 250px;
    }

    .subscribe-form form {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        width: auto;
        padding: 1.5em;
    }

    .hero h1 {
        font-size: 2em;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.5em;
    }

    .countdown-item span {
        font-size: 1.8em;
    }

    .subscribe-form h2 {
        font-size: 1.5em;
    }

    .social-links a img {
        width: 35px;
        height: 35px;
    }
}