/* ===============================
   Tuckwell Tyres – Global Styles (Premium Glass + 3D)
================================*/

/* Theme variables */
:root{
  --yellow:#f7c600;
  --white:#f5f7fb;

  --bg0:#04060f;
  --bg1:#050a18;

  --glassA: rgba(10, 18, 35, 0.62);
  --glassB: rgba(10, 18, 35, 0.36);

  --stroke: rgba(255,255,255,0.10);
  --strokeHi: rgba(255,255,255,0.16);
  --strokeYellow: rgba(247,198,0,0.35);

  --radius:18px;
  --shadow: 0 18px 60px rgba(0,0,0,0.60);
  --shadow2: 0 10px 24px rgba(0,0,0,0.45);
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:100vh;
  color:var(--white);

  /* Premium background */
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(247,198,0,0.08), transparent 55%),
    radial-gradient(1000px 700px at 85% 20%, rgba(60,160,255,0.08), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

/* Layout + panels */
.page-wrap{
  max-width:1100px;
  margin:84px auto 60px;
  padding:0 16px 40px;
}

.tt-panel{
  margin-top:18px;
  padding:20px 20px 22px;
  border-radius:var(--radius);
  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  border: 1px solid var(--stroke);
  border-top: 1px solid var(--strokeHi);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position:relative;
  overflow:hidden;

  /* reveal animation start state (JS adds .in) */
  opacity:0;
  transform: translateY(12px);
  transition: 520ms ease;
}

/* Light sheen */
.tt-panel::before{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 55%);
  pointer-events:none;
  transform: rotate(10deg);
}

/* Animate in when visible */
.tt-panel.in{
  opacity:1;
  transform: translateY(0);
}

/* 3D hover lift (desktop only) */
@media (hover:hover){
  .tt-panel:hover{
    transform: translateY(-2px);
    box-shadow: 0 28px 90px rgba(0,0,0,0.65);
    border-color: rgba(255,255,255,0.14);
  }
}

h1,h2,h3{color:var(--yellow);letter-spacing:-0.02em;}
h1{font-size:clamp(1.6rem,2.3vw,2.2rem);margin:0 0 0.6rem;}
h2{font-size:1.25rem;margin:0.5rem 0 0.35rem;}
h3{font-size:1.05rem;margin:0 0 0.4rem;}

p{
  margin:0 0 0.7rem;
  font-size:0.98rem;
  line-height:1.65;
  color:#dfe7ff;
}
ul{
  margin:0.2rem 0 0.7rem 1.1rem;
  padding:0;
  font-size:0.96rem;
}
li{margin-bottom:0.25rem;}

.crumb{
  margin:0 0 0.6rem;
  font-size:0.85rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:#9fa8ff;
}
.crumb span{
  color:var(--yellow);
  font-weight:700;
}

a.inline-link{
  color:var(--yellow);
  text-decoration:none;
  font-weight:700;
}
a.inline-link:hover{text-decoration:underline;}

/* Buttons – premium 3D */
.btn-row{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  font-size:0.95rem;
  font-weight:800;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.18);
  color:#ffffff;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  will-change: transform;
}
.btn-primary{
  background: linear-gradient(180deg, #ffe37a, var(--yellow));
  color:#03142e;
  border:1px solid rgba(0,0,0,0.15);
}
.btn-primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 18px 35px rgba(0,0,0,0.55), 0 0 22px rgba(247,198,0,0.24);
}
.btn-primary:active{transform: translateY(0) scale(0.99);}
.btn-outline:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 18px 35px rgba(0,0,0,0.55);
}

/* Pills */
.pill-row{margin-top:8px;margin-bottom:6px;}
.pill{
  display:inline-block;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  font-size:0.80rem;
  margin-right:6px;
  margin-bottom:6px;
  color:#dde6ff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pill span{font-weight:800;color:#ffffff;}

/* ===============================
   NAVBAR & SERVICES DROPDOWN
================================*/

.top-nav{
  width:100%;
  background: rgba(6, 17, 46, 0.70);
  color:#ffffff;
  position:fixed;
  top:0;left:0;
  z-index:1000;
  border-bottom:1px solid rgba(255,255,255,0.10);
  box-shadow:0 10px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.top-nav-inner{
  max-width:1100px;
  margin:0 auto;
  padding:8px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.top-nav-brand{
  font-weight:800;
  letter-spacing:0.04em;
  font-size:0.95rem;
  display:flex;
  align-items:center;
  gap:8px;
}
.top-nav-brand img{
  height:28px;
  width:28px;
  border-radius:50%;
}
.top-nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:0.9rem;
  align-items:center;
}

/* Normal nav links */
.top-nav-links > a{
  color:#ffffff;
  text-decoration:none;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
.top-nav-links > a:hover{
  background:rgba(247,198,0,0.12);
  border-color: rgba(247,198,0,0.45);
}

/* Burger (mobile) */
.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  color:#ffffff;
  border-radius:999px;
  padding:6px 10px;
  font-size:1.1rem;
  cursor:pointer;
}

/* Services dropdown button + menu */
.nav-services-group{position:relative;}
.nav-services-btn{
  color:#ffffff;
  text-decoration:none;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
  font:inherit;
}
.nav-services-btn:hover{
  background:rgba(247,198,0,0.12);
  border-color: rgba(247,198,0,0.45);
}

/* Dropdown */
.nav-services-menu{
  position:absolute;
  top:115%;
  right:0;
  min-width:210px;
  background: linear-gradient(180deg, rgba(8,14,28,0.92), rgba(8,14,28,0.72));
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 20px 60px rgba(0,0,0,0.65);
  padding:6px 6px;
  display:none !important;
  flex-direction:column;
  z-index:1200;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-services-menu a{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  font-size:0.88rem;
  text-decoration:none;
  color:#ffffff;
}
.nav-services-menu a:hover{
  background:rgba(247,198,0,0.12);
}

/* When JS adds this class, show the menu */
.nav-services-menu.nav-services-open{display:flex !important;}

/* ===============================
   FOOTER
================================*/

.tt-footer {
  background: rgba(6, 10, 22, 0.88);
  color:#f5f5f5;
  border-top:1px solid rgba(247,198,0,0.45);
  font-size:14px;
  margin-top:40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.tt-footer a {color:#f7c600;text-decoration:none;}
.tt-footer a:hover {text-decoration:underline;}
.tt-footer-inner {
  max-width:1100px;
  margin:0 auto;
  padding:32px 16px 28px;
  display:grid;
  grid-template-columns:2fr 1.2fr 1.6fr;
  gap:24px;
}
.tt-footer-col {min-width:0;}
.tt-footer-logo-main {
  display:block;
  font-size:1.3rem;
  font-weight:900;
  letter-spacing:0.05em;
  text-transform:uppercase;
}
.tt-footer-logo-tagline {
  display:block;
  font-size:0.9rem;
  margin-top:4px;
  color:#f7c600;
}
.tt-footer-text {margin-top:10px; line-height:1.55;color:#dfe7ff;}
.tt-footer-highlight {font-weight:800;}
.tt-footer-heading {
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:12px;
  border-bottom:1px solid rgba(247,198,0,0.35);
  padding-bottom:5px;
}
.tt-footer-list {list-style:none; padding:0; margin:0;}
.tt-footer-list li {margin-bottom:6px;}
.tt-footer-contact-list li {
  display:flex;
  gap:6px;
  align-items:flex-start;
}
.tt-footer-contact-list li span {flex-shrink:0;}
.tt-footer-hours {
  margin:12px 0;
  font-size:0.9rem;
  line-height:1.5;
  color:#dfe7ff;
}
.tt-footer-social {font-size:0.9rem;color:#dfe7ff;}
.tt-footer-social-label {margin-right:4px;}
.tt-footer-sep {opacity:0.6; margin:0 4px;}
.tt-footer-bottom {
  border-top:1px solid rgba(255,255,255,0.10);
  text-align:center;
  padding:10px 16px 16px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px 18px;
  font-size:0.85rem;
  background: rgba(0,0,0,0.28);
}

/* ===============================
   ROBERT TUCKWELL CONTRACTING PANEL
================================*/
.rt-partner{
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(0,1.9fr);
  gap:18px;
  align-items:stretch;
}
.rt-partner-text p{line-height:1.65;}
.rt-tag{
  display:inline-block;
  padding:3px 10px;
  border-radius:999px;
  font-size:0.8rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  background: rgba(247,198,0,0.10);
  border:1px solid rgba(247,198,0,0.18);
  color: var(--yellow);
  margin-bottom: 6px;
}
.rt-partner-box{
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  padding:14px 16px;
  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size:0.95rem;
}
.rt-partner-box h3{
  font-size:1.05rem;
  margin-top:0;
  margin-bottom:6px;
  color:var(--yellow);
}
.rt-partner-box ul{margin:0;padding-left:1.1rem;}
.rt-partner-box li{margin-bottom:3px;}
.rt-partner-cta{
  margin-top:10px;
  font-size:0.9rem;
  color:#dfe7ff;
}
.rt-partner-cta a{
  color:var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight:800;
}
@media (max-width:800px){
  .rt-partner{grid-template-columns:1fr;}
}

/* Contact panel used on RT page */
.rt-contact-panel{
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  padding:16px 18px;
  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-top: 8px;
}
.rt-contact-panel h2{
  margin-top:0;
  color:var(--yellow);
  margin-bottom:8px;
  font-size:1.3rem;
}
.rt-contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1.4fr);
  gap:18px;
}
.rt-contact-grid p{line-height:1.6;font-size:0.95rem;}
.rt-contact-form-row{margin-bottom:10px;}
.rt-contact-form-row label{
  display:block;
  font-size:0.85rem;
  margin-bottom:3px;
  color:#dfe7ff;
}
.rt-contact-form-row input,
.rt-contact-form-row textarea{
  width:100%;
  padding:9px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color:#f5f6ff;
  font-size:0.95rem;
  outline:none;
}
.rt-contact-form-row input:focus,
.rt-contact-form-row textarea:focus{
  border-color: rgba(247,198,0,0.45);
  box-shadow: 0 0 0 3px rgba(247,198,0,0.12);
}
.rt-contact-form-row textarea{
  min-height:120px;
  resize:vertical;
}
.rt-contact-actions{margin-top:8px;}
.rt-contact-note{
  font-size:0.8rem;
  color:#a0a7b8;
  margin-top:6px;
}
.rt-contact-status{
  margin-bottom:10px;
  padding:8px 10px;
  border-radius:10px;
  font-size:0.9rem;
  background: rgba(25,135,84,0.18);
  border: 1px solid rgba(25,135,84,0.50);
}
.rt-contact-status.error{
  background: rgba(220,53,69,0.18);
  border-color: rgba(220,53,69,0.50);
}
@media (max-width:800px){
  .rt-contact-grid{grid-template-columns:1fr;}
}

/* ===============================
   RESPONSIVE NAV + FOOTER
================================*/

@media (max-width:900px){
  .tt-footer-inner{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .tt-footer-inner{ grid-template-columns:1fr; }
  .tt-footer{ font-size:13px; }
}

@media (max-width:800px){
  .page-wrap{margin-top:78px;}

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .top-nav-inner{justify-content:space-between;}

  .top-nav-links{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background: rgba(6, 17, 46, 0.92);
    padding:10px 16px 12px;
    box-shadow:0 18px 40px rgba(0,0,0,0.75);
    border-bottom:1px solid rgba(255,255,255,0.10);
    display:none;
    flex-direction:column;
    gap:8px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .top-nav-links.nav-open{display:flex;}

  .top-nav-links > a,
  .nav-services-btn{
    width:100%;
    text-align:left;
  }

  .nav-services-group{width:100%;}
  .nav-services-menu{
    position:static;
    margin-top:6px;
    box-shadow:none;
    border-radius:12px;
  }
}

/* ===============================
   MOBILE STICKY CONTACT BAR
   (add HTML in footer.php)
================================*/
.mobile-cta{
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display:none;
  gap:10px;
  z-index: 2000;
}

.mobile-cta-btn{
  flex:1;
  text-align:center;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight:900;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-cta-btn.primary{
  background: linear-gradient(180deg, #ffe37a, var(--yellow));
  color:#03142e;
  border: 1px solid rgba(0,0,0,0.12);
}

@media (max-width:800px){
  .mobile-cta{ display:flex; }
  .page-wrap{ padding-bottom: 95px; } /* stop page hiding behind bar */
}



/* ===============================
   HERO BACKGROUND (Latest Photo)
================================*/
.hero-hero{
  position:relative;
  padding:22px 20px 24px;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.70)),
    var(--hero);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.05);
  z-index:0;
}

/* extra blur edges for smoked glass vibe */
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 15% 20%, rgba(247,198,0,0.18), transparent 45%);
  opacity:0.55;
}

.hero-content{
  position:relative;
  z-index:1;
}

/* Make hero-side match glass */
.hero-side{
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  padding:14px 14px;
  background: linear-gradient(180deg, rgba(10,18,35,0.72), rgba(10,18,35,0.40));
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-side-title{
  font-weight:900;
  margin-bottom:6px;
  color:var(--yellow);
}
.hero-side-list{
  margin:0;
  padding-left:1.1rem;
  font-size:0.95rem;
}
