/*
Theme Name: 3DX Housing Solutions
Description: Custom theme for 3DX cold-formed steel housing
Author: 3DX Construction
Version: 1.0.0
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Professional Color Palette */
:root {
    --steel-blue: #2c5282;
    --copper-accent: #b7835a;
    --platinum: #e5e4e2;
    --charcoal: #36454f;
    --success-green: #2e8b57;
    --warning-orange: #ff6b35;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--steel-blue) 0%, var(--charcoal) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100"><defs><pattern id="steel" patternUnits="userSpaceOnUse" width="10" height="10"><rect width="10" height="10" fill="%23ffffff" opacity="0.02"/><rect width="1" height="10" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23steel)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-tagline {
    font-size: 1.8rem;
    color: var(--copper-accent);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--platinum);
    margin-bottom: 40px;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: var(--copper-accent);
    color: white;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-primary:hover {
    background: #a0734d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 131, 90, 0.3);
}

.cta-secondary:hover {
    background: white;
    color: var(--steel-blue);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--steel-blue);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--copper-accent);
}

/* Value Propositions */
.value-props {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--steel-blue);
    margin-bottom: 60px;
    font-weight: 700;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.prop-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.prop-card:hover {
    transform: translateY(-10px);
}

.prop-icon {
    font-size: 4rem;
    color: var(--copper-accent);
    margin-bottom: 20px;
}

.prop-title {
    font-size: 1.5rem;
    color: var(--steel-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.prop-description {
    color: #666;
    line-height: 1.6;
}

/* Product Grid */
.product-showcase {
    padding: 80px 0;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--steel-blue), var(--copper-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-content {
    padding: 25px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--steel-blue);
    margin-bottom: 5px;
}

.product-size {
    color: var(--copper-accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 5px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li:before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    margin-right: 10px;
}

/* Technology Section */
.technology {
    padding: 80px 0;
    background: var(--steel-blue);
    color: white;
}

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

.tech-item {
    text-align: center;
    padding: 30px;
}

.tech-icon {
    font-size: 3rem;
    color: var(--copper-accent);
    margin-bottom: 20px;
}

.tech-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-description {
    color: var(--platinum);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--steel-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--copper-accent);
}

.submit-btn {
    background: var(--copper-accent);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #a0734d;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px 0;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--copper-accent);
    margin-right: 15px;
    width: 40px;
}

.contact-details h4 {
    color: var(--steel-blue);
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: var(--copper-accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--platinum);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--copper-accent);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: var(--platinum);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .props-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .prop-card,
    .contact-form {
        padding: 25px;
    }
}