/* SOARZ Automation Website Styles */

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    line-height: 1.6; 
    margin: 0; 
    padding: 0; 
    color: #333; 
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 20px; 
}

/* Header Styles */
.header { 
    background: linear-gradient(135deg, #0A3D62 0%, #1e5799 100%); 
    color: #fff; 
    text-align: center; 
    padding: 3rem 1rem; 
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.05"/><circle cx="30" cy="5" r="1" fill="white" opacity="0.03"/><circle cx="70" cy="15" r="1.2" fill="white" opacity="0.04"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>') repeat;
}

.header-content { 
    position: relative; 
    z-index: 1; 
}

.header .logo { 
    max-height: 200px; 
    width: auto;
    margin: 0 auto 1rem; 
    display: block;
}

.header h1 { 
    margin: 0; 
    font-size: 3.5rem; 
    font-weight: 700; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); 
}

.header .tagline { 
    color: #f1f1f1; 
    font-size: 1.3rem; 
    margin-top: 0.5rem; 
    font-weight: 300; 
}

/* Section Styles */
.section { 
    padding: 60px 0; 
}

.section:nth-child(even) { 
    background: #f8f9fa; 
}

h2 { 
    text-align: center; 
    margin-bottom: 50px; 
    font-size: 2.5rem; 
    color: #0A3D62;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #D98324;
    margin: 20px auto;
}

/* Services Styles */
.services-grid, .portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}

.service, .project { 
    padding: 30px; 
    background: white;
    border: none;
    border-radius: 12px; 
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover, .project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service h3, .project h3 { 
    color: #0A3D62; 
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D98324, #f39c12);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

/* About Section */
.about { 
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px; 
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about img { 
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px; 
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0A3D62, #1e5799);
    color: white;
    text-align: center;
}

.contact h2 { 
    color: white; 
}

.contact h2::after { 
    background: #D98324; 
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    margin-top: 0;
    color: #D98324;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #D98324;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #c77011;
    color: white;
}

/* Footer Styles */
.footer { 
    text-align: center; 
    padding: 30px; 
    background-color: #2c3e50;
    color: white;
}

.footer a { 
    color: #D98324; 
    text-decoration: none; 
}

.footer a:hover { 
    text-decoration: underline; 
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Tech Stack */
.tech-stack {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.tech-stack h4 {
    color: #0A3D62;
    margin-bottom: 15px;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background: #0A3D62;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Blog Styles */
.blog-preview {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.blog-preview h3 {
    color: #0A3D62;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.blog-excerpt {
    line-height: 1.7;
    margin-bottom: 25px;
}

.read-more {
    color: #D98324;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 { 
        font-size: 2.5rem; 
    }
    
    .about { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .services-grid, .portfolio-grid { 
        grid-template-columns: 1fr; 
    }
    
    .contact-info { 
        grid-template-columns: 1fr; 
    }
}
