/* Fooodis Header and Footer Styles */

/* Reset some basic elements */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Add top padding to prevent header overlap */
    padding-top: 100px; /* Increased to provide more space from header */
    /* No bottom padding needed since footer is not fixed */
    /*padding-bottom: 0;*/
}

/* Header styles */
.fooodis-header {
    background-color: #1e2127;
    color: #fff;
    padding: 15px 0; /* Increased padding to make header taller */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.fooodis-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
    display: block;
}

.fooodis-logo {
    height: 45px; /* Slightly larger logo */
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced gap to bring items closer */
}

/* Language flags */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px; /* Reduced margin to bring closer to menu */
}

.flag-link {
    display: block;
    margin-right: 10px;
}

.flag-icon {
    width: 20px; /* Slightly smaller flags */
    height: auto;
    border-radius: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 15px; /* Reduced gap between menu items */
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 10px;
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #e8f24c;
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px; /* Add some spacing */
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #e8f24c;
    margin: 5px 0;
    border-radius: 3px;
}

/* Mobile navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(30, 33, 39, 0.85); /* 85% transparent background with our dark color */
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 50px 20px;
    overflow-y: auto;
}

.mobile-nav.show {
    left: 0;
    display: block;
}

/* Close button for mobile menu */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8f24c; /* Updated to our specific yellow */
    font-size: 30px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin: 15px 0;
}

.mobile-nav-item a {
    color: #e8f24c; /* Updated to our specific yellow */
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.mobile-nav-item a:hover {
    color: #fff;
}

/* Footer styles */

/* Logo styles */
.fooodis-logo-footer {
    max-width: 120px;
    height: auto;
}

/* Back to top button */
.back-to-top-button {
    height: 64px;
    width: 64px;
    margin-left: 0px;
    margin-right: auto;
    margin-top: 0px;
    right: 20px;
    bottom: 20px;
    padding: 20px;
    background-image: none;
}
.fooodis-footer {
    position: static;
    width: 100%;
    background-color: #1e2127;
    box-shadow: none; /* Removed drop shadow as requested */
    padding: 20px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo a {
    display: block;
}

.fooodis-logo-footer {
    height: 30px;
    width: auto;
    vertical-align: middle;
}

.footer-nav-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.footer-nav-item {
    margin: 0 15px;
}

.footer-nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav-item a:hover {
    color: #e8f24c;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-powered-by {
    display: flex;
    align-items: center;
}

.logoland-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.logoland-logo {
    height: 40px;
    max-width: 180px; /* Further adjusted width to match Fooodis logo exactly */
    object-fit: contain;
    object-position: left;
    margin-bottom: 8px;
}

.footer-powered-by p {
    margin: 0;
    font-size: 14px;
    color: #fff;
    text-align: left;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    position: relative;
    z-index: 15;
    align-items: center; /* Align with logo and copyright text */
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #ffcc00;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.linkedin-link, .youtube-link {
    background-color: #333;
}

.linkedin-icon, .youtube-icon {
    fill: #fff;
}

.social-link:hover .social-icon {
    fill: #e8f24c;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-nav.show {
        display: block;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 10px;
    }

    .fooodis-logo {
        height: 30px;
    }

    .language-flags {
        margin-right: 10px;
    }

    .flag-icon {
        width: 20px;
    }

    .footer-nav-item {
        margin: 5px;
    }
}

/* Back to top button styles */
.u-back-to-top {
    height: 50px;
    width: 50px;
    right: 20px;
    bottom: 20px;
    padding: 12px;
    background-color: #1e2127;
    border: 2px solid #e8f24c;
    border-radius: 50%;
    position: fixed;
    z-index: 100;
    display: none; /* Hidden by default, shown via JS */
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.u-back-to-top:hover {
    background-color: #2a2d36;
    opacity: 1 !important;
}

.u-back-to-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.u-custom-color-1 {
    color: #ffffff;
    background-color: rgba(0,0,0,0);
}

.u-custom-color-2 {
    color: #ffffff;
    background-color: #1d2029;
}

.u-custom-color-4 {
    color: #ffffff;
    background-color: #e8f24c;
}

.u-custom-color-7 {
    color: #ffffff;
    background-color: #4fc3f7;
}

.u-text-custom-color-4 {
    color: #e8f24c !important;
}

.u-text-custom-color-7 {
    color: #4fc3f7 !important;
}

.u-text-active-custom-color-4:active,
.u-text-active-custom-color-4.active,
.u-text-hover-custom-color-4:hover {
    color: #e8f24c !important;
}

.u-text-hover-custom-color-7:hover {
    color: #4fc3f7 !important;
}

.u-box-shadow {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
}

.u-clearfix::after {
    content: '';
    clear: both;
    display: table;
}

.u-header {
    position: relative;
    width: 100%;
}

.u-sticky {
    position: fixed;
    top: 0;
    z-index: 100;
}

.u-sheet {
    position: relative;
    width: 1140px;
    margin: 0 auto;
}

.u-sheet-1 {
    min-height: 80px;
}

.u-menu {
    color: inherit;
}

.u-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.u-nav-1 {
    font-size: 1rem;
    margin: 20px auto 0 0;
}

.u-nav-item {
    position: relative;
    display: inline-block;
}

.u-nav-link {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
}

.u-button-style.u-nav-link {
    text-transform: uppercase;
    font-weight: 500;
}

.u-logo {
    display: block;
}

.u-image {
    object-fit: cover;
    display: block;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.u-logo-image {
    max-width: 100%;
    max-height: 100%;
}

.u-logo-image-1 {
    max-width: 160px;
    max-height: 60px;
}

.u-footer {
    background-color: rgba(0,0,0,0);
    color: #ffffff;
}

.u-social-icons {
    white-space: nowrap;
    height: auto;
    min-height: 16px;
    width: auto;
    min-width: 16px;
}

.u-social-url {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: none;
    border: 0 none transparent;
    outline-width: 0;
    background-color: transparent;
    margin: 0;
    text-decoration-skip-ink: auto;
}

.u-social-icons-1 {
    height: 32px;
    min-height: 16px;
    width: 158px;
    min-width: 94px;
    margin: 0 0 0 auto;
}

.u-social-icon {
    color: inherit;
    display: inline-block;
    width: 32px;
    height: 32px;
}

.u-social-icon,
.u-social-icon .u-svg-link {
    transition-property: fill !important;
    transition-duration: 250ms;
    transition-timing-function: ease;
}

.u-text-white {
    color: #ffffff !important;
}

.u-icon {
    display: block;
    line-height: 0;
    border-width: 0px;
}

.u-svg-link {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.u-svg-content {
    width: 0;
    height: 0;
}

.u-file-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.u-back-to-top {
    position: fixed;
    z-index: 100;
    display: none;
}

.u-border-2 {
    border-width: 2px;
}

.u-icon-circle {
    border-radius: 50%;
}

.u-opacity {
    opacity: 1;
}

.u-opacity-85 {
    opacity: 0.85;
}

/* Media Queries */
@media (max-width: 1199px) {
    .u-sheet {
        width: 940px;
    }
}

@media (max-width: 991px) {
    .u-sheet {
        width: 720px;
    }
}

@media (max-width: 767px) {
    .u-sheet {
        width: 540px;
    }
}

@media (max-width: 575px) {
    .u-sheet {
        width: 340px;
    }
}

/* Hide elements with hidden-originally class */
.hidden-originally {
    display: none !important;
}
