:root {
    --primary-color: {{ $colorSetting->primary_color ?? '#ffc107' }};
    --primary-hover-color: {{ $colorSetting->primary_hover_color ?? '#ffdd57' }};
    --footer-bg-color: {{ $colorSetting->footer_bg_color ?? '#343a40' }};
    --text-color: {{ $colorSetting->text_color ?? '#ffffff' }};
    --background-color: {{ $colorSetting->background_color ?? '#ffffff' }};
    --navbar-bg-color: {{ $colorSetting->navbar_bg_color ?? '#ffffff' }};
    --navbar-text-color: {{ $colorSetting->navbar_text_color ?? '#ffffff' }};
    --navbar-hover-color: {{ $colorSetting->navbar_hover_color ?? '#0056b3' }};
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

main {
    flex: 1;
    width: 100%;
}

header {
    min-height: 500px;
    position: relative;
    width: 100%;
    margin-top: 0;
}

.header-background {
    background-size: cover;
    background-position: center;
    width: 100%;
    margin-top:0;
    height: 500px;
    z-index: -1;
}

.header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.header-logo {
    max-width: 100px;
    object-fit: contain;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50%;
    z-index: 10;
}


@media (max-width: 768px) {
    .header-logo {
        max-width: 80px;
    }
}

.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 2;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.language-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
}

.language-button .btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    transition: all  0.3s ease;
}

.language-button .btn:hover {
    padding: 10px 20px;
    font-size: 16px;
    background-color: var(--primary-hover-color);
    border-color: var(--primary-color);
    border-radius: 30px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--navbar-text-color);
    padding: 8px 15px;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    background-color: var(--navbar-bg-color);
    color: var(--navbar-hover-color);
}

.navbar-nav {
    list-style: none;
    padding-left: 60px;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    margin-left: 15px;
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
        padding-left: 0;
        flex-direction: column;
        align-items: center;
    }
    .header-title {
        font-size: 2rem;
    }
    .nav-item {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--navbar-hover-color);
    transform: scale(1.05);
}

h1 {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    margin-top: 20px;
}

.custom-footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color);
    padding: 30px 20px;
    text-align: center;
}
.language-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.language-buttons a {
    display: block;
    margin-bottom: 10px;
    width: 100px;
    text-align: center;
}


.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    max-width: 100px;
    border-radius: 50%;
    z-index: 10;
}

.pages, .social-links {
    flex: 1;
}

.pages ul, .social-links ul {
    list-style-type: none;
    padding: 0;
}

.pages li, .social-links li {
    margin-bottom: 10px;
}

.pages a, .social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}

.pages a:hover, .social-links a:hover {
    color: var(--primary-hover-color);
}

.pages, .social-links, .phone-number h4 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .custom-footer {
        font-size: 0.9rem;
        padding: 20px 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .pages, .social-links {
        flex: none;
        margin-bottom: 15px;
    }

    .pages a, .social-links a {
        font-size: 14px;
    }
}


.contact-us {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
}

.contact-us h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-us p {
    font-size: 1rem;
    color: var(--text-color);
}

.contact-us ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.contact-us li {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact-us .social-link {
    text-decoration: none;
    font-size: 1rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.contact-us .social-link:hover {
    color: var(--primary-hover-color);
}

.social-link i {
    font-size: 25px;

}
