/* /assets/css/style.css */

:root {
    --primary-color: #0A192F; /* Deep Navy */
    --primary-light: #112240;
    --secondary-color: #F8F9FA; /* Warm White */
    --accent-color: #D69E2E; /* Golden Amber */
    --accent-hover: #B7791F;
    --text-main: #333333;
    --text-light: #6c757d;
    --border-color: #E2E8F0;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(10, 25, 47, 0.05);
    --shadow-md: 0 4px 6px rgba(10, 25, 47, 0.1);
    --shadow-lg: 0 10px 15px rgba(10, 25, 47, 0.1);
    
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6 {
    color: white !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.bg-light-blue { background-color: #f1f5f9; }

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-accent {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}
.btn-outline-accent:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loader-content { text-align: center; color: white; }
.trade-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.trade-nodes .node {
    width: 15px; height: 15px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
.trade-nodes .line {
    width: 40px; height: 2px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.trade-nodes .line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent-color);
    animation: lineFlow 1.5s infinite linear;
}
.loader-title { font-size: 24px; font-weight: 800; letter-spacing: 2px; margin: 0; }
.loader-subtitle { font-size: 12px; color: var(--accent-color); letter-spacing: 4px; margin-top: 5px; }

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
@keyframes lineFlow {
    100% { left: 100%; }
}

/* Navbar */
.main-header {
    transition: var(--transition);
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
}
.main-header.scrolled {
    box-shadow: var(--shadow-md);
}
.text-logo {
    color: white !important;
    line-height: 1.2;
}
.text-logo .small {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--accent-color);
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0.5rem;
    text-transform: uppercase;
    position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--primary-color);
    color: white;
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero/hero-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}
.hero-overlay-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}
.hero-title span { color: var(--accent-color); }
.hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2rem;
}
.hero-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}
.hero-label {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Enquiry Strip */
.enquiry-strip {
    background: var(--primary-light);
    padding: 20px 0;
    position: relative;
    z-index: 4;
    box-shadow: var(--shadow-lg);
}
.enquiry-strip .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.enquiry-strip .form-control::placeholder { color: rgba(255,255,255,0.5); }
.enquiry-strip .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-color);
    box-shadow: none;
}

/* Service Cards / Feature Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}
.service-number {
    position: absolute;
    top: -15px; right: 10px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(10, 25, 47, 0.03);
    z-index: 0;
}
.service-card .icon-wrapper {
    width: 60px; height: 60px;
    background: var(--bg-light-blue);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--accent-color);
}
.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Trade Path Network */
.trade-path-section {
    background: var(--primary-color);
    color: white;
    padding: 100px 0;
    position: relative;
}
.trade-path-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 3rem;
}
.trade-path-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.2);
    z-index: 1;
}
.trade-path-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.5s ease;
}
.trade-node {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    cursor: pointer;
}
.trade-node-circle {
    width: 80px; height: 80px;
    background: var(--primary-light);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.trade-node.active .trade-node-circle, .trade-node:hover .trade-node-circle {
    background: var(--primary-color);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(214, 158, 46, 0.3);
}
.trade-node-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.trade-node-desc {
    font-size: 0.85rem;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(10px);
}
.trade-node.active .trade-node-desc {
    opacity: 0.8;
    transform: translateY(0);
}

/* Category/Product Cards */
.category-card {
    border: none;
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.category-card:hover {
    box-shadow: var(--shadow-md);
}
.category-img-wrapper {
    position: relative;
    padding-top: 66%; /* 3:2 aspect ratio */
    overflow: hidden;
}
.category-img-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover img {
    transform: scale(1.05);
}
.category-content {
    padding: 1.5rem;
}
.category-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: white;
}
.footer-title {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}
.footer-heading {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.footer-contact p { color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--accent-color); }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--accent-color); }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: var(--primary-light);
    z-index: 1050;
    padding: 15px 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}
.mobile-sticky-cta {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    z-index: 1040;
    background: white;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Misc Utilities */
.section-padding { padding: 80px 0; }
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}
