/* =========================================================
   ALT SIGNS — MASTER CSS REBUILD
   PART 1: BASE + GRID SYSTEM
========================================================= */
html {
  overflow-y: scroll;
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  text-align: center;

  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   LOGO
========================================================= */

.logo {
  display: block;
  position: relative;
  z-index: 2;
  width: auto;
  height: 100px;
  max-width: 100%;
}
.logo-link {
  display: block;
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.logo-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-badge {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  
  background: #f5f5f5;
  color: #adadad;
  
  padding: 8px 18px;
  border-radius: 999px;
  
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}

.badge-left {
  left: 20px;
}

.badge-right {
  right: 20px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  width: 100%;
  background-color: #f5f5f5;
}

.nav-inner {
  width: 600px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  box-sizing: border-box;
}

.nav-inner a {
  text-decoration: none;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-inner a:hover {
  opacity: 0.6;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .nav-inner {
    width: 100%;
    max-width: none;
    padding: 16px 20px;
    gap: 20px;
  }

  .nav-inner a {
    font-size: 12px;
    letter-spacing: 0.8px;
  }

}

/* =========================================================
   LARGE SCREEN 24
========================================================= */



@media (min-width: 1440px) {
  .logo-section {
    min-height: 200px;
  }

  .logo-section .logo {
    width: 150px;
    height: auto;
    object-fit: contain;
  }
}

@media (min-width: 1440px) {

  /* Make the white logo background 30px taller */
  .logo-section {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  /* Spread the navigation links further apart */
  .navbar {
    gap: 30px;
  }

}
/* =========================================================
   SECTIONS
========================================================= */

section {
  width: 100%;
  padding: 80px 20px;
  flex: 1;
}

.section-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Headings no longer need grid-column rules */
.section-content > h1,
.section-content > h2,
.section-content > .headline {
  width: 100%;
}
/* =========================================================
   SERVICES CARD
========================================================= */

/* Desktop layout */

/* Mobile layout */

/* =========================================================
   ABOUT IMAGE trial
========================================================= */

.about-image {
  width: 30%;
  height: auto;
}


/* =========================================================
   CONTENT ABOVE SHAPES
========================================================= */

#intro .section-content {
  position: relative;
  z-index: 1;
}

/* =========================================================
   COLOURS / BACKGROUNDS
========================================================= */

#intro {
  position: relative;
  overflow: hidden;
  min-height: 700px;

  background: #c7c7c7;
  color: #FF4537;

  display: flex;
  align-items: center;
  justify-content: center;
}

#windowsigns {
  background: #000000;
  color:#e8e8e8;
}

#theprocess {
  background:#fde8e6;
  color:#FF4537;
}

#about {
  background:#ffbe4d;
  color:#080808;
}

#faq {
  background:#ffbe4d;
  color:#FF4537;
}

#contactform {
  background:#ffbe4d;
  color:#FF4537;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

#intro {
  flex: 1;
  min-height: 0;
}

.headline {
  font-size:2.5rem;
  font-weight:600;
  line-height:1.1;
  text-transform:uppercase;
  margin-bottom:12px;
}

.underline {
  text-decoration:underline;
  text-decoration-thickness:4px;
  text-underline-offset:8px;
}

.card-header {
  letter-spacing:.06em;
  font-size:1.2rem;
  font-weight:600;
}

.subhead {
  font-size:1rem;
  line-height:1.5;
}


.small {
  color:#ffc107;
  font-weight:600;
}



/* =========================================================
 html body like area for png on main page
========================================================= */
html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  position: relative;
}

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

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

/* =========================================================
   UNIVERSAL CARD SYSTEM
========================================================= */

.card {
  border-radius:16px;
  display:block;
}


.card img {
  display:block;
  width:100%;
}

.service-card {
  background: #ebc0bd;
  color: #856c6c;

  width: 100%;
  max-width: 750px;

  padding: 40px;
  border-radius: 20px;

  text-align: left;
}

.service-card .Sub {
  color: #200000;
  margin-bottom: 25px;
}

.service-card .subhead {
  color: #4b0000;
  font-weight: 300;
  line-height: 1.6;
}


/* =========================================================
   THREE COLUMN CARD GRID
========================================================= */


.card-grid {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}


/* =========================================================
   PROCESS FLOW
========================================================= */


.flow {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}


.flow-item {
  display:flex;
  justify-content:center;
}

.flow .card {
  width:100%;
}

.flow .card img {
  width:100%;
}



/* =========================================================
   SPLASH CARDS
========================================================= */


.step-card {
  position:relative;
  padding-top:40px;
}


.step-image {

  position:relative;

  z-index:1;

}


.journey-card {
  background:#ffffff;
  border-radius:16px;
  padding:20px;
  margin:0 auto 15px;
  max-width:80%;
  position:relative;
  z-index:2;
  box-shadow:0 10px 25px rgba(0,0,0,.35);

}


.journey-header {
  letter-spacing:.06em;
  font-size:1.4rem;
  font-weight:600;
}


.journey-subheadb {
  color:#565656;
  font-size:1rem;
  font-weight:900;
  letter-spacing:.1em;
}


/* =========================================================
   BADGE
========================================================= */


.step-badge {

  position:absolute;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  background:white;
  color:black;
  display:flex;
  justify-content:center;
  align-items:center;
  font-weight:700;
  z-index:10;

}

.image-card{
    overflow:hidden;
    padding:0;
    display:flex;
}

.image-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


/* =========================================================
   CONTACT THREE CARD GRID
========================================================= */


#contactform .section-content{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

#contactform .headline{
grid-column:1 / -1;
}

.contact-card{
background:#ffffff;
border-radius:18px;
padding:30px;
text-align:left;
}

.contact-card h3{
color:#ffc107;
margin-bottom:20px;
}

/* FAQ */

.faq-item{
border-bottom:1px solid rgba(255,255,255,.2);
padding:15px 0;
}

.faq-item summary{
cursor:pointer;
font-weight:600;
}

.faq-item p{
margin-top:15px;
color:#bbb;
line-height:1.5;
}



/* IDEA CARD */

.idea-card textarea{
width:100%;
min-height:170px;
padding:15px;
border-radius:16px;
border:none;
margin-bottom:30px;
font-family:inherit;
}


/* DETAILS CARD */

.details-card input{
width:100%;
height:45px;
margin-bottom:12px;
padding:0 15px;
border-radius:999px;
border:1px solid #777;
}

.details-card textarea{
    width:100%;
    min-height:180px;
    margin-bottom:12px;
    padding:15px;
    border-radius:20px;
    border:1px solid #777;
    resize:vertical;
    font-family:inherit;
}

.details-card button{
width:100%;
height:45px;
border-radius:999px;
background:#ffc107;
border:none;
font-weight:bold;
cursor:pointer;
}


/* MOBILE */

@media(max-width:900px){

#contactform .section-content{

grid-template-columns:1fr;

}

}

/* =========================================================
   RESPONSIVE SYSTEM
========================================================= */


/* =========================================================
   LARGE TABLETS
========================================================= */

@media (max-width: 1000px) {

.contact-options {
  grid-template-columns:repeat(2,1fr);
}

.contact-details {
  grid-template-columns:repeat(2,1fr);
}

  .section-content {
    grid-template-columns:repeat(2,1fr);
  }

  /*
  Headlines stay full width
  */
  .section-content > h1,
  .section-content > h2,
  .section-content > .headline {
    grid-column:1 / -1;
  }

  .card-grid,
  .flow {
    grid-template-columns:repeat(2,1fr);
  }


  .contact-card {
    width:100%;
  }
}

/* =========================================================
   TABLETS / SMALL SCREENS
========================================================= */

@media (max-width:768px) {


  @media (max-width:768px){

#contactform .section-content{

    grid-template-columns:1fr;

}


.contact-image,
.contact-idea,
.contact-budget,
.contact-details{

    grid-column:1;

    grid-row:auto;

}


.details-grid{

    grid-template-columns:1fr;

}

}
.details-grid{

    grid-template-columns:1fr;

}

.contact-card textarea{

    min-height:180px;

}

.contact-options,
.contact-details {

  grid-template-columns:1fr;

}

  section {
    padding:60px 20px;
  }

  .section-content {
    grid-template-columns:1fr;
    gap:30px;
  }

  .card-grid,
  .flow {
    grid-template-columns:1fr;
  }

  .intro {
    font-size:3rem;
  }

  .headline {
    font-size:2rem;
  }


  /*
  NAVBAR
  */


  .nav-inner {
    padding:15px;
  }

  /*
  FORM STACK
  */

  .form-grid {
    grid-template-columns:1fr;
  }

  .form-name,
  .form-email,
  .form-business,
  .form-postcode,
  .form-submit {

    grid-column:auto;

  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px) {

  .intro {
    font-size:2.4rem;
  }

  .headline {
    font-size:1.7rem;
  }

  h3 {
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1.2;
}

  .pill-group {
    justify-content:center;
  }

  .skew-stack {
    height:300px;
  }

  .skew-card {
    height:120px;
  }

  .card-2,
  .card-3 {
    display:none;
  }

  .card-1 {
    width:90%;
    margin-left:-45%;
    transform:none;
  }

}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-section {
  width: 100%;
  background: #e8e8e8;
  color: #242424;
  padding: 80px 20px;
}

.contact-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}


@media (max-width: 768px) {

  .form-row,
  .form-row.three-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}


.contact-form label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #FF4537;
  margin-top: 15px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 16px;
  background: #fff;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form select {
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(255, 69, 55, 0.25);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 20px;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  background: #FF4537;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.8;
}


/* =========================================================
   CONTACT MOBILE
========================================================= */

@media (max-width: 768px) {

  .contact-section {
    padding: 60px 20px;
  }

  .contact-content h1 {
    font-size: 2rem;
  }

}


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

.site-footer {
  background: #242424;
  color: #818181;
  padding: 40px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-row a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-row a:hover {
  opacity: 0.7;
}

.footer-icon img {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

.footer-icon img:hover {
  opacity: 1;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-instagram img {
  width: 20px;
  height: 20px;
}



/* =========================================================
   SERVICE GALLERIES
========================================================= */

/* Arrange the service image and text above the gallery */
.service-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

/* Main service image */
.service-card .service-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent text from overflowing its grid column */
.service-card .service-content {
  min-width: 0;
}

/* Gallery sits underneath BOTH the image and text */
.service-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

/* Clickable thumbnail */
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

.gallery-thumb:focus-visible {
  outline: 3px solid #ffbe4d;
  outline-offset: 4px;
}

/* =========================================================
   ENLARGED IMAGE POPUP
========================================================= */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: rgba(0, 0, 0, 0.92);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.gallery-close {
  position: absolute;
  top: 15px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Mobile layout */
@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px;
  }

  .service-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-lightbox {
    padding: 50px 12px;
  }
}


/* =========================================================
   GALLERY LIGHTBOX NAVIGATION
========================================================= */

.gallery-view {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 120px);
}

.gallery-lightbox-image {
  touch-action: pan-y;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

.gallery-counter {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .gallery-view {
    max-width: calc(100% - 64px);
  }

  .gallery-nav {
    width: 36px;
    height: 50px;
    font-size: 20px;
  }

  .gallery-prev {
    left: 6px;
  }

  .gallery-next {
    right: 6px;
  }

  .gallery-close {
    top: 10px;
    right: 10px;
  }
}


/* ABOUT PAGE — NARROWER, CENTRED TEXT */

#about .about-content {
  max-width: 600px;
  margin: 0 auto;
}

#about .about-copy {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}

#about .about-copy p {
  margin: 0;
  line-height: 1.8;
  text-align: center;
}

#about .about-content h2 {
  width: 100%;
  text-align: center;
}


/* Service card heading with small icon */

.service-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.service-card .service-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-card .Sub {
  margin: 0;
}

.service-card .service-content {
  width: 100%;
}

/* Smaller icon on mobile */

@media (max-width: 768px) {
  .service-heading {
    gap: 12px;
  }

  .service-card .service-image {
    width: 40px;
    height: 40px;
  }
}


/* FIX SERVICE CARD WIDTH */

.service-card {
  display: block;
}

/* Content fills the card width */
.service-card .service-content {
  display: block;
  width: 100%;
  min-width: 0;
}

/* Icon and headline share one row */
.service-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 20px;
}

/* Keep icon small */
.service-card .service-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Description runs across the card */
.service-card .subhead {
  width: 100%;
  margin: 0;
  line-height: 1.6;
}

.service-card .Sub {
  margin: 0;
}



.about-page-card {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
}

.about-page-card .gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}

.about-page-card .gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
}



.logo-marquee {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;

  /* Feather both edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  flex-shrink: 0;
  animation: logoScroll 36s linear infinite;
  will-change: transform;
}

@keyframes logoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================================
   LOGO MARQUEE — MOBILE SIZING OVERRIDES
======================================== */

@media screen and (max-width: 768px) {
  .logo-marquee .logo-track img {
    width: 1200px !important;
    height: auto !important;
    flex-basis: 1200px !important;
  }

  .logo-track {
    animation-name: logoScrollResponsive;
  }
}

@media screen and (max-width: 480px) {
  .logo-marquee .logo-track img {
    width: 850px !important;
    height: auto !important;
    flex-basis: 850px !important;
  }
}

@keyframes logoScrollResponsive {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
