/*
Theme Name: bluedream
Theme URI: http://bluedream.my
Author: Son Vu
Author URI: http://bluedream.my
Description: bluedream
Version: 1.0
License: GNU General Public License
Text Domain: bluedream
*/

/* ===== RESET & GLOBAL ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: white;
    background-color: #339eff;
}

html::-webkit-scrollbar {
    width: 4px;
}

html::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.25);
    border-radius: 20px;
}

a {
    color: #1a73e8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 999;
    transition: transform 0.4s ease;
}

.header-inner {
    margin: auto;
    padding: 10px 3.3333vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    max-height: 48px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    padding-left: 4vw;
}

.main-navigation a {
    text-decoration: none;
    font-weight: 500;
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

.site-header.header-hide {
    transform: translateY(-100%);
}

.site-logo {
    transition: opacity 0.3s ease;
}

.site-header.header-hide .site-logo {
    opacity: 0;
}

.site-header.header-show .site-logo {
    opacity: 1;
}

.main-navigation li {
    opacity: 0;
    transform: translateY(-8px);
}

.site-header.header-show .main-navigation li {
    opacity: 1;
    transform: translateY(0);
}

.site-header.header-show .main-navigation li {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-header.header-show .main-navigation li:nth-child(1) { transition-delay: 0.05s; }
.site-header.header-show .main-navigation li:nth-child(2) { transition-delay: 0.1s; }
.site-header.header-show .main-navigation li:nth-child(3) { transition-delay: 0.15s; }
.site-header.header-show .main-navigation li:nth-child(4) { transition-delay: 0.2s; }
.site-header.header-show .main-navigation li:nth-child(5) { transition-delay: 0.25s; }
.site-header.header-show .main-navigation li:nth-child(6) { transition-delay: 0.3s; }


/* --- CSS Footer Style --- */
.site-footer {
    color: #fff;
    padding: 60px 0 0;
    font-size: 14px;
    border-top: 1px dotted #ffffff3d;
}

.footer-container {
    margin: 0 auto;
    padding: 0 40px;
}

.footer-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.ft-logo {
    max-width: 100px;
    height: auto;
}
.ft-logo-text { font-size: 2rem; margin: 0; font-weight: 900; }

.ft-col-right {
    text-align: right;
    max-width: 50%;
}
.ft-company {
    font-size: clamp(2rem, 2.5vw, 3rem);
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #fff;
}
.ft-address, .ft-time {
    margin: 5px 0;
    line-height: 1.5;
}

.footer-row-2 {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
}

.ft-contact-item {
    flex: 1; 
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: center;
}
.ft-contact-item:last-child { border-right: none; }

.ft-label {
    font-weight: bold;
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
}

.ft-contact-item a, 
.ft-contact-item span {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.ft-contact-item span {
    font-weight: 300 !important;
}
.ft-contact-item a:hover { color: #ccc; }

.footer-row-3 {
    text-align: center;
    color: white;
    font-size: 12px;
    border-top: 1px solid #ffffff75;
    font-style: italic;
}