﻿/* ===== HEADER STYLES ===== */
.header {
    background-color: #000000;
    color: #fff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

.header .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.header .contact-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.header .contact-info a:hover {
    color: #f8c300;
}

.header .contact-info a:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.header .contact-info a[href^="mailto:"]:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.header .contact-info a[href^="tel:"]:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.header .logo {
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    /*text-transform: uppercase;*/
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.header .logo:hover {
    transform: scale(1.05);
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background-color: #1a1a1a;
    position: sticky;
    display: inline-flex; /* Use inline-flex to adjust width to content */
    justify-content: center;
    align-items: center;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border-radius: 300px;
    margin: 0 auto; /* Center the navbar horizontally */
    padding: 0 2rem; /* Optional: Add padding if needed */
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul li {
    margin: 0;
    position: relative;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar ul li a:hover {
    background-color: #3a3a3a;
    color: #f8c300;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: #f8c300;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar ul li a:hover::after {
    width: 80%;
}

/* Mobile menu toggle button (fixed to top right) */
.menu-toggle {
    display: none; /* Initially hidden, will be shown in media query */
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1100;
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 4px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}
/* Style for the expanded mobile menu */
.navbar.active ul {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(42, 42, 42, 0.95);
    padding-top: 60px;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3);
}

.navbar.active ul li a {
    padding: 1rem;
    border-bottom: 1px solid #3a3a3a;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header .logo {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: flex;
        top: 1rem;
        right: 1rem;
    }

    .navbar ul {
        flex-direction: column;
        display: none;
    }

    .navbar.active ul {
        display: flex;
    }

    .navbar ul li {
        width: 100%;
        text-align: center;
    }

    .navbar ul li a {
        padding: 0.8rem;
        border-bottom: 1px solid #3a3a3a;
    }

    .navbar ul li a::after {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .header .logo {
        font-size: 2rem;
    }

    .header .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .header .contact-info a {
        font-size: 0.8rem;
    }
}