/* ============================================
   METALMECANICA TECH - INDUSTRIAL MINIMALISM
   Colors: Red (#DC143C), White, Dark Gray (#1F2937), Orange (#FF6B35)
   Typography: Poppins (headings), Inter (body)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1F2937;
    background-color: #FFFFFF;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: #6B7280;
}

a {
    color: #DC143C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B35;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 2.5rem;
    width: auto;
    border-radius: 0.25rem;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
}

.quote-btn {
    background-color: #DC143C;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-btn:hover {
    background-color: #B91C1C;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #DC143C;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #DC143C;
    border: 2px solid #DC143C;
}

.btn-outline:hover {
    background-color: #FEF2F2;
    border-color: #DC143C;
    color: ##DC143C;
}

.btn-accent {
    background-color: #DC143C;
    color: #FFFFFF;
}

.btn-accent:hover {
    background-color: #DC143C;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 24rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 40rem;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.hero-content p {
    color: #E5E7EB;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .hero {
        height: 32rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* ============================================
   DIVIDERS
   ============================================ */

.divider-red {
    height: 0.25rem;
    background-color: #DC143C;
}

/* ============================================
   SECTION HEADER
   ============================================ */

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #1F2937;
}

.underline {
    width: 4rem;
    height: 0.25rem;
    background-color: #DC143C;
    margin-bottom: 1.5rem;
}

.section-header p {
    max-width: 32rem;
    font-size: 1.1rem;
}

/* ============================================
   TECHNOLOGIES SECTION
   ============================================ */

.technologies {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   TECHNOLOGY CARD
   ============================================ */

.tech-card {
    background-color: #FFFFFF;
    border-left: 4px solid #DC143C;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.tech-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tech-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
    background-color: #F3F4F6;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-card:hover .tech-image img {
    transform: scale(1.05);
}

.tech-content {
    padding: 1.5rem;
}

.tech-content h3 {
    margin-bottom: 0.5rem;
    color: #1F2937;
}

.tech-content > p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Features */
.features {
    margin-bottom: 1.5rem;
}

.features h4 {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.features ul {
    list-style: none;
    space-y: 0.5rem;
}

.features li {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #6B7280;
}

.dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #DC143C;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.button-group .btn {
    flex: 1;
}

/* ============================================
   FORMS
   ============================================ */

.tech-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
    animation: slideIn 0.3s ease;
}

.tech-form.hidden {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DC143C;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tech-form .btn {
    width: 100%;
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section {
    padding: 4rem 0;
    background-color: #F9FAFB;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .quote-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.quote-info h2 {
    margin-bottom: 1rem;
}

.quote-info p {
    margin-bottom: 2rem;
    max-width: 32rem;
}

/* Contact Items */
.contact-items {
    space-y: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: #1F2937;
}

.contact-item p {
    margin: 0;
    color: #6B7280;
}

/* Quote Form Container */
.quote-form-container {
    background-color: #FFFFFF;
    border-left: 4px solid #DC143C;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quote-form {
    space-y: 1rem;
}

.quote-form .form-group {
    margin-bottom: 1rem;
}

.quote-form .btn {
    margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col p {
    color: #D1D5DB;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #DC143C;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-grid {
        gap: 2rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden {
    display: none !important;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

button, a {
    transition: all 0.3s ease;
}
