:root {
    --primary: #ffffff;
    --tertiary: #ff0000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Quicksand", sans-serif;
    background-color: var(--primary);
    position: relative;
    font-size: 2rem;
}

.container {
    width: 100%;
}

/* Navigation Bar */

.navbar {
    background-color: var(--tertiary);
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 5rem;
    font-size: 1rem;
    gap: 6rem;
}

.logo {
    width: 100%;
}

.nav-left > p {
    color: var(--primary);
    padding: 2px;
    font-size: 3rem;
}

.nav-left {
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.nav-right > a {
    text-decoration: none;
    color: var(--primary);
    padding: 2px;
    font-size: 2rem;
}

.nav-right > a:hover {
    text-decoration: underline var(--secondary) 2px;
}

/* Hero / Home section */
.hero {
    padding: 4rem 2rem;
    position: relative;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-image: url("heroimg.webp");
    background-size: cover;
    background-position: center;
    filter: brightness(0.56);
    z-index: 1;
}

.hero-text-container {
    text-align: center;
    color: var(--primary);
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 30px 15px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-h {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-name {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-title-highlight {
    color: var(--tertiary);
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--primary);
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    opacity: 0.8;
}

.instagram-btn {
    background-color: var(--tertiary);
}

.facebook-btn {
    background-color: var(--tertiary);
}

/* Services */
.services {
    background-color: var(--tertiary);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 3rem;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 9rem;
    gap: 2rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
}

.service-item {
    text-align: center;
    flex: 1 1 400px;
    box-sizing: border-box;
    width: 400px; /* ensures consistent width */
    max-width: 100%; /* prevents overflow on tiny screens */
}

/* Contact */
.contact {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 4rem 14vw;
    gap: 2rem;
}

.contact-l,
.contact-r {
    width: 100%;
}

.contact-l {
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.contact-item {
    margin-top: 1rem;
}

.contact-r {
    max-width: 600px;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

/* footer */
.footer {
    background-color: var(--tertiary);
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    padding: 6rem 0;
}

.footer-container {
    display: flex;
    gap: 0.2rem;
}

.footer-left-container {
    flex-direction: column;
    padding-left: 14vw;
}

.footer-right-container {
    padding-right: 14vw;
}

.maker {
    font-size: 1.1rem;
}

.policy {
    text-decoration: none;
    color: var(--primary);
}


/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none; /* Hidden by default, shown via JS */
    flex-direction: column;
    font-size: 1rem;
}

.cookie-popup h3 {
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cookie-popup p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    font-size: 0.9rem;
}

.accept-btn {
    background-color: var(--tertiary);
    color: var(--primary);
}

.decline-btn {
    background-color: #e0e0e0;
    color: #333;
}

/* Responsive stuff */
@media (max-width: 1200px) {
    .nav-right {
        display: none !important;
    }

    .navbar {
        justify-content: center;
    }

    .nav-left {
        margin-right: 0;
    }

    .footer {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-right-container {
        padding-left: 14vw;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    html {
        font-size: 8px;
    }

    .hero-bg {
        background-position: top;
        background-size: cover;
    }

    .contact {
        flex-direction: column;
        padding: 4rem;
    }

    .contact-l,
    .contact-r {
        width: 100%;
    }

    .map {
        height: 300px;
    }
    /*
    .footer-container {
        margin-left: 4rem;
    }
*/

    .footer-left-container {
        padding-left: 4rem;
    }

    .footer-right-container {
        padding-left: 4rem;
    }
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        bottom: 10px;
    }
}
