/* Theme Name: Oshine Child Template: oshine */ /* Modern Front Page Styles */ .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .section-title { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; font-weight: 300; letter-spacing: 1px; } /* Hero */ .modern-hero { position: relative; height: 100vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; } .hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); } .hero-content { position: relative; z-index: 2; } .hero-title { font-size: 4rem; margin-bottom: 1rem; font-weight: 700; } .hero-subtitle { font-size: 1.5rem; margin-bottom: 2rem; font-weight: 300; } .hero-btn { display: inline-block; padding: 15px 30px; background: transparent; border: 2px solid #fff; color: #fff; text-decoration: none; font-weight: 600; transition: 0.3s; } .hero-btn:hover { background: #fff; color: #000; } /* Gallery */ .modern-gallery { padding: 80px 0; background: #f9f9f9; } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } .gallery-grid img { width: 100%; height: auto; display: block; transition: transform 0.3s; } .gallery-grid img:hover { transform: scale(1.02); } /* About */ .modern-about { padding: 80px 0; } .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } .about-image img { width: 100%; border-radius: 8px; } .about-text p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; } .about-btn { display: inline-block; padding: 12px 25px; background: #333; color: #fff; text-decoration: none; border-radius: 4px; } /* Services */ .modern-services { padding: 80px 0; background: #f9f9f9; } .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; } .service-item { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .service-item h3 { margin-bottom: 15px; font-size: 1.5rem; } /* Testimonials */ .modern-testimonials { padding: 80px 0; } .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .testimonial { background: #f9f9f9; padding: 30px; border-left: 5px solid #333; font-style: italic; } .testimonial cite { display: block; margin-top: 15px; font-style: normal; font-weight: 600; } /* CTA */ .modern-cta { padding: 80px 0; background: #333; color: #fff; text-align: center; } .cta-title { font-size: 2.5rem; margin-bottom: 20px; font-weight: 300; } .cta-btn { display: inline-block; padding: 15px 30px; background: transparent; border: 2px solid #fff; color: #fff; text-decoration: none; font-weight: 600; margin-top: 20px; transition: 0.3s; } .cta-btn:hover { background: #fff; color: #333; } /* Responsive */ @media (max-width: 768px) { .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1.2rem; } .about-grid { grid-template-columns: 1fr; } .about-image { order: 1; } .about-text { order: 2; } }