/* ==========================================================================
   BULKELL LIMITED | PREMIUM INDUSTRIAL UI (DARK MODE)
   ========================================================================== */

:root {
    /* Premium Dark Industrial Palette */
    --bg-base: #0B1120;
    --bg-surface: rgba(30, 41, 59, 0.7);
    --bg-card: rgba(15, 23, 42, 0.6);
    
    --primary-accent: #38BDF8; /* Electric Blue */
    --safety-gold: #F5A524;    /* Vibrant Industrial Gold */
    --accent-glow: rgba(56, 189, 248, 0.15);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    --max-width: 1200px;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Subtle background grain/texture effect */
    background-image: radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.04), transparent 25%),
                      radial-gradient(circle at 85% 30%, rgba(245, 165, 36, 0.03), transparent 25%);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

[id] {
    scroll-margin-top: 100px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); }
    50% { box-shadow: 0 0 25px rgba(56, 189, 248, 0.4); }
    100% { box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Chrome-Safe Navigation (Glassmorphism) */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-fast);
}

.site-nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(11, 17, 32, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--primary-accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-accent), #0284C7);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* 2. Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

/* Dynamic grid background */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--border-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-content {
    max-width: 850px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    margin-bottom: 2rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

.badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-accent);
    margin-right: 10px;
    box-shadow: 0 0 8px var(--primary-accent);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--safety-gold), #D97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 650px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* 3. Global Section Styling */
.section {
    padding: 10rem 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-base) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 4. Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.grid-2.invert {
    direction: rtl;
}

.grid-2.invert .text-block {
    direction: ltr;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* 5. Components */
.accent-bar {
    width: 80px;
    height: 4px;
    background: var(--primary-accent);
    margin-bottom: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.accent-bar.gold {
    background: var(--safety-gold);
    box-shadow: 0 0 15px rgba(245, 165, 36, 0.4);
}

.text-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 800;
}

.text-block p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-accent);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium Image Blocks */
.image-block {
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    border: 1px solid var(--border-highlight);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.image-block::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.9) 0%, rgba(11, 17, 32, 0.2) 100%);
    z-index: 1;
}

.image-block:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.image-overlay {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 2;
}

.image-overlay .label {
    font-family: 'Outfit', sans-serif;
    color: var(--safety-gold);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.image-overlay .title {
    color: white;
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Service Cards */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3.5rem 2.5rem;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--safety-gold), var(--primary-accent));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--border-highlight);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    color: var(--primary-accent);
}

.card-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: var(--transition-smooth);
}

.service-card:hover .card-num {
    color: rgba(56, 189, 248, 0.1);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.check-list {
    list-style: none;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.check-list li {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.check-list li svg {
    width: 18px;
    height: 18px;
    color: var(--safety-gold);
    margin-right: 12px;
    flex-shrink: 0;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), #0284C7);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, #7DD3FC, var(--primary-accent));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Plant Hire Extensions */
.fleet-section {
    background: radial-gradient(circle at center, #0F172A 0%, #020617 100%);
    border-top: 1px solid var(--border-glass);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    list-style: none;
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.tech-grid li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.tech-grid li svg {
    width: 20px;
    height: 20px;
    color: var(--safety-gold);
    margin-right: 12px;
    flex-shrink: 0;
}

/* Form Styles */
.form-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 4rem;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.industrial-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.industrial-form input,
.industrial-form select,
.industrial-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(11, 17, 32, 0.6);
    border: 1px solid var(--border-highlight);
    border-radius: 8px;
    color: white;
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.industrial-form input:focus,
.industrial-form select:focus,
.industrial-form textarea:focus { 
    border-color: var(--primary-accent); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: rgba(15, 23, 42, 0.9);
}

.industrial-form select option {
    background: var(--bg-base);
    color: white;
}

.w-full { width: 100%; border: none; cursor: pointer; }

/* Contact Specific Styles */
.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    margin-right: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.detail-content strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.detail-content, .detail-content a {
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.5;
    transition: var(--transition-fast);
}

.detail-content a:hover {
    color: var(--primary-accent);
}

/* Footer */
.site-footer {
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--border-glass);
    background: #05080F;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a, .footer-col p {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--primary-accent);
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 4rem; }
    .grid-2.invert { direction: ltr; }
    .image-block { height: 400px; order: -1; }
    .hero { text-align: center; }
    .hero-btns { justify-content: center; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .stats-row { flex-direction: column; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .copyright { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
    .section { padding: 6rem 0; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-card { padding: 2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; }
}
