/* Macolam Energy Solutions - Website Styles */

/* Font Families */
.font-roboto-slab { 
    font-family: 'Roboto Slab', serif; 
}

/* Hero Section Background */
.hero-bg {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/image_1749340250211.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom Color Variables */
:root {
    --steel-blue-500: hsl(214, 95%, 54%);
    --steel-blue-600: hsl(214, 95%, 48%);
    --industrial-orange-500: hsl(18, 90%, 50%);
    --industrial-orange-600: hsl(0, 84%, 60%);
    --steel-gray-600: hsl(215, 16%, 35%);
    --steel-gray-700: hsl(215, 25%, 27%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styling */
header {
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Navigation Hover Effects */
nav a {
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--industrial-orange-500);
}

/* Button Styling */
.btn-primary {
    background-color: var(--steel-blue-500);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--steel-blue-600);
}

/* Partner Logo Containers */
.partner-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    min-height: 80px;
    transition: background-color 0.3s ease;
}

.partner-logo-container:hover {
    background-color: #f3f4f6;
}

.partner-logo {
    max-width: 100%;
    max-height: 3rem;
    object-fit: contain;
}

/* Product Grid Styling */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styling */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--steel-gray-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--steel-blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer Styling */
footer {
    background-color: var(--steel-gray-700);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-bg {
        padding: 3rem 0;
    }
    
    .partner-logo-container {
        padding: 1rem;
        min-height: 60px;
    }
    
    .partner-logo {
        max-height: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Text Colors */
.text-primary {
    color: var(--steel-blue-500);
}

.text-secondary {
    color: var(--steel-gray-600);
}

.text-accent {
    color: var(--industrial-orange-500);
}