* {
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
}


.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
    
}

.logo {
    display: block;
    width: 100px;
    height: 100px;
}

nav {
    margin: 0;
    padding: 0;
    background: transparent;
}

.menuItems {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menuItems li {
    margin: 0;
}

.menuItems a {
    position: relative;
    text-decoration: none;
    color: #807979;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.5s ease-in-out;
}

.menuItems a::before {
    content: attr(data-item);
    position: absolute;
    inset: 0;
    width: 0;
    overflow: hidden;
    color: #ff5454;
    transition: width 0.5s ease-in-out;
    
}

.menuItems a:hover::before {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.products-popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 8px;
    width: 320px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.35s ease;
    z-index: 10;
}

.products-popup.open {
    opacity: 1;
    max-height: 420px;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.products-popup a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f5f5f5;
    transition: background 0.2s ease, color 0.2s ease;
}

.products-popup a:hover {
    background: #ffe2e2;
    color: #d84343;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('img/background.png');
    background-repeat: no-repeat; /* prevents repeating */
    background-size: cover;       /* ensures the image covers the entire page */
    background-attachment: fixed; /* keeps the image fixed during scrolling */
    background-position: center;  /* centers the image */
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
    
}

.logo {
    display: block;
    width: 100px;
    height: 100px;
}

nav {
    margin: 0;
    padding: 0;
    background: transparent;
}

.menuItems {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menuItems li {
    margin: 0;
}

.menuItems a {
    position: relative;
    text-decoration: none;
    color: #807979;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.5s ease-in-out;
}

.menuItems a::before {
    content: attr(data-item);
    position: absolute;
    inset: 0;
    width: 0;
    overflow: hidden;
    color: #ff5454;
    transition: width 0.5s ease-in-out;
    
}

.menuItems a:hover::before {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.products-popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 8px;
    width: 320px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.35s ease;
    z-index: 10;
}

.products-popup.open {
    opacity: 1;
    max-height: 420px;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.products-popup a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f5f5f5;
    transition: background 0.2s ease, color 0.2s ease;
}

.products-popup a:hover {
    background: #ffe2e2;
    color: #d84343;
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80vh;
    padding: 24px;
}

.contact-box > * {
    align-self: center;
}

.contact {
    width: min(33vw, 540px);
    max-width: 540px;
    min-height: 320px;
    margin: 0;
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgb(56, 3, 99);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 540px;
}

.contact .button-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 16px;
}

.contact h1 {
    margin: 0 0 10px;
    color: #ca3b3b;
    font-size: 28px;
}


.g {
    margin: 8px 0;
    color: #adabab;
    font-size: 16px;
}

.address {
    width: 100%;
    margin: 14px auto 0;
    font-size: 16px;
    color: #eeff00;
    text-align: center;
    line-height: 1.8;
    margin-top: 20px;
}

/* Style the link to look like a button */
.email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
    max-width: 180px;
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    min-height: 48px;
    transition: background-color 0.3s ease;
}
.email-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Basic styling for the button */
.whatsapp-btn {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 48px;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
}

/* Optional: WhatsApp icon */
.whatsapp-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.location {
    flex: 1 1 480px;
    max-width: 760px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.location iframe {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgb(0, 0, 0);
}

.location iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .contact-box {
        flex-direction: column;
        padding: 18px;
    }

    .contact {
        width: 100%;
        max-width: 100%;
    }

    .location {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .topbar {
        flex-direction: column;
        align-items: center;
        padding: 14px 16px;
    }

    .logo {
        width: 72px;
        height: 72px;
    }

    nav {
        width: 100%;
    }

    .menuItems {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .menuItems a {
        font-size: 16px;
    }

    .contact-box {
        min-height: auto;
        padding: 16px;
    }

    .contact {
        padding: 20px 16px;
    }

    .contact h1 {
        font-size: 24px;
    }

    .location iframe {
        height: 280px;
    }

    .email-button,
    .whatsapp-btn {
        max-width: 100%;
    }
}