/* Hero Section Styles */

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-text-main);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1); /* Industrial moody look */
    transform: scale(1.1); /* Prepare for paralax scale down or move */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(5, 10, 20, 0.9) 0%, 
        rgba(5, 10, 20, 0.7) 50%,
        rgba(5, 10, 20, 0.4) 100%
    ); /* Gradient from dark navy to transparent */
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Offset for header */
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-accent); /* Changed from primary to accent orange for visibility */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem); /* Responsive fluid type */
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text-main); /* Outline effect */
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85); /* Changed to bright white with slight transparency */
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Button Global Overrides from Hero (Applied generally as per current setup) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--white); /* FIX: White text on Blue bg */
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-accent); /* Orange hover */
    border-color: var(--color-accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white); /* Default for dark backgrounds */
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--color-primary);
    border-color: var(--white);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh; /* Allow growth if content is long */
        padding-bottom: 60px;
    }

    .hero-content {
        padding-top: 120px; /* More space for fixed header */
        text-align: center;
    }

    .hero-text-wrapper {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem; /* Explicit mobile size backup */
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}
