D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
fhblmjlrhosting
/
public_html
/
bearsilve.com
/
wp-content
/
themes
/
css
/
Filename :
style.css
back
Copy
/* Reset CSS */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', Arial, sans-serif; line-height: 1.6; color: #333; } /* Header Styles */ .header { background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; } .header-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; max-width: 1200px; margin: 0 auto; } .logo img { height: 60px; } /* Navigation Styles */ .main-nav ul { display: flex; list-style: none; } .main-nav li { margin: 0 10px; } .main-nav a { text-decoration: none; color: #1e3a8a; font-weight: 600; text-transform: uppercase; padding: 10px; transition: color 0.3s; } .main-nav a:hover { color: #3b82f6; } /* Hero Section */ .hero { background-color: #1e3a8a; color: white; position: relative; overflow: hidden; height: 500px; display: flex; align-items: center; } .hero-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; } .hero-background { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background-size: cover; background-position: center; } .hero h1 { font-size: 2.5rem; margin-bottom: 20px; text-transform: uppercase; font-weight: 700; } .hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; } .btn { display: inline-block; padding: 12px 24px; background-color: transparent; color: white; text-decoration: none; border: 2px solid white; border-radius: 4px; font-weight: 600; transition: all 0.3s; } .btn:hover { background-color: white; color: #1e3a8a; } /* Section Styles */ .section { padding: 60px 0; } .section-title { text-align: center; margin-bottom: 40px; color: #1e3a8a; font-size: 2rem; text-transform: uppercase; position: relative; } .section-title::after { content: ""; display: block; width: 80px; height: 3px; background-color: #1e3a8a; margin: 15px auto; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Products Section */ .products { background-color: #f8f9fa; } .product-categories { text-align: center; margin-bottom: 40px; } .category-title { display: inline-block; margin: 0 15px; padding: 10px 20px; background-color: #1e3a8a; color: white; border-radius: 4px; text-decoration: none; } .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; } .product-card { background-color: white; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.1); transition: transform 0.3s; } .product-card:hover { transform: translateY(-5px); } .product-image { height: 200px; overflow: hidden; } .product-image img { width: 100%; height: 100%; object-fit: cover; } .product-info { padding: 20px; } .product-info h3 { margin-bottom: 10px; color: #1e3a8a; } .product-info p { color: #666; margin-bottom: 15px; } /* Projects Section */ .projects { background-color: white; } .project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; } .project-card { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.1); } .project-image { height: 250px; overflow: hidden; } .project-image img { width: 100%; height: 100%; object-fit: cover; } .project-info { padding: 20px; background-color: #1e3a8a; color: white; } .project-info h3 { margin-bottom: 10px; } .project-info p { font-size: 0.9rem; } /* News Section */ .news { background-color: #f8f9fa; } .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; } .news-card { background-color: white; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.1); } .news-image { height: 200px; overflow: hidden; } .news-image img { width: 100%; height: 100%; object-fit: cover; } .news-info { padding: 20px; } .news-info h3 { margin-bottom: 10px; color: #1e3a8a; } .news-date { color: #666; font-size: 0.9rem; margin-bottom: 10px; } .news-excerpt { color: #333; margin-bottom: 15px; } /* Partners Section */ .partners { background-color: white; } .partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px; align-items: center; } .partner-logo { display: flex; justify-content: center; align-items: center; height: 100px; padding: 15px; border: 1px solid #eee; border-radius: 8px; transition: transform 0.3s; } .partner-logo:hover { transform: scale(1.05); } .partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; } /* Footer Styles */ .footer { background-color: #1e3a8a; color: white; padding: 60px 0 30px; } .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-column h3 { font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; } .footer-column h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background-color: white; } .footer-links { list-style: none; } .footer-links li { margin-bottom: 10px; } .footer-links a { color: #ccc; text-decoration: none; transition: color 0.3s; } .footer-links a:hover { color: white; } .contact-info p { margin-bottom: 10px; display: flex; align-items: center; } .contact-info i { margin-right: 10px; color: #3b82f6; } .footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #ccc; } /* Social Media Icons */ .social-icons { display: flex; margin-top: 20px; } .social-icons a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background-color: rgba(255,255,255,0.1); border-radius: 50%; margin-right: 10px; color: white; text-decoration: none; transition: background-color 0.3s; } .social-icons a:hover { background-color: #3b82f6; } /* Call to Action Buttons */ .cta-buttons { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; z-index: 999; } .cta-button { display: flex; align-items: center; margin-bottom: 10px; padding: 10px 15px; border-radius: 30px; text-decoration: none; color: white; font-weight: 600; box-shadow: 0 3px 10px rgba(0,0,0,0.2); } .phone-button { background-color: #4CAF50; } .zalo-button { background-color: #0068ff; } .cta-button i { margin-right: 8px; } /* Responsive Styles */ @media (max-width: 992px) { .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } .project-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } } @media (max-width: 768px) { .header-container { flex-direction: column; } .main-nav { margin-top: 15px; } .main-nav ul { flex-wrap: wrap; justify-content: center; } .hero { height: auto; padding: 60px 0; } .hero-background { width: 100%; opacity: 0.2; } .hero-content { text-align: center; } .hero p { margin-left: auto; margin-right: auto; } .product-grid, .project-grid, .news-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } } @media (max-width: 576px) { .main-nav li { margin: 5px; } .hero h1 { font-size: 1.8rem; } .section-title { font-size: 1.5rem; } .product-grid, .project-grid, .news-grid, .partners-grid { grid-template-columns: 1fr; } }