/* ═══════════════════════════════════════════
   GYM GLASS IRELAND — GLOBAL STYLESHEET
   gymglass.ie
═══════════════════════════════════════════ */

:root {
  --black: #1a1a2e;
  --dark: #1e2a5e;
  --dark2: #2d3a7a;
  --primary: #3953a4;
  --primary-dark: #2d4290;
  --primary-light: #5b6bae;
  --white: #ffffff;
  --grey-light: #f4f5f9;
  --grey-mid: #e2e4ed;
  --grey-text: #6b7280;
  --text: #1a1a2e;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(57,83,164,0.12);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ─── UTILITIES ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-tag { display: inline-block; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; color: var(--primary); background: rgba(57,83,164,0.12); padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
h1,h2,h3,h4 { line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
.lead { font-size: 17px; color: var(--grey-text); max-width: 700px; margin-bottom: 44px; }
.text-gold { color: var(--primary); -webkit-text-stroke: 1.2px rgba(255,255,255,0.92); text-shadow: -1px -1px 0 rgba(255,255,255,0.75), 1px -1px 0 rgba(255,255,255,0.75), -1px 1px 0 rgba(255,255,255,0.75), 1px 1px 0 rgba(255,255,255,0.75); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─── */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; }
.btn-gold { background: var(--primary); color: var(--white); }
.btn-gold:hover { background: var(--primary-dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ─── HEADER / NAV ─── */
.site-header { position: sticky; top: 0; z-index: 999; background: var(--white); border-bottom: 1px solid var(--grey-mid); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 120px; }
.nav-logo img { height: 95px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { color: var(--text); font-size: 15px; font-weight: 600; }
.nav-menu a:hover { color: var(--primary); }
.nav-cta .btn { padding: 10px 24px; font-size: 14px; }
#quote-form { scroll-margin-top: 120px; }

/* ─── HERO ─── */
.hero { background: var(--dark); position: relative; overflow: hidden; padding: 100px 0 90px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(57,83,164,0.18) 0%, transparent 65%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(57,83,164,0.28); border: 1px solid rgba(255,255,255,0.45); border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 700; color: #ffffff; margin-bottom: 22px; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); color: var(--white); margin-bottom: 22px; }
.hero p.hero-desc { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 34px; color: #ffffff; font-weight: 900; line-height: 1; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-card { background: var(--dark2); border-radius: 16px; padding: 32px; border: 1px solid rgba(255,255,255,0.07); }
.hero-card h3 { color: var(--white); font-size: 20px; margin-bottom: 22px; }
.hero-form .form-group { margin-bottom: 14px; }
.hero-form input, .hero-form select, .hero-form textarea { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); color: var(--white); font-size: 15px; font-family: inherit; }
.hero-form input::placeholder, .hero-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.hero-form textarea { height: 90px; resize: none; }
.hero-form select option { background: var(--dark2); color: var(--white); }
.hero-form .btn { width: 100%; text-align: center; margin-top: 4px; }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--primary); padding: 22px 24px; display: flex; justify-content: space-evenly; align-items: center; flex-wrap: wrap; gap: 24px; }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; width: 100%; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 800; color: var(--white); flex: 0 1 auto; min-width: 180px; text-align: center; }
.trust-item svg { flex-shrink: 0; }

/* ─── SERVICES SECTION ─── */
.services-section { padding: 90px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card { background: var(--grey-light); border-radius: 12px; padding: 0 0 32px; overflow: hidden; border-top: 4px solid var(--primary); transition: transform var(--transition), box-shadow var(--transition); }
.service-photo { width: 100%; height: 220px; object-fit: cover; display: block; margin-bottom: 20px; }
.service-card .service-icon, .service-card h3, .service-card p { padding-left: 28px; padding-right: 28px; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--grey-text); font-size: 15px; }

/* ─── WHY SECTION ─── */
.why-section { padding: 90px 0; background: var(--dark); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.why-card { background: var(--dark2); border-radius: 12px; padding: 30px 26px; border: 1px solid rgba(255,255,255,0.06); }
.why-icon { font-size: 30px; margin-bottom: 14px; }
.why-card h3 { color: var(--primary-light); margin-bottom: 10px; font-size: 18px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; }

/* ─── COUNTY PAGES / PROCESS ─── */
.process-section { padding: 90px 0; background: var(--grey-light); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.step-card { background: var(--white); border-radius: 12px; padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.step-number { width: 52px; height: 52px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--white); margin: 0 auto 18px; }
.step-card h3 { margin-bottom: 10px; font-size: 17px; }
.step-card p { font-size: 14px; color: var(--grey-text); }

/* ─── COVERAGE MAP ─── */
.coverage-section { padding: 90px 0; background: var(--white); }
.counties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 36px; }
.county-tag { background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: 6px; padding: 10px 12px; font-size: 13px; font-weight: 600; text-align: center; color: var(--text); transition: all var(--transition); }
.county-tag:hover, .county-tag.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.county-tag a { color: inherit; font-weight: 600; }

/* ─── FAQ ─── */
.faq-section { padding: 90px 0; background: var(--grey-light); }
.faq-grid { max-width: 820px; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; border: 1px solid var(--grey-mid); overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 700; font-size: 16px; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 22px; color: var(--primary); flex-shrink: 0; }
.faq-a { padding: 0 24px 20px; font-size: 15px; color: var(--grey-text); line-height: 1.7; }

/* ─── CTA STRIP ─── */
.cta-strip { background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%); padding: 80px 0; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── CONTACT FORM ─── */
.contact-section { padding: 90px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--grey-text); margin-bottom: 30px; font-size: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-detail-icon { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.contact-detail h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.contact-detail p { font-size: 15px; color: var(--grey-text); margin: 0; }
.contact-form { background: var(--grey-light); border-radius: 14px; padding: 40px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #444; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--grey-mid); border-radius: var(--radius); font-size: 15px; font-family: inherit; background: var(--white); color: var(--text); transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { background: var(--primary); color: var(--white); font-weight: 700; font-size: 16px; padding: 16px; width: 100%; border: none; border-radius: var(--radius); cursor: pointer; transition: background var(--transition); }
.form-submit:hover { background: var(--primary-dark); }

/* ─── FOOTER ─── */
.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 36px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary); }

/* ─── BREADCRUMB ─── */
.breadcrumb { background: var(--dark); padding: 14px 0; }
.breadcrumb-inner { font-size: 13px; color: rgba(255,255,255,0.5); display: flex; gap: 8px; align-items: center; }
.breadcrumb-inner a { color: rgba(255,255,255,0.5); }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner span { color: var(--primary); }

/* ─── COUNTY PAGE HERO ─── */
.county-hero { background: var(--dark); padding: 70px 0 60px; }
.county-hero h1 { color: var(--white); font-size: clamp(28px, 4.5vw, 48px); margin-bottom: 18px; max-width: 760px; }
.county-hero p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 640px; margin-bottom: 32px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-card { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-btns { flex-direction: column; }
}

.hero-home {
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/images/hero-gym-mirrors.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-visual img { width: 100%; height: 640px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.28); display:block; }
@media(max-width: 768px){ .hero-visual img { height: 320px; } }

.hero-home { padding: 70px 0 90px; }
.hero-split { display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.large-hero-image img { width:100%; height:700px; object-fit:cover; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,0.25); }
.hero-content { max-width: 560px; }
@media(max-width: 900px){
  .hero-split { grid-template-columns: 1fr; }
  .large-hero-image img { height: 360px; }
}

.hero-home { padding: 90px 0 110px; }
.hero-split { display:grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; min-height: 720px; }
.hero-content { max-width: 620px; background: rgba(10,18,40,0.38); backdrop-filter: blur(6px); padding: 36px; border-radius: 20px; box-shadow: 0 14px 40px rgba(0,0,0,0.18); }
.large-hero-image img { width:100%; height:760px; object-fit:cover; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,0.18); }
.hero-desc { font-size: 18px; line-height: 1.8; }
.hero-btns { margin-top: 26px; }
@media(max-width: 900px){
  .hero-home { padding: 50px 0 60px; }
  .hero-split { grid-template-columns: 1fr; min-height: auto; gap: 24px; }
  .hero-content { max-width: none; padding: 24px; }
  .large-hero-image img { height: 360px; }
}

.hero-home {
  background-image: linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.58)), url('/images/hero-gym-mirrors.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 760px;
  display: flex;
  align-items: center;
}
.hero-overlay-content {
  max-width: 640px;
  padding: 28px 0;
}
.hero-overlay-content h1 { font-size: 62px; line-height: 1.08; margin-bottom: 18px; color: #fff; }
.hero-overlay-content .hero-desc { font-size: 20px; color: #ffffff !important; line-height: 1.9; max-width: 620px; font-weight: 600; text-shadow: 0 3px 12px rgba(0,0,0,0.55); opacity: 1 !important; }
.hero-overlay-content .hero-stats { margin-top: 30px; }
@media(max-width: 900px){
  .hero-home { min-height: 560px; padding: 70px 0; }
  .hero-overlay-content h1 { font-size: 38px; }
  .hero-overlay-content .hero-desc { font-size: 17px; }
}
.why-section .lead { color: #ffffff !important; opacity: 1 !important; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.why-section .section-tag { color: rgba(255,255,255,0.95) !important; }
.county-hero-image { margin-top: 30px; }
.county-hero-image img { width: 100%; max-width: 760px; height: 320px; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 36px rgba(0,0,0,0.16); display: block; }
.county-hero .container { display: flex; flex-direction: column; }
@media(max-width: 900px){ .county-hero-image img { height: 220px; } }
.county-hero .container { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: center; }
.county-hero-image { margin-top: 0; justify-self: end; }
.county-hero-image img { width: 100%; max-width: 360px; height: 220px; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 36px rgba(0,0,0,0.16); display: block; }
@media(max-width: 900px){
  .county-hero .container { grid-template-columns: 1fr; }
  .county-hero-image { justify-self: start; margin-top: 24px; }
  .county-hero-image img { max-width: 100%; height: 220px; }
}
.county-hero { padding: 90px 0; color: #fff; background-position: center center; background-repeat: no-repeat; background-size: cover; position: relative; }
.county-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.52); }
.county-hero .container { position: relative; z-index: 1; display: block !important; }
.county-hero h1, .county-hero p, .county-hero .section-tag { color: #fff !important; max-width: 760px; }
.county-hero-dublin { background-image: url('../images/dublin-hero.jpg'); }
.county-hero-cork { background-image: url('../images/cork-hero.jpg'); }
.county-hero-galway { background-image: url('../images/galway-hero.jpg'); }

/* === RESPONSIVE NAV — SINGLE SOURCE OF TRUTH === */
.nav-toggle { display: none; background: none; border: none; font-size: 34px; color: var(--text); line-height: 1; cursor: pointer; margin-left: auto; }

@media (min-width: 1200px) {
  .site-header .nav-toggle { display: none !important; }
  .site-header .nav-cta { display: block !important; }
  .site-header .nav-menu { display: flex !important; position: static !important; width: auto !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; flex-direction: row !important; align-items: center !important; }
  .site-header .menu-quote { display: none !important; }
}

@media (max-width: 1199px) {
  .site-header .nav-cta { display: none !important; }
  .site-header .nav-toggle { display: block !important; }
  .site-header .nav-menu { display: none !important; position: absolute; top: 86px; right: 16px; width: 220px; background: #fff; border: 1px solid var(--grey-mid); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.14); padding: 16px; flex-direction: column; gap: 12px; z-index: 1000; }
  body.menu-open .site-header .nav-menu { display: flex !important; }
  .site-header .nav-menu .menu-quote { display: block !important; width: 100%; list-style: none; margin-top: 8px; }
  .site-header .nav-menu .menu-quote a { display: block; width: 100%; text-align: center; color: #fff; }
  .site-header .nav-inner { height: 86px; }
  .site-header .nav-logo img { height: 68px; width: auto; }
}
