/*
Theme Name: Smart Line Custom
Theme URI: https://smartline-survey.com
Author: Smart Line
Description: A custom, premium, lightweight theme for Smart Line Geophysical Survey.
Version: 1.0
Text Domain: smartline
*/
/* Corporate Engineering Theme Variables */
:root {
    --primary: #0f365c; /* Corporate Navy */
    --secondary: #e67e22; /* Safety/Earth Orange */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #e0e6ed;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(15, 54, 92, 0.05);
    --shadow-md: 0 10px 20px rgba(15, 54, 92, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

.highlight {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #d35400;
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--secondary);
    margin-right: 6px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
}

.social-links a:hover {
    color: white;
}

.navbar {
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-smart {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

.nav-links .btn {
    color: white;
}

.nav-links .btn:hover {
    color: white;
}

/* Hero Section */
.hero {
    margin-top: 100px; /* Offset for header */
    background: var(--primary);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230,126,34,0.1) 0%, rgba(230,126,34,0) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    z-index: 1;
}

.hero-text {
    flex: 1;
    color: white;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-graphic {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.grid-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.data-box {
    background: white;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary);
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.data-box i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.data-2 {
    margin-right: 50px;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Trust Banner */
.trust-banner {
    background: var(--bg-alt);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.trust-banner p {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat span {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Services */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.learn-more {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    color: var(--primary);
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, #1a4b7c 100%);
    color: white;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.cta-form-container {
    background: white;
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clean-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.clean-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    resize: vertical;
}

.clean-form input:focus, .clean-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: flex;
    gap: 15px;
}
.form-row input {
    flex: 1;
}

/* About Page */
.about-hero {
    margin-top: 100px;
    background: var(--bg-alt);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-content-section {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text-column h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text-column p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-box {
    background: var(--primary);
    color: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
}

.mission-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.mission-box h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mission-box p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--bg-alt);
    padding: 80px 0 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-footer {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-light);
    max-width: 300px;
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a {
    color: var(--text-light);
}

.footer ul a:hover {
    color: var(--secondary);
}

.contact-list li {
    color: var(--text-light);
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-list i {
    color: var(--primary);
}

.footer-bottom {
    background: white;
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-graphic { display: none; }
    .cta-container { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .hero { margin-top: 70px; }
    .hero-title { font-size: 2.5rem; }
    .stats-row { flex-direction: column; gap: 30px; }
    .nav-links { display: none; } /* Simple hiding for prototype */
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 15px; }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-graphic .data-box {
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

.grid-pattern {
    z-index: 0;
}
