@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor:default;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth; 
    background-color: #f8fafc;
    color: #1f2937;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f2937; 
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar .logo img{
    height: 70px;
    width: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd52e; 
}

.section {
    padding: 100px 20px;
    text-align: center;
    min-height: 100vh;
}

.home-section {
    background: url("../images/vecteezy_ai-generated-house-cleaning-in-city-with-blue-mop-on-top-of_36745038.webp") no-repeat center/cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.home-section::after {
    background-color: rgba(6, 79, 113, 0.5);
    content: '';
    position: absolute;
    inset: 0;
}

.home-content {
    position: relative;
    z-index: 1; 
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.home-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-content img{
    width: 400px;
    height: 300px;
}

.about-section {
    background: #f1f5f9;
}

.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px;
    justify-items: center; 
    margin-top: 20px;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    cursor: pointer;
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.contact-section {
    background: #f1f5f9;
    padding: 100px 20px 0 20px;
}

form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, textarea {
    cursor: text;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
}

textarea {
    resize: none;
    height: 120px;
}

.btn {
    background: #0ea5e9;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #0284c7;
    transform: scale(1.03);
}

.about-content {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
    line-height: 1.8;
}

.about-block {
    margin-bottom: 30px;
}

.about-block h3 {
    color: #0ea5e9; /* same as button blue */
    font-size: 1.4rem;
    margin-bottom: 10px;
}

footer {
    background: #1f2937;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
}

#company{
    display: flex;
    justify-content: space-around;
}

#company-adress, #company-owner{
    text-align: left;
}

#owner, #companyName{
    font-weight: bold;
}


@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}
