:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

header {
    background-color: white;
    position: relative;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > div {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    padding-left: calc((100% - var(--max-width)) / 2);
}

.logo img {
    height: 120px;
}

.logo a {
    display: block;
    text-decoration: none;
}

nav {
    padding-right: 2rem;
    display: none;
}

@media (min-width: 769px) {
    nav {
        display: block;
    }
}

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

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

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

.hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
    padding: 2rem;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services, .about {
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

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

.service-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

footer {
    background: rgb(43,42,42);
    background: linear-gradient(180deg, rgba(43,42,42,1) 61%, rgba(45,43,43,1) 100%);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    padding-bottom: 80px;
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0.1rem auto;
    padding: 2rem;
    padding-bottom: 0rem;
}

.services, .about {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.services h2, .about h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.about p, .services p {
    font-size: 1.2rem;
}

.about h2 i, .services h2 i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .logo {
        padding-left: 1rem;
    }

    nav {
        padding-right: 1rem;
    }

    header > div {
        padding: 0 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero {
        height: 50vh;
    }

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

    .hero-text p {
        font-size: 1rem;
    }

    .services {
        padding: 2rem 1rem;
    }

    .info-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 1rem 2rem;
    color: white;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-section {
    width: 45%;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.footer-section h3 i {
    margin-right: 10px;
    color: #3498db;
    font-size: 1.5rem;
}

.footer-section h3 i.fa-map-marker-alt {
    color: #ff4444;
}

.footer-section p i {
    margin-right: 5px;
    color: #6ab56b;
    font-size: 1.2rem;
}

.footer-section a {
    text-decoration: none;
    color: #ffffff;
}

.footer-section a:hover {
    color: #0be33d;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}

.divider {
    width: 0.1px;
    background-color: rgb(88, 88, 88);
    margin: 0 20px;
}

@media (max-width: 768px) {
    .divider {
        width: 100%;
        height: 2px;
        margin: 20px 0;
    }
}

.gallery {
    padding: 2rem 2rem;
    text-align: center;
    margin-top: 10px;
}

.gallery-slider {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

.gallery-container {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.gallery img {
    width: 350px;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

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

.social-buttons {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin: 5px 0;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
    border-radius: 0 5px 5px 0;
    min-width: 160px;
}

.social-btn:hover {
    transform: translateX(5px);
}

.social-btn i {
    font-size: 25px;
    margin-right: 10px;
}

.social-btn span {
    display: block;
    font-size: 16px;
    white-space: nowrap;
}

.social-btn:hover span {
    display: block;
}

.social-btn:nth-child(1) {
    background: #4CAF50;
}

.social-btn:nth-child(2) {
    background: #EA4335;
}

.social-btn:nth-child(3) {
    background: #25D366;
}

.social-btn:nth-child(4) {
    background: #E1306C;
}

@media (max-width: 768px) {
    .social-buttons {
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 30px;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .social-btn {
        border-radius: 50%;
        margin: 0;
        padding: 15px;
        min-width: auto;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .social-btn i {
        margin-right: 0;
        font-size: 22px;
    }

    .social-btn span,
    .social-btn:hover span {
        display: none;
    }

    .gallery-container {
        gap: 1rem;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
    }

    .gallery img {
        width: 280px;
    }
}

html {
    scroll-behavior: smooth;
}