/* Base Variables - Gold and Dark Theme */
:root {
    --color-bg: #0f1115;
    --color-bg-darker: #08090a;
    --color-bg-deep: #050607;
    --color-gold: #FFD700;
    --color-gold-dark: #DAA520;
    --color-gold-light: #FFEA70;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-glass-bg: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 215, 0, 0.1);
    --color-glass-shadow: rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.text-gold {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-darker { background-color: var(--color-bg-darker); }
.bg-dark-deep { background-color: var(--color-bg-deep); }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Glassmorphism Utilities */
.glass {
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: 1rem;
    box-shadow: 0 8px 32px var(--color-glass-shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-deep);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--color-text-muted);
    color: var(--color-text);
    padding: 0.5rem 1.2rem;
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(15, 17, 21, 0.9);
    padding: 0.8rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
}

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

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--color-gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.8) 0%, var(--color-bg) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero_excavator.png') center/cover no-repeat;
    opacity: 1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15,17,21,0) 0%, var(--color-bg) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.image-wrapper {
    position: relative;
    padding: 1rem;
    border-radius: 2rem;
}

.image-wrapper img {
    width: 100%;
    border-radius: 1.5rem;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(25, 27, 33, 0.8);
}

.floating-badge .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.floating-badge .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Operations Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.card.interactive:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text-muted);
}

/* CTA */
.cta-container {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links a, .footer-contact p {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact i {
    width: 20px;
    color: var(--color-gold);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.right { transform: translateX(50px); }
.scroll-reveal.right.visible { transform: translateX(0); }

/* Responsive */
@media (max-width: 991px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        padding: 2rem;
    }
    .nav-links.active { left: 0; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .hero-buttons { flex-direction: column; }
    .section-title { font-size: 2.2rem; }
    .cta-container { padding: 3rem 1.5rem; }
}
