/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* 🔥 prevents side overflow */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: #ffffff;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 1px solid #eaeaea;
    animation: fadeDown 0.6s ease forwards;
}

.container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-image {
    height: 40px;
}

/* Email Button */
.email-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(102,126,234,0.25);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(102,126,234,0.35);
}

/* ================= BANNER ================= */

.banner-area {
    width: 100%;
    height: calc(100vh - 75px);
    margin-top: 75px;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    animation: fadeIn 1s ease forwards;
}

/* Desktop banner */
.desktop-banner {
    background-image: url('assets/laptop-banner.png');
    background-size: cover;
    display: block;
}

/* Mobile banner (NO overflow ever) */
.mobile-banner {
    background-image: url('assets/mobile-banner.png');
    background-size: contain; 
    background-color: #f8f9fa;
    display: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .banner-area {
        height: calc(100vh - 70px);
        margin-top: 70px;
    }

    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }

    .logo {
        font-size: 22px;
    }

    .logo-image {
        height: 35px;
    }

    .email-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 65px;
    }

    .banner-area {
        height: calc(100vh - 65px);
        margin-top: 65px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-image {
        height: 30px;
    }

    .email-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ================= ANIMATIONS ================= */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
