@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #ecf0f1;
    --text-color: #34495e;
    --white: #ffffff;
    --light-gray: #bdc3c7;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    background-color: var(--white);
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

nav .logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    padding-top: 80px;
}

#advertisement {
    padding: 0;
    line-height: 0;
}

#advertisement img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 4rem 5%;
    text-align: center;
}

.logo-img {
    height: 60px;
}

#hero {
    background-color: var(--white);
    color: var(--text-color);
    padding: 3rem 5%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

#about p {
    max-width: 800px;
    margin: 0 auto;
}

#services {
    background-color: var(--white);
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-basis: 300px;
    flex-grow: 1;
    max-width: 350px;
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

#gallery {
    padding-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
}

#contact {
    background-color: var(--primary-color);
    color: var(--white);
}

#contact h2 {
    color: var(--white);
}

.phone-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
}

.phone-number a {
    color: var(--white);
    text-decoration: none;
}

footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        /* Simple hiding for mobile, could be a hamburger menu */
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}