/* Reset & global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
}

.mobile-container {
    width: 100%;
    
}
.main-content {
    padding: 20px 15px 0; /* reduced top padding for mobile */
}

/* Header */
.header {
    background-color: #ffffff;
    width: 100%;
}

.header-top {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center horizontally */
    gap: 0.5rem;            /* spacing between date and social icons */
    padding: 0.5rem 0;
}

/* Date */
/* ===== Language Dropdown Only ===== */

.date{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    position:relative;
    font-size:1.1rem;
    color:#1a1a1a;
    text-align:center;
}

/* wrapper */
.date .language-dropdown{
    position:relative;
    display:flex;
    align-items:center;
}

/* button */
.date .language-btn{
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* svg */
.date .langbtn{
    width:24px;
    height:24px;
    display:block;
}

/* dropdown menu */
.date .language-menu {
    position: absolute;
    top: 130%;
    left: 0;
    background: #fff;
    min-width: 120px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    display: none;
    z-index: 999999;
}

/* links */
.date .language-menu a{
    padding:10px 14px;
    text-decoration:none;
    color:#1a1a1a;
    font-size:14px;
    display:block;
}


/* show menu */
.date .language-dropdown.active .language-menu {
    display: flex;
    flex-direction: column;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.75rem;
    position: static; /* remove absolute */
    justify-content: center; /* center icons horizontally */
}

.social-icons img {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.social-icons img:hover {
    opacity: 0.7;
}




/* Divider */
.divider {
    border-top: 1px solid #d1d5db;
   
}

/* Logo */
.logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    margin: 0.5rem 0;
}

.logo-image {
    max-height: 169px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    max-height: 2rem;
    width: auto;
    object-fit: contain;
    margin-top: 0.25rem;
}

/* Navigation - horizontal scroll */
.navigation {
    display: flex;
    overflow-x: auto;
    gap: 0.2rem;
    
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.navigation::-webkit-scrollbar {
    display: none; /* hide scrollbar */
}

.nav-link {
    flex: 0 0 auto; /* don't shrink */
    padding: 0.5rem 0.30rem;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ab8b08;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #101010;
    border: 1px solid #ffffff;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.footer-nav a {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #cccccc;
}

.copyright {
    font-size: 11px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
}

/* Links */
a {
    color: #1a1a1a;
    text-decoration: none;
}


/* Hamburger Menu */
.hamburger-menu {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* above everything */
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: 0.3s;
}

/* Animate hamburger to X */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay Navigation */
.overlay-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #ffffff;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 2px 0 12px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 1000;
}

.overlay-nav.active {
    left: 0;
}

/* All items */
.mobile-item {
    width: 100%;
}

/* Parent Row */
.mobile-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Parent Link */
.nav-link {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
}

/* Arrow */
.mobile-arrow {
    width: 10px;
    height: 10px;
    position: relative;
}

.mobile-arrow::after {
    border-bottom: 2px solid #8F99A3;
    border-right: 2px solid #8F99A3;
    content: "";
    display: inline-block;
    height: 6px;
    width: 6px;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    transition: transform 0.3s ease;
}

/* Arrow rotate when open */
.mobile-parent.open .mobile-arrow::after {
    transform: rotate(225deg);
}

/* Dropdown for children */
.mobile-dropdown {
    display: none;
    flex-direction: column;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid #ab8b08;
    margin-top: 8px;
}

/* Visible when parent is expanded */
.mobile-dropdown.show {
    display: flex;
}

/* Child Items */
.mobile-dropdown-link {
    font-size: 15px;
    color: #1a1a1a;
    padding: 6px 0;
    text-decoration: none;
}

.mobile-dropdown-link:hover {
    color: #ab8b08;
}

/* Backdrop */
.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 900;
}

.overlay-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}





