/* Ionia Industrial - CSS Styles */

/* CSS Variables - Based on brand guidelines */
:root {
    /* Primary Colors */
    --color-primary-dark: #1e3a5f;
    --color-primary: #2c5aa0;
    --color-secondary: #00d084;
    --color-accent: #ff6b35;

    /* Text Colors */
    --color-text-primary: #333333;
    --color-text-secondary: #666666;
    --color-text-light: #999999;

    /* Background Colors */
    --color-bg-light: #f5f5f5;
    --color-bg-white: #ffffff;
    --color-bg-dark: #1a1a1a;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 14px;
}

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

.btn-primary:hover {
    background-color: #00b571;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
    color: var(--color-secondary);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-primary-dark);
}

.logo-accent {
    color: var(--color-primary);
}

.nav-desktop {
    display: flex;
    gap: var(--spacing-md);
}

.nav-desktop a {
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--color-primary);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

/* Hero Section */
.hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-secondary), #4de6b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(44, 90, 160, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--color-text-secondary);
}

/* Products Section */
.products {
    background-color: var(--color-bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 2px solid var(--color-accent);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background-color: var(--color-accent);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.product-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.product-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-xs);
}

.product-card > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
}

.product-features {
    padding-left: var(--spacing-sm);
}

.product-features li {
    position: relative;
    padding-left: 20px;
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.product-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    background-color: white;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.service-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.125rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-xs);
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Industries Section */
.industries {
    background-color: var(--color-bg-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.industry-card {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    background-color: var(--color-bg-light);
    transition: all 0.3s ease;
}

.industry-card:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-4px);
}

.industry-card:hover h3 {
    color: white;
}

.industry-card:hover p {
    color: rgba(255,255,255,0.8);
}

.industry-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.industry-card h3 {
    font-size: 1.125rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s ease;
}

.industry-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Brands Section */
.brands {
    background-color: var(--color-bg-light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
}

.brand-item {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.brand-item:hover {
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
}

.contact .section-badge {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

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

.contact-info h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.contact-info > p {
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.contact-icon {
    font-size: 24px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    opacity: 0.9;
    font-size: 14px;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.contact-form textarea {
    resize: vertical;
}

.form-disclaimer {
    font-size: 12px;
    color: var(--color-text-light);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--color-bg-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: var(--color-text-light);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    color: white;
}

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

.footer-links a {
    color: var(--color-text-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-light);
    font-size: 14px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--spacing-lg));
        padding-bottom: var(--spacing-lg);
    }

    .hero-stats {
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2rem;
    }
}
