/* ProServ Restoration - Main Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.7; color: #333; background: #fff; overflow-x: hidden; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.3; color: #0a2540; }
h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.4rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
p { margin-bottom: 1rem; color: #555; }
a { text-decoration: none; color: #0a64a4; transition: all 0.3s ease; }
a:hover { color: #e63946; }

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

/* Top Bar */
.top-bar { background: #0a2540; color: #fff; padding: 8px 0; font-size: 0.9rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: #fff; margin-right: 15px; }
.top-bar a:hover { color: #e63946; }
.top-bar .social a { margin-right: 10px; font-size: 1rem; }

/* Header */
header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo img { height: 60px; }
nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
nav ul li a { color: #0a2540; font-weight: 600; font-size: 0.95rem; position: relative; }
nav ul li a:hover { color: #e63946; }
nav ul li.has-dropdown { position: relative; }
nav ul li.has-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; min-width: 280px; box-shadow: 0 8px 20px rgba(0,0,0,0.12); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s; border-top: 3px solid #e63946; }
nav ul li.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { display: block; margin: 0; }
.dropdown li a { display: block; padding: 10px 20px; font-weight: 500; }
.dropdown li a:hover { background: #f5f7fa; color: #e63946; }
.cta-btn { background: #e63946; color: #fff !important; padding: 12px 25px; border-radius: 50px; font-weight: 700; }
.cta-btn:hover { background: #c5293a; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(230,57,70,0.3); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: #0a2540; cursor: pointer; }

/* Hero */
.hero { position: relative; background: linear-gradient(rgba(10,37,64,0.75), rgba(10,37,64,0.85)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1600') center/cover; color: #fff; padding: 120px 0; text-align: center; }
.hero h1 { color: #fff; font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero p { color: #f0f0f0; font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 15px 35px; border-radius: 50px; font-weight: 700; transition: all 0.3s; }
.btn-primary { background: #e63946; color: #fff; }
.btn-primary:hover { background: #c5293a; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(230,57,70,0.4); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: #0a2540; }

/* Sections */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title span { color: #e63946; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.section-title h2 { margin-top: 10px; }
.section-title p { max-width: 700px; margin: 15px auto 0; }

/* Features / Why Choose */
.features { background: #f5f7fa; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.feature-card { background: #fff; padding: 35px 25px; border-radius: 12px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.feature-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #e63946, #f77f8a); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.service-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,0.6)); }
.service-content { padding: 25px; }
.service-content h3 { margin-bottom: 12px; }
.service-content h3 a { color: #0a2540; }
.service-content h3 a:hover { color: #e63946; }
.read-more { color: #e63946; font-weight: 700; display: inline-block; margin-top: 10px; }
.read-more:hover { letter-spacing: 1px; }

/* About */
.about-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-flex img { width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.about-flex h2 { margin-bottom: 20px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.stat-box { background: #f5f7fa; padding: 20px; border-radius: 10px; text-align: center; }
.stat-box .num { font-size: 2.2rem; font-weight: 800; color: #e63946; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, #0a2540, #1a4a7a); color: #fff; text-align: center; padding: 80px 0; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #d0d0d0; max-width: 700px; margin: 15px auto 30px; }

/* Process */
.process { background: #f5f7fa; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.process-step { text-align: center; padding: 30px 20px; background: #fff; border-radius: 12px; position: relative; }
.process-step .step-num { width: 50px; height: 50px; background: #e63946; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin: 0 auto 20px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); border-top: 4px solid #e63946; }
.testimonial .stars { color: #ffb400; margin-bottom: 15px; }
.testimonial .author { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.testimonial .author-img { width: 50px; height: 50px; border-radius: 50%; background: #e63946; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-box { background: #f5f7fa; padding: 30px; border-radius: 12px; margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-start; }
.contact-info-box .icon { width: 50px; height: 50px; background: #e63946; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.3rem; }
.contact-form { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #0a2540; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #e63946; }
.map-wrap { margin-top: 60px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.map-wrap iframe { display: block; width: 100%; height: 450px; border: 0; }

/* Service Page */
.page-banner { background: linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.85)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600') center/cover; color: #fff; padding: 100px 0; text-align: center; }
.page-banner h1 { color: #fff; }
.page-banner .breadcrumbs { color: #e0e0e0; margin-top: 10px; }
.page-banner .breadcrumbs a { color: #f0f0f0; }
.service-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.service-detail img { width: 100%; border-radius: 12px; margin-bottom: 25px; }
.service-detail h2 { margin: 30px 0 15px; }
.service-detail h3 { margin: 25px 0 12px; }
.service-detail ul { padding-left: 20px; margin: 15px 0; }
.service-detail ul li { margin-bottom: 8px; color: #555; }
.sidebar { position: sticky; top: 100px; height: fit-content; }
.sidebar-box { background: #f5f7fa; padding: 25px; border-radius: 12px; margin-bottom: 25px; }
.sidebar-box h3 { margin-bottom: 15px; color: #0a2540; }
.sidebar-services { list-style: none; }
.sidebar-services li { border-bottom: 1px solid #e0e0e0; }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services li a { display: block; padding: 12px 15px; color: #0a2540; font-weight: 500; transition: all 0.3s; border-left: 3px solid transparent; }
.sidebar-services li a:hover, .sidebar-services li a.active { background: #fff; color: #e63946; border-left-color: #e63946; padding-left: 20px; }
.emergency-box { background: linear-gradient(135deg, #e63946, #c5293a); color: #fff; padding: 30px; border-radius: 12px; text-align: center; }
.emergency-box h3 { color: #fff; }
.emergency-box .phone { font-size: 1.5rem; font-weight: 800; color: #fff; display: block; margin-top: 10px; }

/* Footer */
footer { background: #0a2540; color: #d0d0d0; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: #e63946; }
.footer-col p, .footer-col a { color: #b0b0b0; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: #e63946; padding-left: 5px; }
.footer-logo img { height: 70px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.footer-social a:hover { background: #e63946; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
  .about-flex, .contact-grid, .service-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; } h2 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.6rem; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); gap: 0; }
  nav ul.active { display: flex; }
  nav ul li { width: 100%; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 15px; display: none; }
  nav ul li.has-dropdown.open .dropdown { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
  .hero h1 { font-size: 2rem; }
  section { padding: 60px 0; }
}
