/* CSS Custom Properties - Professional Color Scheme */
:root {
    --primary-blue: #1e4d8b;
    --secondary-blue: #4a90e2;
    --accent-blue: #2563eb;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6b7280;
    --dark-gray: #374151;
    --text-dark: #1f2937;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: bold;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* Header Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: var(--secondary-blue);
}

/* Hero Section with Splide Slider */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
}

/* Hero Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .splide__track,
.hero-slider .splide__list,
.hero-slider .splide__slide {
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-slider .splide {
        --splide-transition-duration: 0ms;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
}

.hero-logo h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-tagline {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    letter-spacing: 1px;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: 1px;
    color: var(--white);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-group {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 1px;
    color: var(--white);
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.3;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.stat-highlight h3 {
    color: var(--primary-blue);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    background-color: var(--white);
}

.projects-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.projects-text h2 {
    color: var(--primary-blue);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Engineers Section */
.engineers {
    background-color: var(--light-gray);
}

.engineers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.engineers-text h2 {
    color: var(--primary-blue);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Image Styles */
.content-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.service-image img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

/* Fallback background styles if images don't load */
.industrial-facility {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
}

.offshore-platform {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
}

.office-workspace {
    background: linear-gradient(45deg, var(--medium-gray), var(--dark-gray));
}

.industrial-design {
    background: linear-gradient(45deg, var(--primary-blue), var(--dark-gray));
}

.engineering-consultancy {
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
}

.technical-assistance {
    background: linear-gradient(45deg, var(--dark-gray), var(--primary-blue));
}

/* Services Section */
.services {
    background-color: var(--white);
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.service-image {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    color: var(--medium-gray);
    border-bottom: 1px solid #e5e7eb;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Download Section */
.download {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.download h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.download-button {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.map-placeholder {
    background-color: var(--medium-gray);
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .about-content,
    .projects-content,
    .engineers-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 70vh;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-logo h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
        margin-bottom: 1rem;
    }

    .hero-group {
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    }
    
    section {
        padding: 2rem 0;
    }
}