:root {
    --color-primary: #febb00;
    --color-secondary: #f6eacb;
    --color-peach: #f1d3ce;
}

html {
    scroll-padding-top: 60px;
}

body {
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}

header nav {
    color: black;
    background-color: var(--color-primary);

    ul {
        display: flex;
        align-items: center;
    }
}

nav {
    a {
        text-decoration: none;
        transition: 0.4s;
        position: relative;
    }

    a::before {
        content: "";
        position: absolute;
        width: 0;
        height: 4px;
        background-color: white;
        bottom: 0;
        left: 0;
        transition: width 0.4s;
    }

    a:hover::before {
        width: 100%;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.name {
    font-weight: 700;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.227), rgba(0, 0, 0, 0.1)),
        url("./assets/images/hero-image.jpg") center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
    height: 80vh;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    animation: fadeInDown 1s ease-in-out;
}

.hero p {
    font-size: 1.25rem;
    animation: fadeInUp 1.2s ease-in-out;
}

.hero .container p {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.services .card {
    transition: transform 0.3s ease;
    border: 1px solid var(--color-primary);
}

.services .card:hover {
    transform: translateY(-10px);
}

.gallery,
.about {
    background-color: var(--color-secondary);
}

.image-container {
    overflow: hidden;
    border-radius: 8px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 2.2rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--color-primary);
}

nav a,
.phone,
.mail {
    color: black !important;
    font-weight: 500;
    text-decoration: none;
}

.contact-link {
    font-weight: 600;
    border: 2px solid white;
    padding: 4px;
    border-radius: 8px;
}

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

footer {
    background: var(--color-primary);
    color: black;
    padding-top: 40px;
    padding-bottom: 20px;
}

footer a {
    color: black;
    text-decoration: none;
}

footer a:hover {
    color: var(--color-hover);
}

.social-icons a {
    color: black;
}

.social-icons a:hover {
    color: var(--color-hover);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #001d3d;
    border: 1px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: white;
    color: #001d3d;
    border-color: var(--color-primary);
}

.map-button {
    display: inline-block;
    /* background-color: var(--color-primary); */
    color: #333;
    font-weight: 500;
    text-decoration: none;
    padding: 0.6em 1.2em;
    /* border-radius: 8px; */
    border-bottom: 1px solid var(--color-primary);
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.logo-img {
    height: 40px;
    width: 40px;
}

.map-button:hover {
    background-color: white;
    color: #001d3d;
    border-color: var(--color-primary);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 62px;
    }

    header h2 {
        font-size: 18px;
    }

    nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: start !important;
    }

    nav a {
        font-size: 16px;
    }

    .contact-link {
        font-weight: 400;
        border: none;
        padding: 0;
        border-radius: 0;
    }
}
