/* Modern Reset & Base Styles - Light & Elegant Theme */
:root {
    /* New Light Palette */
    --bg-color: #f8fafc;
    /* Slate 50 */
    --text-color: #334155;
    /* Slate 700 */
    --primary-color: #0369a1;
    /* Sky 700 - Strong Professional Blue */
    --secondary-color: #f59e0b;
    /* Amber 500 - Construction Orange */
    --accent-color: #0ea5e9;
    /* Sky 500 */

    /* Glassmorphism tuned for Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.85);
    /* Milky white glass */
    --glass-border: rgba(203, 213, 225, 0.4);
    /* Slate 300 semi-transparent */

    --container-width: 1200px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #0f172a;
    /* Slate 900 for headings */
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: #475569;
    /* Slate 600 */
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    color: #1e293b;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(3, 105, 161, 0.05), transparent 40%);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-content p {
    font-size: 1.25rem;
    color: #475569;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(3, 105, 161, 0.2);
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.3);
}

.btn-outline {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f9ff;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: #ffffff;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.footer-logo {
    color: #0f172a;
}

.footer-content p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Decorative Background Elements */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.15;
    /* More subtle in light mode */
}

.blob-1 {
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
}

.blob-2 {
    bottom: 0;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid #e2e8f0;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 140px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Cranes Grid */
.cranes-grid {
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    /* Fallback for older browsers if needed */
    box-sizing: border-box;
}

.crane-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.crane-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.crane-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.crane-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.crane-card:hover .crane-image img {
    transform: scale(1.05);
}

.crane-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.crane-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.crane-specs {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item .label {
    color: #64748b;
    font-weight: 500;
}

.spec-item .value {
    color: #0f172a;
    font-weight: 700;
}

.inner-hero {
    min-height: 40vh;
    padding-top: 150px;
    padding-bottom: 50px;
}