/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

/* Thai font support */
[lang="th"], 
[data-translate]:lang(th),
html[lang="th"] * {
    font-family: 'IBM Plex Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Ensure Thai characters use IBM Plex Sans Thai */
html[lang="th"] body,
html[lang="th"] * {
    font-family: 'IBM Plex Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    height: 40px;
    margin-right: 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    flex: 1;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover {
    color: #fbb511;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 950px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.nav-links li.dropdown-active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.dropdown-main {
    border-right: 1px solid #E5E5E5;
    padding-right: 40px;
}

.dropdown-title {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dropdown-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: #000000 !important;
    background: #F5F5F5;
    transition: all 0.3s ease;
}

.dropdown-action:hover {
    background: #fbb511;
    color: #000000 !important;
}

.dropdown-action-icon {
    width: 32px;
    height: 32px;
    background: #F5F5F5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: bold;
}

.dropdown-action:hover .dropdown-action-icon {
    background: #fbb511;
}

.dropdown-action-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dropdown-action-text p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.dropdown-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.dropdown-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
}

.dropdown-section p {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #F5F5F5;
    color: #000000 !important;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-btn:hover {
    background: #fbb511;
    color: #000000 !important;
}

.dropdown-btn::after,
.dropdown-btn::before {
    display: none !important;
    content: none !important;
}

/* Enterprise Dropdown Specific Styles */
.dropdown-enterprise {
    min-width: 1000px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-enterprise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 300px;
}

.dropdown-enterprise-text {
    padding: 40px;
    background: white;
}

.dropdown-enterprise-title {
    font-size: 24px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.dropdown-enterprise-description {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 400;
}

.dropdown-enterprise-subtitle {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
}

.dropdown-enterprise-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    color: #000000 !important;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: none;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-enterprise-cta:hover {
    background: #fbb511;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 181, 17, 0.4);
}

.dropdown-enterprise-cta::after,
.dropdown-enterprise-cta::before {
    display: none !important;
    content: none !important;
}

.dropdown-enterprise-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.dropdown-warehouse-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scrolled state text colors */
.navbar.scrolled .nav-links a {
    color: #000000;
}

.navbar.scrolled .nav-links a:hover {
    color: #fbb511;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-left: auto;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.lang-btn {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-width: 50px;
    text-align: center;
    line-height: 1.2;
}

.lang-btn:hover {
    background: #FFFFFF;
    color: #000000;
}

.lang-btn.active {
    background: #fbb511;
    color: #000000;
    border-color: #fbb511;
}

/* Scrolled state language button colors */
.navbar.scrolled .lang-btn {
    border-color: #000000;
    color: #000000;
}

.navbar.scrolled .lang-btn:hover {
    background: #000000;
    color: #FFFFFF;
}

.navbar.scrolled .lang-btn.active {
    background: #fbb511;
    color: #000000;
    border-color: #fbb511;
}

.btn-primary {
    background: #704a1f;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #5a3a19;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #000000;
}

/* Scrolled state button colors */
.navbar.scrolled .btn-secondary {
    color: #000000;
    border-color: #000000;
}

.navbar.scrolled .btn-secondary:hover {
    background: #000000;
    color: #FFFFFF;
}
