/* --- Global Styles --- */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #eb8b00; /* Matching your brand background */
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Logo: Fixed for Mobile --- */
.main-logo {
    width: 100%;
    max-width: 450px; /* Limits size on desktop */
    height: auto;
    margin-bottom: -80px; /* Reduced to prevent mobile overlap */
    transition: 0.3s ease;
}

/* --- Typography --- */
.welcome-text {
    font-size: clamp(1.5rem, 5vw, 2.8rem); /* Fluid font: shrinks on mobile, grows on desktop */
    margin-top: 0;
    color: #1a1a1a;
    letter-spacing: -1px;
    font-weight: 900;
    padding: 0 10px;
    line-height: 1.1;
}

.highlight {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* --- Illustration Container --- */
.image-container {
    margin-top: -20px; 
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.coming-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

/* --- Buttons --- */
.cta-button {
    background: #1a1a1a;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* --- Social Links --- */
.social-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    color: #1a1a1a;
    text-decoration: none;
    margin: 10px 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.social-links a:hover {
    border-bottom: 2px solid #fff;
}

/* --- Modal Styles --- */
/* --- Corrected Modal Container --- */
.modal {
    display: none; /* Keep this for JS toggling */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85); /* Slightly darker for better focus */
    backdrop-filter: blur(8px);
    
    /* These three lines handle the centering regardless of screen size */
    align-items: center; 
    justify-content: center;
}

/* --- Added: This class is what your JS should trigger --- */
.modal.active {
    display: flex !important; /* Forces flex centering when open */
}

/* --- Corrected Modal Content --- */
.modal-content {
    background: white;
    padding: 30px;
    width: 90%;            /* Responsive width for mobile */
    max-width: 400px;      /* Desktop size limit */
    border-radius: 20px;
    position: relative;
    box-sizing: border-box;
    margin: auto;          /* Secondary safety centering */
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #eb8b00;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

/* --- Responsive Adjustments --- */

@media (max-width: 768px) {
    .main-logo {
        max-width: 280px;
        margin-bottom: -40px; /* Pulls text closer but not overlapping */
    }
    
    .image-container {
        margin-top: 0;
        max-width: 320px;
    }

    .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 15px;
    }

    .welcome-text {
        font-size: 1.6rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .social-links a {
        margin: 5px 10px;
        font-size: 0.9rem;
    }
}