/* Swansea Insulation Company - Red Dragon Theme */
:root {
  --gold: #c8102e;
  --gold-dark: #a00d25;
  --gold-light: #e5173f;
  --navy: #1a2332;
  --white: #ffffff;
  --grey-bg: #f8f9fa;
  --grey: #6c757d;
  --green: #28a745;
  --orange: #ff8c00;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; line-height: 1.6; color: var(--navy); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar { padding: 15px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 60px; }
.nav-menu { display: flex; list-style: none; gap: 25px; }
.nav-menu a { text-decoration: none; color: var(--navy); font-weight: 500; padding: 8px 0; transition: 0.3s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: white; box-shadow: 0 5px 20px rgba(0,0,0,0.15); border-radius: 8px; padding: 10px 0; min-width: 250px; display: none; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu a { display: block; padding: 12px 20px; }
.nav-actions { display: flex; gap: 15px; align-items: center; }
.phone-btn { color: var(--navy); text-decoration: none; font-weight: 600; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 3px; background: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: 0.3s; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--gold); color: white; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(184,134,11,0.3); }
.btn-secondary { background: white; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: white; }
.btn-outline { background: transparent; color: var(--gold-dark); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: white; }
.btn-lg { padding: 15px 35px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero { position: relative; padding: 80px 0; background: linear-gradient(135deg, var(--grey-bg) 0%, white 100%); }
.hero-image-placeholder { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-image-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.20; }
.placeholder-box { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--navy); font-weight: 600; font-size: 1.2rem; }
.hero-content-wrapper { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.badges { margin-bottom: 20px; }
.badge { display: inline-block; padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-right: 10px; }
.badge-green { background: #d4edda; color: var(--green); }
.badge-orange { background: #ffe5cc; color: var(--orange); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.text-gold { color: var(--gold); }
.hero-text { font-size: 1.15rem; color: var(--grey); margin-bottom: 30px; }
.hero-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 30px 0; }
.hero-features .feature { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-cta { display: flex; gap: 15px; margin: 30px 0; flex-wrap: wrap; }
.trust-items { display: flex; gap: 25px; flex-wrap: wrap; color: var(--grey); font-size: 0.9rem; }
.hero-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card { background: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--gold); margin-bottom: 10px; }
.stat-label { color: var(--grey); }

/* Sections */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: var(--grey); }
section { padding: 80px 0; }

/* Services */
.services { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.service-image { height: 250px; overflow: hidden; background: var(--grey-bg); }
.service-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.placeholder-text { display:none; /* no longer used */
 color: white; font-weight: 600; padding: 20px; text-align: center; }
.service-content { padding: 30px; }
.badge-popular { display: inline-block; background: var(--gold); color: white; padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; }
.badge-premium { display: inline-block; background: var(--navy); color: var(--gold); padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; }
.service-content h3 { font-size: 1.5rem; margin: 10px 0 15px; color: var(--navy); }
.service-content p { color: var(--grey); margin-bottom: 20px; }
.service-content ul { list-style: none; margin: 20px 0; }
.service-content ul li { padding: 8px 0; color: var(--navy); }
.service-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding-top: 20px; border-top: 2px solid var(--grey-bg); }
.price { font-size: 1.4rem; font-weight: 700; color: var(--gold-dark); }

/* Why Choose */
.why-choose { background: var(--grey-bg); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.benefit { background: white; padding: 35px 25px; border-radius: 15px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.benefit .icon { font-size: 3rem; margin-bottom: 20px; }
.benefit h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--navy); }
.benefit p { color: var(--grey); }

/* Areas */
.areas { background: white; }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.areas-grid div { background: var(--grey-bg); padding: 20px; border-radius: 10px; text-align: center; font-weight: 600; transition: 0.3s; }
.areas-grid div:hover, .areas-grid div.highlight { background: var(--gold); color: white; }

/* Reviews */
.reviews { background: var(--grey-bg); }
.rating-summary { margin-top: 20px; }
.rating-summary .stars { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.rating-score { font-size: 3rem; font-weight: 900; color: var(--gold); margin-bottom: 10px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.review { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 15px; }
.review p { font-style: italic; color: var(--grey); margin-bottom: 20px; line-height: 1.7; }
.review strong { color: var(--navy); }

/* Quote Form */
.quote-section { background: white; }
.quote-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--grey-bg); padding: 50px; border-radius: 20px; }
.quote-info h2 { font-size: 2rem; margin-bottom: 20px; }
.quote-benefits { margin: 30px 0; }
.quote-benefits div { margin-bottom: 15px; font-weight: 500; }
.contact-box { background: white; padding: 25px; border-radius: 12px; margin-top: 30px; text-align: center; }
.contact-phone { display: block; font-size: 1.8rem; font-weight: 700; color: var(--gold); margin: 15px 0; text-decoration: none; }
.quote-form { background: white; padding: 40px; border-radius: 15px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 6px; font-size: 1rem; font-family: inherit; transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group input.valid { border-color: var(--green); }
.form-group input.error, .form-group select.error { border-color: red; }
.form-privacy { text-align: center; font-size: 0.85rem; color: var(--grey); margin-top: 15px; }
.error-message { color: red; font-size: 0.85rem; margin-top: 5px; }

/* About */
.about { background: var(--grey-bg); }
.about-content { max-width: 900px; margin: 0 auto; text-align: center; }
.about-content p { font-size: 1.1rem; color: var(--grey); margin-bottom: 20px; line-height: 1.8; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.stat { text-align: center; padding: 25px; background: white; border-radius: 12px; }
.stat span { display: block; font-size: 3rem; font-weight: 900; color: var(--gold); margin-bottom: 10px; }

/* Footer */
.footer { background: var(--navy); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { max-width: 180px; margin-bottom: 20px; }
.footer p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer h4 { color: var(--gold); margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer ul a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* Service Pages */
.breadcrumb { background: var(--grey-bg); padding: 15px 0; font-size: 0.9rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.service-hero { background: linear-gradient(135deg, var(--gold), var(--gold-light)); padding: 80px 0; color: white; text-align: center; }
.service-hero h1 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; }
.service-detail { padding: 60px 0; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-top: 40px; }
.content-section { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-bottom: 30px; }
.content-section h2 { font-size: 2rem; margin-bottom: 20px; color: var(--navy); }
.content-section h3 { font-size: 1.5rem; margin: 20px 0 15px; color: var(--navy); }
.content-section ul { margin: 20px 0; }
.content-section ul li { margin-bottom: 15px; line-height: 1.7; }
.sidebar-card { background: var(--grey-bg); padding: 30px; border-radius: 15px; margin-bottom: 30px; position: sticky; top: 100px; }
.pricing-card { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: white; padding: 40px; border-radius: 15px; text-align: center; margin-bottom: 30px; }
.pricing-card h3 { font-size: 2.5rem; margin: 15px 0; }
.process-steps { margin: 30px 0; }
.process-step { display: flex; gap: 20px; padding: 25px; background: var(--grey-bg); border-radius: 12px; margin-bottom: 20px; }
.step-number { width: 50px; height: 50px; background: var(--gold); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; flex-shrink: 0; }
.faq-item { background: var(--grey-bg); padding: 25px; border-radius: 12px; margin-bottom: 15px; }
.faq-question { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }

/* Responsive */
@media (max-width: 968px) {
  .nav-menu { position: fixed; top: 90px; left: -100%; width: 100%; background: white; flex-direction: column; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: 0.3s; }
  .nav-menu.active { left: 0; }
  .mobile-toggle { display: flex; }
  .hero-content-wrapper, .quote-wrapper, .detail-grid { grid-template-columns: 1fr; }
  .form-row, .stats-row { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: 1fr; }
}

@media (max-width: 568px) {
  .hero h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.8rem; }
}


/* Service page images */
.service-page-image { margin: 10px 0 25px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.service-page-image img { width: 100%; height: auto; display: block; }

/* Contact links */

.email-btn { color: var(--navy); text-decoration: none; font-weight: 600; }
.whatsapp-btn { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-email, .contact-whatsapp { display: block; margin-top: 8px; color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-whatsapp { margin-top: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; margin-top: 10px; }
