/* 1. Global Reset */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #010101;
}

/* 2. Background Container */
.background-container {
   height: 100vh; 
    height: 100dvh; 
    width: 100%;
    background-image: url('bg.webp'); 
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


/* 3. Overlay Layout (The Flexbox Magic) */
.content-overlay {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* 4. Text Area (Top/Middle) */
.text-area {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 5. Button Area (Bottom) */
.button-area {
    padding-bottom: 12.5%; 
    padding-left: 20%; 
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: left;
    flex-wrap: wrap;
}

/* 6. Button Styling */
.btn {
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #ffffff;
    color: #333;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn:hover {
    transform: scale(1.05);
}

/* Mobile Adjustment */
@media (max-width: 600px) {
  .background-container {
    background-size: contain;
    background-image: url('bg-mobile.webp'); 
    background-position: top center;
  }
  
  h1 { font-size: 2rem; }
    .button-area {
        padding-bottom: 50px;
        padding-left: 0%; 
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .btn {
        width: 70%;
        text-align: center;
    }
}