/*
Theme Name: Fore-Play Golf
Theme URI: https://fore-playgolf.co.uk/
Author: Synthesis IT
Description: Premium responsive WordPress theme for Fore-Play Golf indoor simulator venue.
Version: 1.3.1
Text Domain: foreplay-golf
*/

:root{
  --fp-bg:#081114;
  --fp-bg2:#0d1b18;
  --fp-green:#76e06a;
  --fp-lime:#b8ff6b;
  --fp-white:#f7faf7;
  --fp-muted:#aab8b4;
  --fp-card:#12211e;
  --fp-border:rgba(255,255,255,.10);
  --fp-dark:#050908;
  --fp-radius:18px;
  --fp-shadow:0 18px 60px rgba(0,0,0,.28);
  --fp-header:#000000;
  --fp-footer:#050908;
  --fp-text:#12201d;
  --fp-link:#0c7a3e;
  --fp-btn-radius:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--fp-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(1160px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:100;background:var(--fp-header);border-bottom:1px solid rgba(255,255,255,.08)}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo{display:flex;align-items:center;gap:10px;color:#fff;font-weight:900;letter-spacing:-.04em;font-size:22px}
.logo-mark{width:34px;height:34px;border:4px solid var(--fp-green);border-radius:50% 50% 50% 0;transform:rotate(-35deg);position:relative}
.logo-mark:after{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#fff;right:2px;top:6px}
.logo span{color:var(--fp-green);font-size:12px;letter-spacing:.22em;display:block;line-height:1}
.menu{display:flex;align-items:center;gap:25px;color:#dce6e2;font-size:14px}
.menu a:hover{color:var(--fp-green)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;border-radius:var(--fp-btn-radius);font-weight:800;border:1px solid transparent;transition:.2s}
.btn-primary{background:var(--fp-green);color:#071009}
.btn-primary:hover{background:var(--fp-lime);transform:translateY(-1px)}
.btn-dark{background:#0b1412;color:#fff;border-color:rgba(255,255,255,.12)}
.btn-outline{border-color:rgba(0,0,0,.15);background:#fff}
.hero{min-height:650px;background:radial-gradient(circle at 75% 30%,rgba(118,224,106,.22),transparent 32%),linear-gradient(105deg,#050908 0%,#081311 45%,#10251f 100%);color:#fff;display:flex;align-items:center;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,8,.96),rgba(5,9,8,.62) 48%,rgba(5,9,8,.18));pointer-events:none}
.hero-inner{position:relative;z-index:2;padding:80px 0;width:100%}
.hero-copy{max-width:680px}
.kicker{color:var(--fp-green);font-size:13px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
h1{font-size:clamp(46px,7vw,84px);line-height:.98;letter-spacing:-.055em;margin:18px 0 24px}
h1 em{font-style:normal;color:var(--fp-green)}
.lead{font-size:19px;color:#d2ddd9;max-width:610px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-pills{display:flex;gap:20px;flex-wrap:wrap;margin-top:36px;color:#c7d2ce;font-size:14px}
.hero-pills span:before{content:"✓";color:var(--fp-green);font-weight:900;margin-right:7px}
.section{padding:82px 0}
.section-dark{background:var(--fp-bg);color:#fff}
.section-green{background:linear-gradient(135deg,#0d2119,#153522);color:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:35px}
.section-head h2{margin:0;font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;line-height:1.05}
.section-head p{max-width:550px;color:var(--fp-muted);margin:0}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.card{background:#fff;border:1px solid #e7ece9;border-radius:var(--fp-radius);padding:26px;box-shadow:0 10px 35px rgba(0,0,0,.05)}
.dark-card{background:var(--fp-card);border-color:var(--fp-border);color:#fff}
.icon{width:48px;height:48px;border-radius:13px;background:rgba(118,224,106,.13);color:var(--fp-green);display:grid;place-items:center;font-size:23px;margin-bottom:17px}
.card h3{margin:0 0 8px;font-size:22px}
.muted{color:#72807b}
.dark-card .muted{color:#aebbb6}
.price{font-size:42px;font-weight:900;letter-spacing:-.04em}
.price small{font-size:15px;font-weight:600;color:#72807b}
.feature-list{list-style:none;padding:0;margin:18px 0}
.feature-list li{padding:8px 0;border-bottom:1px solid #e8ecea}
.feature-list li:before{content:"✓";color:#2f9b38;font-weight:900;margin-right:10px}
.dark-card .feature-list li{border-color:var(--fp-border)}
.cta{border-radius:26px;padding:48px;background:linear-gradient(120deg,#0b1714,#153b29);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta h2{margin:0;font-size:40px;line-height:1.05}
.faq{border-top:1px solid #dfe6e2}
.faq details{padding:20px 0;border-bottom:1px solid #dfe6e2}
.faq summary{cursor:pointer;font-weight:800;font-size:17px}
.site-footer{background:var(--fp-footer);color:#b8c3bf;padding:55px 0 25px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px}
.site-footer h3{color:#fff;margin-top:0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;font-size:13px}
.page-hero{background:var(--fp-bg);color:#fff;padding:80px 0}
.page-hero h1{font-size:clamp(42px,6vw,70px);margin:10px 0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
label{display:block;font-weight:800;margin-bottom:7px}
input,select,textarea{width:100%;padding:14px 15px;border:1px solid #d9e2dd;border-radius:10px;font:inherit;background:#fff}
textarea{min-height:140px}
.notice{padding:16px 18px;background:#eef8eb;border:1px solid #cce8c5;border-radius:12px}
.mobile-menu{display:none}
@media(max-width:900px){
 .menu{display:none}.mobile-menu{display:block;color:#fff}
 .grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:1fr}
 .footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:620px}
}
@media(max-width:650px){
 .container{width:min(100% - 28px,1160px)}.nav{height:68px}
 .grid-2,.form-grid{grid-template-columns:1fr}.grid-4{grid-template-columns:1fr}
 .section{padding:58px 0}.cta{padding:30px;display:block}.cta .btn{margin-top:20px}
 .footer-grid{grid-template-columns:1fr}
 .footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}
}

/* FORE-PLAY V7 HOMEPAGE */
.hero{min-height:560px;position:relative;overflow:hidden;background:#07100e}
.hero-image{position:absolute;inset:0;background-image:url('./assets/images/hero-simulator.jpg');background-size:cover;background-position:center center}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,8,.72) 0%,rgba(5,9,8,.32) 42%,rgba(5,9,8,.05) 78%);z-index:1}
.hero-inner{z-index:2;display:flex;align-items:center;min-height:560px}
.hero-copy{max-width:570px}
.hero h1{font-size:clamp(52px,6vw,78px);margin:14px 0 18px;text-shadow:0 2px 18px rgba(0,0,0,.28)}
.hero .lead{font-size:18px;max-width:540px}
.btn-outline-dark{background:rgba(5,9,8,.35);border-color:rgba(255,255,255,.55);color:#fff}
.playline{margin-top:22px;font-weight:900;letter-spacing:.28em;font-size:12px;color:#fff}
.playline span{color:var(--fp-green);margin:0 8px}
.benefits{background:#0a1513;color:#fff;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}
.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.benefit{padding:24px 20px;display:flex;gap:16px;align-items:center;border-right:1px solid rgba(255,255,255,.09)}
.benefit:last-child{border-right:0}
.benefit img{width:46px;height:46px;flex:0 0 46px}
.benefit strong{font-size:17px}
.benefit p{margin:2px 0 0;color:#9eaba7;font-size:13px;line-height:1.35}
.bays{background:#0b1614;color:#fff;padding-top:62px}
.section-heading{position:relative;margin-bottom:28px}
.section-heading.centered{text-align:center}
.section-heading h2{font-size:42px;letter-spacing:-.035em;margin:5px 0}
.section-heading>span{position:absolute;right:0;bottom:6px;color:#87948f;font-size:10px;letter-spacing:.2em}
.bay-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.bay-card{display:grid;grid-template-columns:1.12fr .88fr;background:#101d1a;border:1px solid rgba(255,255,255,.13);border-radius:14px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.18)}
.bay-card>img{width:100%;height:100%;min-height:250px;object-fit:cover}
.bay-info{padding:25px}
.bay-label{font-size:24px;font-weight:900}
.bay-info h3{font-size:18px;margin:8px 0 0}
.bay-info p{color:#9eaba7;margin:2px 0 15px}
.bay-price{font-size:15px;margin-bottom:16px}
.bay-price strong{font-size:31px;color:var(--fp-green)}
.bay-price small{color:#aab8b4}
.experience{background:#0b1614;color:#fff;padding-top:55px}
.experience-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.experience h2{font-size:42px;margin:5px 0 15px}
.experience p{color:#b6c1bd;max-width:650px}
.checks{display:grid;gap:10px;margin-top:20px;color:#dce5e1}
.checks span:before{content:"";display:inline-block;width:8px;height:8px;background:var(--fp-green);border-radius:50%;margin-right:10px}
.course-image{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.course-image img{display:block;width:100%;height:310px;object-fit:cover}
.location-strip{background:#10231d;color:#fff;padding:28px 0;border-top:1px solid rgba(118,224,106,.3)}
.location-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.location-inner strong{font-size:18px}
.btn-outline-green{border:1px solid var(--fp-green);color:#fff;background:transparent}
.final-cta{background:#08110f}
.final-cta .cta{margin:0}
@media(max-width:900px){
 .benefit-grid{grid-template-columns:1fr 1fr}.benefit:nth-child(2){border-right:0}.benefit:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.09)}
 .bay-grid,.experience-grid{grid-template-columns:1fr}
 .section-heading>span{position:static;display:block;margin-top:7px}
}
@media(max-width:650px){
 .hero,.hero-inner{min-height:650px}.hero-shade{background:linear-gradient(90deg,rgba(5,9,8,.78),rgba(5,9,8,.25))}
 .benefit-grid{grid-template-columns:1fr}.benefit{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.09)}
 .bay-card{grid-template-columns:1fr}.bay-card>img{min-height:190px}
 .location-inner{display:block}.location-inner .btn{margin-top:15px}
 .experience h2,.section-heading h2{font-size:34px}
}

/* V13: one real container for the hero, matching every other homepage section. */
.hero-inner{
  position:relative;
  z-index:2;
  width:min(1160px,calc(100% - 40px));
  margin-left:auto;
  margin-right:auto;
  padding:80px 0;
  min-height:560px;
  display:flex;
  align-items:center;
}
.hero-copy{width:100%;max-width:570px;margin:0;}

/* Header and all page sections use the same centred content grid. */
.site-header{width:100%;}
.site-header .nav{width:min(1160px,calc(100% - 40px));margin:0 auto;padding:0;}
.brand-logo{display:block;width:150px;line-height:0;flex:0 0 150px;}
.brand-logo img{display:block;width:150px;height:auto;max-height:48px;object-fit:contain;}
.menu{margin-left:auto;justify-content:flex-end;}
.mobile-toggle{display:none;background:transparent;border:0;padding:10px;cursor:pointer;}
.mobile-toggle span{display:block;width:25px;height:2px;background:#fff;margin:5px 0;border-radius:2px;}
.benefits>.container{width:min(1160px,calc(100% - 40px));margin:0 auto;}
.benefit-grid{width:100%;}

.location-section{background:#0b1614;color:#fff;padding:70px 0;border-top:1px solid rgba(118,224,106,.25);}
.location-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:stretch;}
.location-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;}
.location-copy h2{font-size:clamp(34px,4vw,50px);line-height:1;margin:8px 0 18px;letter-spacing:-.04em;}
.location-copy p{color:#b6c1bd;max-width:430px;margin:0 0 14px;}
.location-address{font-size:18px;color:#fff!important;margin-bottom:24px!important;}
.map-frame{min-height:330px;border:1px solid rgba(255,255,255,.12);border-radius:18px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.25);background:#111;}
.map-frame iframe{display:block;width:100%;height:100%;min-height:330px;border:0;filter:grayscale(.65) contrast(1.05) brightness(.82);}
.final-cta .container.cta{width:min(1160px,calc(100% - 40px));max-width:1160px;margin-left:auto;margin-right:auto;}

@media(max-width:900px){
  .site-header .nav{width:calc(100% - 32px);height:70px;}
  .brand-logo,.brand-logo img{width:132px;max-height:42px;}
  .mobile-toggle{display:block;margin-left:auto;position:relative;z-index:102;}
  .menu{position:absolute;left:0;right:0;top:70px;margin:0;padding:14px 16px 20px;background:var(--fp-header);border-top:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 20px 40px rgba(0,0,0,.35);transform:translateY(-10px);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease;}
  .menu.is-open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto;}
  .menu a{padding:14px 10px;border-bottom:1px solid rgba(255,255,255,.07);font-size:16px;}
  .menu .btn{margin-top:12px;text-align:center;border:0;}
  .hero-inner{width:calc(100% - 32px);min-height:600px;padding:72px 0;align-items:flex-end;}
  .hero-copy{max-width:650px;}
  .location-grid{grid-template-columns:1fr;gap:28px;}
  .map-frame,.map-frame iframe{min-height:300px;}
}
@media(max-width:650px){
  .site-header .nav{height:64px;}
  .menu{top:64px;}
  .brand-logo,.brand-logo img{width:122px;max-height:38px;}
  .hero,.hero-inner{min-height:620px;}
  .hero-inner{width:calc(100% - 28px);padding:58px 0 46px;align-items:flex-end;}
  .hero h1{font-size:clamp(44px,13vw,64px);margin:12px 0 16px;}
  .hero .lead{font-size:16px;line-height:1.5;}
  .hero-actions .btn{width:100%;}
  .playline{font-size:10px;letter-spacing:.2em;}
  .benefits>.container{width:calc(100% - 28px);}
  .benefit{padding:20px 8px;}
  .location-section{padding:52px 0;}
  .map-frame,.map-frame iframe{min-height:280px;}
  .final-cta .container.cta{width:calc(100% - 28px);}
}


/* v16: editor / Elementor content area */
.fp-editor-content { max-width: 1180px; }
.fp-editor-content > *:first-child { margin-top: 0; }
.fp-editor-content .elementor { width: 100%; }


/* Full-width page content (Elementor designs and the "Full width (no hero)" template) */
.fp-fullwidth { width: 100%; }
.fp-fullwidth > .elementor { width: 100%; }

/* Company details line in the footer */
.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--fp-border);
  color: var(--fp-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* WooCommerce: the page body is light, so forms, tables and notices are light too */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce #place_order {
  background: var(--fp-green);
  color: #06120c;
  border-radius: var(--fp-btn-radius);
  font-weight: 700;
  padding: 12px 22px;
  border: 0;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover,
.woocommerce #place_order:hover { background: var(--fp-lime); color: #06120c; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce .select2-container .select2-selection--single {
  background: #ffffff;
  color: #15211e;
  border: 1px solid #cfd8d4;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: none;
}
.woocommerce .select2-container .select2-selection--single { height: auto; padding: 8px 10px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--fp-green);
  outline: 2px solid rgba(118,224,106,.35);
  outline-offset: 0;
}
.woocommerce form .form-row label { color: #15211e; font-weight: 700; }

.woocommerce table.shop_table {
  background: #ffffff;
  border: 1px solid #dfe7e2;
  border-radius: 14px;
  color: #15211e;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: #e6ece9; }

.woocommerce-checkout #payment {
  background: #f4f7f5;
  border-radius: var(--fp-radius);
  color: #15211e;
}
.woocommerce-checkout #payment div.payment_box { background: #ffffff; color: #3c4a45; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #ffffff; }

.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: #f4f7f5;
  color: #15211e;
  border-top-color: var(--fp-green);
}
.woocommerce-error { border-top-color: #d64545; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--fp-green); }
.woocommerce-info a, .woocommerce-message a { color: #0c6b3a; font-weight: 700; }

/* Booking details under the line item: label and value on one line */
.woocommerce dl.variation, .woocommerce-checkout dl.variation { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px; }
.woocommerce dl.variation dt, .woocommerce dl.variation dd { margin: 0; padding: 0; float: none; }
.woocommerce dl.variation dd p { margin: 0; }
.woocommerce dl.variation dt { font-weight: 700; }


/* Logo uploaded through Appearance > Customize > Site Identity */
.brand-logo:has(.custom-logo) { width: auto; flex: 0 0 auto; }
.brand-logo .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img.custom-logo { width: auto; height: 54px; max-height: none; max-width: 240px; object-fit: contain; }
@media (max-width: 900px) { .brand-logo img.custom-logo { height: 44px; max-width: 170px; } }
@media (max-width: 560px) { .brand-logo img.custom-logo { height: 40px; max-width: 150px; } }
}

/* Page content: links, buttons and FAQ cards in the editor-built pages */
.fp-editor-content a:not(.wp-block-button__link):not(.button) { color: var(--fp-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fp-editor-content h2, .fp-editor-content h3 { margin: 1.6em 0 .5em; }
.fp-editor-content h2:first-child { margin-top: 0; }
.fp-editor-content .wp-block-buttons { margin-top: 28px; }
.fp-editor-content .wp-block-button__link {
  background: var(--fp-green); color: #06120c; border-radius: var(--fp-btn-radius); font-weight: 800;
  padding: 14px 26px; text-decoration: none; display: inline-block;
}
.fp-editor-content .wp-block-button__link:hover { background: var(--fp-lime); color: #06120c; }
.fp-editor-content details.wp-block-details {
  border: 1px solid #dfe7e2; border-radius: 14px; padding: 0; margin: 0 0 12px; background: #fff;
}
.fp-editor-content details.wp-block-details summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; padding-right: 52px;
}
.fp-editor-content details.wp-block-details summary::-webkit-details-marker { display: none; }
.fp-editor-content details.wp-block-details summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--fp-green); font-weight: 700;
}
.fp-editor-content details.wp-block-details[open] summary::after { content: "\2212"; }
.fp-editor-content details.wp-block-details > *:not(summary) { padding: 0 22px 18px; margin: 0; color: #3c4a45; }

/* Footer logo when one is uploaded in Site Identity */
.footer-logo .custom-logo-link { display: inline-block; line-height: 0; margin-bottom: 14px; }
.footer-logo img.custom-logo { height: 64px; width: auto; max-width: 240px; }
.page-hero .lead { max-width: 720px; }

/* Benefit icons follow the brand colour (Customize > Fore-Play Design > Colours) */
.benefit-icon{display:block;width:46px;height:46px;flex:0 0 46px;background:var(--fp-green);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
