/* ================================
   1. Base
================================ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: #313131;
    overflow-x: hidden;
}

.section-wrapper {
    padding: 10px 10px;
}

.section-title {
    font-size: 28px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.underline {
    width: 50px;
    height: 2px;
    margin: 20px auto 40px;
    background: #313131;
}

/* ================================
   2. Header (FIXED & RESPONSIVE)
================================ */
.header {
    background-image: url('../images/multipage-header.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    min-height: 100vh;
}

/* Dark overlay for readability 
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}*/

/* Content above overlay */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ================================
   3. Header Text
================================ */
.header-title {
    font-size: clamp(36px, 8vw, 90px);
    letter-spacing: 5px;
    margin: 0;
}

.header-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    margin-top: 10px;
}

/* ================================
   4. Buttons
================================ */
.header-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.header-buttons a {
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.header-buttons a:hover {
    background: #fff;
    color: #000;
}

/* ================================
   5. Navbar (simple modern)
================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;
    z-index: 1000;
}
.navbar-default {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

/* ================================
   6. Services
================================ */
.service {
    background: #ededed;
    padding: 60px 20px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* ================================
   7. Portfolio
================================ */
.portfolio {
    background: #f9f9f9;
    padding: 60px 20px;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    transition: 0.4s;
}

.portfolio-img:hover img {
    transform: scale(1.1);
}

/* ================================
   8. Fun Facts
================================ */
.fun {
    background: #f3f3f3;
    padding: 60px 20px;
}

.fun-box {
    border: 2px solid #313131;
    padding: 30px;
    text-align: center;
}

/* ================================
   9. Footer
================================ */
footer {
    background: #eaeaea;
    padding: 20px;
    text-align: center;
}

/* ================================
   10. MOBILE FIX (IMPORTANT)
================================ */

/* Switch to mobile image */
@media (max-width: 768px) {
    .header {
        background: url('../images/multipage-header-m1.jpg') no-repeat ;
        height: 100%;
    }

    .navbar {
        flex-direction: column;
    }

    .header-buttons {
        flex-direction: column;
    }
}