@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
    /* Brand Colors - Modernized */
    --primary-color: #F1742D; /* Corporate Orange */
    --primary-dark: #d35400;
    --primary-light: #fff0e6;
    
    --secondary-color: #1a3c61; /* Deep Corporate Blue - More professional than #215D9D */
    --secondary-light: #2c5282;
    
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128c7e;
    
    /* Neutral Scale */
    --text-primary: #1a202c; /* Almost Black */
    --text-secondary: #4a5568; /* Dark Gray */
    --text-tertiary: #718096; /* Medium Gray */
    
    --bg-white: #ffffff;
    --bg-light: #f7fafc; /* Cool Gray Light */
    --bg-dark: #1a202c;
    
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;

    /* Spacing System */
    --container-max: 1280px;
    --header-height: 90px;
    --section-spacing: 40px; /* Reduced from 80px */
    
    /* UI Elements */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-secondary);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; transition: var(--transition-base); }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-spacing) 0;
}

section:nth-of-type(even) {
    background-color: var(--bg-light);
}

/* Icons */
.icon {
    width: 24px; height: 24px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    display: inline-block;
    vertical-align: middle;
}

.icon-whatsapp {
    stroke: none !important;
    fill: currentColor;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    height: var(--header-height);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 48px; /* Slightly larger */
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-base);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color);
}

.btn-highlight {
    background-color: var(--whatsapp-green);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.btn-highlight:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 60, 97, 0.95) 0%, rgba(26, 60, 97, 0.85) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    margin-top: calc(var(--header-height) * -1);
    padding-top: calc(var(--header-height) + 30px);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}

/* Section Headers */
.section-title {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}

.section-title h2 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.section-title p {
    color: var(--text-tertiary);
    font-size: 1.125rem;
}

/* Services Cards - Minimalist */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--bg-white);
    padding: 48px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    text-align: left; /* Modern Left Align */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .link-arrow {
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 64px; height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon .icon {
    width: 32px; height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.equipment-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equipment-card > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equipment-card .btn {
    margin-top: auto;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.equipment-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.equipment-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 400px;
    box-shadow: var(--shadow-md);
}

.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px;
    color: white;
}

.portfolio-overlay h3 { color: white; margin-bottom: 8px; }
.portfolio-overlay p { color: rgba(255,255,255,0.8); margin: 0; }

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 { color: white; }

/* Map Section */
.map-container {
    width: 100%;
    height: 400px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.map-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-tertiary);
    padding: 100px 0 40px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li { margin-bottom: 16px; }
.footer-col ul li a { color: var(--text-tertiary); }
.footer-col ul li a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; }

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-white);
        padding: 40px;
        box-shadow: var(--shadow-lg);
    }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px; right: 40px;
    width: 60px; height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    color: white;
    z-index: 999;
    transition: var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-dark);
}

.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.p-5 { padding: 1.25rem; }

.bg-placeholder { background-color: #e2e8f0; }

.lead-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

.align-middle { vertical-align: middle; }
.ml-1 { margin-left: 5px; }

.link-underline {
    color: inherit;
    text-decoration: underline;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.rounded-md { border-radius: var(--radius-md); }
.bg-light { background-color: var(--bg-light); }
.p-8 { padding: 2rem; }

/* Contact Specific */
.contact-icon-box {
    width: 50px; height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group { margin-bottom: 20px; }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(241, 116, 45, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Link Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto; /* Push to bottom if flex column */
}

.link-arrow:hover {
    color: var(--primary-dark);
}

.link-arrow svg {
    transition: transform 0.2s ease;
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-tertiary);
    transition: var(--transition-base);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* White Button (for dark backgrounds) */
.btn-white {
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid white;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
}

/* Background & Text Colors */
.bg-primary { background-color: var(--primary-color); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.text-white { color: white; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }

/* Typography Extras */
.font-bold { font-weight: 700; }
.text-4xl { font-size: 2.5rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

/* List Utilities */
.list-disc { list-style-type: disc; }
.pl-5 { padding-left: 1.25rem; }

/* Grid Extras */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
@media (min-width: 992px) {
    .grid-3-desktop {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Flex Extras */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

