
:root {
    --primary-color: #FFC107;
    --secondary-color: #FFA000;
    --dark-bg: #121212;
    --light-bg: #f8f9fa;
    --text-color-dark: #e0e0e0;
    --text-color-light: #333;
    --card-bg: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color-dark);
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--secondary-color); }
ul { list-style-position: inside; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: var(--primary-color);
    font-weight: 400;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-color-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

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

.lang-switcher a {
    color: #aaa;
    font-weight: 500;
}
.lang-switcher span { color: #555; }
.lang-switcher a.active {
    color: #fff;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Main Content & Sections --- */
main {
    padding-top: var(--header-height);
}

.section {
    padding: 0 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.clipped-section {
    background-color: var(--dark-bg);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    padding-top: 8rem;
    padding-bottom: 8rem;
    margin-top: -5rem;
}
.bg-light.clipped-section {
    background-color: var(--card-bg);
}

.clipped-section-reverse {
    background-color: var(--card-bg);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding-top: 8rem;
    padding-bottom: 8rem;
    margin-top: -5rem;
}

/* --- Hero Section --- */
.hero {
    height: calc(100vh - var(--header-height));
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://source.unsplash.com/1920x1080/?global,business') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
    color: var(--text-color-dark);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #121212;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #000;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #121212;
    transform: translateY(-3px);
}

/* --- Grids & Cards --- */
.grid-2, .grid-3 {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.service-card, .value-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon, .value-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-intro-image img, .about-content-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- Call to Action (CTA) --- */
.section-cta {
    background: url('https://source.unsplash.com/1920x500/?abstract,geometric') no-repeat center center/cover;
    position: relative;
    color: #fff;
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 160, 0, 0.8);
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.section-cta h2 { font-size: 2.2rem; color: #121212;}
.section-cta p { max-width: 600px; margin: 1rem auto 2rem; color: #121212; font-weight: 500;}
.section-cta .btn-primary {
    background-color: #121212;
    color: #fff;
}
.section-cta .btn-primary:hover {
    background-color: #000;
    color: var(--primary-color);
}


/* --- Footer --- */
.footer {
    background-color: #0c0c0c;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col li {
    margin-bottom: 0.75rem;
}
.footer-col a {
    color: var(--text-color-dark);
}
.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-col p {
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #aaa;
}

/* --- Page Header --- */
.page-header {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.7);
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: 3.5rem;
}

/* --- Services Page --- */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.category-card:hover {
    transform: scale(1.05);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover img {
    transform: scale(1.1);
}
.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
}
.category-card h3 {
    color: #fff;
    font-size: 1.6rem;
}

/* Service Detail Page */
.service-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}
.service-content li {
    margin-bottom: 0.75rem;
}
.cta-service {
    background-color: var(--card-bg);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    margin-top: 3rem;
}

/* --- Geography Page --- */
.map-container {
    position: relative;
    margin-bottom: 4rem;
}
.world-map { width: 100%; height: auto; }
.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    text-align: center;
}
.marker-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #fff;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.marker-dot.warehouse {
    background-color: #f57c00; /* Different color for warehouses */
}
.marker-label {
    color: #fff;
    font-weight: 600;
    background-color: rgba(0,0,0,0.7);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.map-marker:hover .marker-dot {
    transform: scale(1.5);
}
.map-marker:hover .marker-label {
    opacity: 1;
    transform: translateY(0);
}
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.location-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.location-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.location-card-header span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* --- Certificates Page --- */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.certificate-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.certificate-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: #fff;
}
.certificate-info h3 { font-size: 1.4rem; }
.certificate-info p { font-size: 0.9rem; color: #ccc; margin-bottom: 0; }

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-color-dark);
    font-family: inherit;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact-info-icon { color: var(--primary-color); }
.contact-info-item h3 { margin-bottom: 0.25rem; }
.contact-info-item p { margin-bottom: 0; color: #ccc; }


/* --- Animation --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* --- Media Queries --- */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .about-intro-text { order: 2; }
    .about-intro-image { order: 1; }
    .about-content-image { margin-bottom: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    h1, .hero-title { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .clipped-section, .clipped-section-reverse {
        clip-path: none;
        margin-top: 0;
        padding: 4rem 0;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--dark-bg);
        transition: left 0.3s ease-in-out;
    }
    .nav.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 1.5rem;
    }
    .nav-list a { font-size: 1.2rem; }
    .menu-toggle { display: block; }
}
