File Manager
Editing: style.css
/* Reset & Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-color: #2563eb; --secondary-color: #3b82f6; --accent-color: #1d4ed8; --text-color: #333333; --text-light: #666666; --bg-color: #ffffff; --bg-light: #f8fafc; --border-color: #e2e8f0; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --radius: 8px; } body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--bg-color); } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Typography */ h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; } h4 { font-size: 1.25rem; } p { margin-bottom: 1rem; color: var(--text-light); } a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; } a:hover { color: var(--accent-color); } /* Header & Navigation */ .header { background-color: var(--bg-color); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; } .navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; } .logo a { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); } .nav-menu { display: flex; list-style: none; gap: 2rem; } .nav-menu a { color: var(--text-color); font-weight: 500; padding: 0.5rem 0; position: relative; } .nav-menu a:hover, .nav-menu a.active { color: var(--primary-color); } .nav-menu a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary-color); } .hamburger { display: none; flex-direction: column; cursor: pointer; gap: 4px; } .hamburger span { width: 25px; height: 3px; background-color: var(--text-color); transition: 0.3s; } /* Hero Section */ .hero { background: linear-gradient(135deg, var(--bg-light) 0%, #51b9fe 100%); padding: 5rem 0; text-align: center; } .hero h1 { margin-bottom: 1rem; font-size: 3rem; } .hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem; color: var(--text-light); } /* Buttons */ .btn { display: inline-block; padding: 0.75rem 1.5rem; background-color: var(--primary-color); color: white; border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-align: center; } .btn:hover { background-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2); } .btn-secondary { background-color: white; color: var(--primary-color); border: 2px solid var(--primary-color); } .btn-secondary:hover { background-color: var(--primary-color); color: white; } /* Sections */ .section { padding: 4rem 0; } .section-title { text-align: center; margin-bottom: 3rem; } .section-title h2 { font-size: 2.5rem; margin-bottom: 1rem; } .section-title p { max-width: 600px; margin: 0 auto; } /* Products Grid */ .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .product-card { background: var(--bg-color); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease; } .product-card:hover { transform: translateY(-5px); } .product-image { height: 200px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--text-light); } .product-info { padding: 1.5rem; } .product-info h3 { margin-bottom: 0.5rem; } .price { color: var(--primary-color); font-weight: 600; font-size: 1.25rem; margin: 0.5rem 0; } /* Services Grid */ .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .service-card { text-align: center; padding: 2rem; background: var(--bg-color); border-radius: var(--radius); box-shadow: var(--shadow); } .service-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; } /* About Section */ .about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } .about-text { padding-right: 2rem; } .about-image { /* background: var(--bg-light); */ background: center/cover no-repeat url('includes/judson.jfif'); height: 400px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); } /* Contact Form */ .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; } .contact-form { background: var(--bg-color); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; } .form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: var(--radius); font-family: inherit; font-size: 1rem; } .form-group textarea { height: 150px; resize: vertical; } .contact-info { display: flex; flex-direction: column; gap: 2rem; } .info-item { display: flex; align-items: flex-start; gap: 1rem; } .info-icon { font-size: 1.5rem; color: var(--primary-color); margin-top: 0.25rem; } /* Footer */ .footer { background-color: #1e293b; color: white; padding: 4rem 0 2rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; } .footer-section h3, .footer-section h4 { color: white; margin-bottom: 1.5rem; } .footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 0.5rem; } .footer-section a { color: #cbd5e1; } .footer-section a:hover { color: white; } .footer-section p { color: #cbd5e1; margin-bottom: 0.5rem; } .footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #334155; color: #94a3b8; } /* Responsive Design */ @media (max-width: 992px) { h1 { font-size: 2.25rem; } h2 { font-size: 1.75rem; } .about-content, .contact-container { grid-template-columns: 1fr; gap: 2rem; } .about-text { padding-right: 0; text-align: center; } } @media (max-width: 768px) { .nav-menu { position: fixed; top: 70px; left: -100%; flex-direction: column; background-color: var(--bg-color); width: 100%; text-align: center; transition: 0.3s; box-shadow: var(--shadow); padding: 2rem 0; } .nav-menu.active { left: 0; } .hamburger { display: flex; } .hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); } .hamburger.active span:nth-child(2) { opacity: 0; } .hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); } .hero { padding: 3rem 0; } .hero h1 { font-size: 2rem; } .section { padding: 3rem 0; } } @media (max-width: 480px) { .container { padding: 0 15px; } .products-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 1.75rem; } .btn { padding: 0.6rem 1.2rem; } } /* Add these styles to your existing style.css */ /* Highlight Cards */ .highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .highlight-card { text-align: center; padding: 2rem; background: var(--bg-color); border-radius: var(--radius); box-shadow: var(--shadow); } .highlight-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; } /* CTA Section */ .bg-accent { background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); color: white; } .bg-accent h2, .bg-accent p { color: white; } .cta-content { text-align: center; padding: 3rem; } /* Empty States */ .empty-state { text-align: center; padding: 4rem 2rem; } .empty-state i { color: var(--text-light); margin-bottom: 1rem; } /* Product Category */ .product-category { display: inline-block; background: var(--bg-light); color: var(--text-light); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.875rem; margin-bottom: 0.5rem; } .product-actions { display: flex; gap: 0.5rem; margin-top: 1rem; } /* Values List */ .values-list { list-style: none; margin: 1.5rem 0; } .values-list li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 0.5rem; } .values-list i { color: var(--primary-color); margin-top: 0.25rem; } /* Team Grid */ .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .team-member { text-align: center; padding: 2rem; background: var(--bg-color); border-radius: var(--radius); box-shadow: var(--shadow); } .member-image { width: 100px; height: 100px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--primary-color); } .position { color: var(--primary-color); font-weight: 600; margin-bottom: 1rem; } /* Process Steps */ .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; } .process-step { padding: 1.5rem; } .step-number { width: 60px; height: 60px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; margin: 0 auto 1rem; } /* Map Placeholder */ .map-placeholder { text-align: center; padding: 4rem 2rem; background: var(--bg-color); border-radius: var(--radius); box-shadow: var(--shadow); } .map-placeholder i { color: var(--text-light); margin-bottom: 1rem; } .map-container { position: relative; padding-bottom: 56.25%; /* 16:9 aspect ratio */ height: 0; overflow: hidden; } .map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
💾 Save
⬅ Back