*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.hero{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(/img/pexels-cottonbro-6770985.jpg);
    background-size: cover;
    background-position: center;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 10px;
    padding-left: 5%;
}

.logo{
    color: white;
    font-size: 28px;
}

span{
    color: #ff0000;
}

nav ul li{
    list-style-type: none;
    display: inline-block;
    padding: 10px 20px;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

nav ul li a:hover{
    color: #ff0000;
    transition: .3s;
}

button{
    border: none;
    background-color: #ff0000;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    transition: 0.4s;
}

button:hover{
    transform: scale(1.3);
    cursor: pointer;
}

.content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.content h1{
    font-size: 50px;
    margin-bottom: 20px;
}

.content p{
    font-size: 20px;
    margin-bottom: 15px;
}

.btn-primary{
    background-color: #ff0000;
    margin-top: 20px;
}

.hamburger{
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span{
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hide mobile call button on desktop */
.btn-primary{
    background-color: #ff0000;
    margin-top: 20px;
    display: none;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header without background for other pages */
.page-header{
    background-color: #1a1a1a;
    padding-bottom: 20px;
}

.page-header nav{
    background-color: transparent;
}

.page-header .hamburger{
    display: none;
}

/* About Page Styles */
.about-section{
    padding: 80px 10%;
    background-color: #f5f5f5;
}

.about-section h1{
    font-size: 40px;
    color: #ff0000;
    margin-bottom: 30px;
}

.about-section p{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

/* Contact Page Styles */
.contact-section{
    padding: 80px 10%;
    background-color: #f5f5f5;
}

.contact-section h1{
    font-size: 40px;
    color: #ff0000;
    margin-bottom: 30px;
}

.contact-info{
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-info h3{
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info p{
    font-size: 18px;
    margin-bottom: 10px;
    color: #666;
}

/* Service Page Styles */
.service-section{
    padding: 80px 10%;
    background-color: #f5f5f5;
}

.service-section h1{
    font-size: 40px;
    color: #ff0000;
    margin-bottom: 30px;
    text-align: center;
}

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

.service-card{
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.service-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card h3{
    font-size: 24px;
    color: #ff0000;
    margin-bottom: 15px;
}

.service-card p{
    font-size: 16px;
    color: #666;
}

/* Mobile Media Queries */
@media screen and (max-width: 768px){
    .hero{
        background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(/img/pexels-tima-miroshnichenko-6766364.jpg);
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }

    nav{
        flex-wrap: wrap;
        padding: 10px 20px;
        position: relative;
    }

    .logo{
        font-size: 22px;
    }

    nav ul{
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: rgba(0,0,0,0.95);
        flex-direction: column;
        text-align: center;
        transition: 0.5s;
        z-index: 999;
        padding: 20px 0;
    }

    nav ul.active{
        left: 0;
    }

    nav ul li{
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    nav ul li a{
        font-size: 18px;
    }

    nav #callBtn{
        display: none;
    }

    .btn-primary{
        display: block;
    }

    .hamburger{
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 15px;
    }

    .page-header{
        padding-bottom: 10px;
    }

    .page-header .hamburger{
        display: flex !important;
    }

    .content h1{
        font-size: 30px;
        padding: 0 15px;
    }

    .content p{
        font-size: 20px;
    }

    /* About Page Mobile */
    .about-section{
        padding: 40px 5%;
    }

    .about-section h1{
        font-size: 28px;
    }

    .about-section p{
        font-size: 16px;
    }

    /* Contact Page Mobile */
    .contact-section{
        padding: 40px 5%;
    }

    .contact-section h1{
        font-size: 28px;
    }

    .contact-info{
        padding: 20px;
    }

    .contact-info h3{
        font-size: 20px;
    }

    .contact-info p{
        font-size: 16px;
    }

    /* Service Page Mobile */
    .service-section{
        padding: 40px 5%;
    }

    .service-section h1{
        font-size: 28px;
    }

    .services-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card{
        padding: 20px;
    }

    .service-card h3{
        font-size: 20px;
    }
}

@media screen and (max-width: 480px){
    .logo{
        font-size: 18px;
    }

    .content h1{
        font-size: 24px;
    }

    .content p{
        font-size: 16px;
    }

    button{
        padding: 10px 20px;
        font-size: 14px;
    }
}