/* =========================================
   GLOBAL STYLES & TYPOGRAPHY
========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   HEADER & MAINTENANCE BANNER
========================================= */
.maintenance-banner {
    background-color: #ffc107;
    color: #111;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 2px solid #e0a800;
}

header {
    background-color: #111;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    position: relative; /* Crucial for the mobile menu */
}

/* This container is WIDE, pushing the logo to the left edge */
.header-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-nav {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between logo and Home link */
}

/* To combat the white box in your logo image without cropping */
.site-logo {
    height: 60px; 
    margin: -15px 0; /* Pulls it tight */
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #d4af37;
}

.right-nav {
    display: flex;
    align-items: center;
}

.btn-login {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #555;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: white;
    color: #111;
    border-color: white;
}

/* --- MOBILE MENU STYLES (Hidden by default) --- */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: white;
    transition: all 0.3s linear;
}

.mobile-nav {
    display: none; /* Hidden by default */
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px 20px 20px;
    border-top: 1px solid #333;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    display: flex; /* Shown when clicked */
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.mobile-nav a.mobile-login-link {
    color: #d4af37;
    border-bottom: none;
    font-weight: bold;
    padding-top: 15px;
}

/* =========================================
   MAIN CONTENT & CALCULATOR
========================================= */
.hero {
    text-align: center;
    padding: 40px 0 20px;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.calculator-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background-color: #111;
    color: white;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-success {
    background-color: #007bff;
    color: white;
    margin-top: 15px;
}

.btn-success:hover {
    background-color: #0056b3;
}

/* =========================================
   RESULTS SECTION
========================================= */
.hidden {
    display: none;
}

#result-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed #eee;
    text-align: center;
}

#price-result {
    font-size: 2.5rem;
    color: #007bff;
    margin: 10px 0;
}

.hook-text {
    font-weight: bold;
    margin-bottom: 20px;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    background-color: #111;
    color: #f4f7f6;
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 5px solid #d4af37;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #aaa;
}

.footer-links h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* =========================================
   MOBILE RESPONSIVENESS (Phones & Tablets)
========================================= */
@media (max-width: 850px) {
    /* Hide desktop items, show mobile items */
    .main-nav, .btn-login {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        margin: 0 auto 15px auto; 
        display: block;
    }
}