/* =========================================================
Base page for AV
Global styles used across all pages
========================================================= */


/* =========================================================
Below is Universal Box Model Fix Keeps element widths predictable
Normally CSS calculates width like this: width + padding + border = actual size
With this fix width includes padding and border So layouts behave much more predictably.
========================================================= */

*,
*::before,
*::after{
box-sizing:border-box;
}

/* ======== START ============ */

body{
font-family:Arial, Helvetica, sans-serif;
background:#D7E4F6;
margin:0;
line-height:1.6;
-webkit-text-size-adjust:100%;

/* prevents sticky footer nav covering page content */
padding-bottom:60px;
}

/* Make images behave properly everywhere */
img{
max-width:100%;
height:auto;
display:block;
}

/* Prevent link colour changes across pages */
a{
color:inherit;
}

/* =========================================================
If you ever use anchor links like: #services #about #contact
Now when clicking a menu link the page glides instead of jumping.
========================================================= */

html{
scroll-behavior:smooth;
}

/* ===================== Header ===================== */

header {
background:  #FFFFFF;
color: white;

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

header h1 {
font-size: 22px;
letter-spacing: 1px;
margin: 0;
}

/* Navigation container */

.navbar {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 30px;
background: #223BFC;
color: white;
position: relative;
z-index: 10000;
}

/* Navigation links */

.nav-links {
list-style: none;
display: flex;
gap: 25px;
}

/* Navigation links */

.nav-links a,
.footer-nav a {
color: #FFFFFF;
text-decoration: none;
font-size: 15px;
font-weight: 500;
letter-spacing: 0.5px;
transition: opacity 0.3s ease, border-bottom 0.3s ease;
}

/* Hover state */

.nav-links a:hover,
.footer-nav a:hover {
opacity: 0.8;
border-bottom: 1px solid #d4af37;
}

/* Active page */

.nav-links a.active,
.footer-nav a.active {
border-bottom: 2px solid #FFFFFF;
}

/* Mobile hamburger icon */

.menu-toggle {
display: none;
font-size: 28px;
cursor: pointer;
}

/* ===================== Mobile Navigation ===================== */

@media (max-width: 768px) {
    
.container {
  width: 100%;
  padding: 15px;
}

.trust-band {
  padding: 1px 1px;
}

/*  Adjust the image size in hero on phone */
  .hero {
    aspect-ratio: auto;
    min-height: 60px; /* 👈 tweak this */
    max-height: 220px;

    background-position: 30% center; 
  }

.nav-links {
position: absolute;
top: 70px;
left: 0;
right: 0;
background: #111;

display: flex;
flex-direction: column;
gap: 0;

overflow: hidden;
max-height: 0;
opacity: 0;

transition:
max-height 0.4s ease,
opacity 0.3s ease;
}

.nav-links.active {
max-height: 400px;
opacity: 1;
}

.nav-links a {
display: block;
padding: 9px 25px;
}

.menu-toggle {
display: block;
}

/* Reduce padding slightly on smaller screens */

.section {
padding: 25px 20px;
}

}

/* ===================== Hero ===================== */

.hero {
width: 100%;
aspect-ratio:15 / 1;
max-height: 250px;

background:
linear-gradient(rgba(15,42,31,0.1), rgba(15,42,31,0.1)),
url('../images/filmstrip.avif') center center / cover no-repeat;

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: white;
padding: 0 20px;
}

.hero h1 {
font-size: 46px;
margin-bottom: 20px;
letter-spacing: 1px;
}

.hero p {
font-size: 20px;
max-width: 700px;
margin: 0 auto 30px auto;
}

/* Hero buttons */

.hero .button-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
}

.button {
background: #d4af37;
color: #0f2a1f;
padding: 12px 28px;
text-decoration: none;
font-weight: bold;
border-radius: 3px;
transition: background 0.3s ease, transform 0.2s ease;
}

.button:hover {
background: #c39b2e;
transform: translateY(-2px);
}

/* ===================== Trust Band ===================== */

.trust-band {
background: #ffffff;
padding: 10px 10%;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}

.trust-items {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
font-weight: 800;
color: #4E72F4;
text-align: center;
}

.trust-items div {
flex: 1;
min-width: 10px;
}

/* ===================== Page Container ===================== */
/* Adjust working area width here for mobiles */

.container{
max-width:1600px;
width:100%;
margin:auto;
padding:16px;
}

/* ===================== Info Box ===================== */
/* Used for text sections */

.infobox{
max-width:1000px;
margin:20px auto;
padding:18px 22px;
background:white;
border-radius:8px;
box-shadow:0 3px 8px rgba(0,0,0,0.2);
line-height:1.6;
}

.infobox h2{
margin-top:0;
text-align:center;
font-size:24px;
letter-spacing:0.5px;
}

.infobox p{
margin:10px 0;
}

/* ===================== Gallery Grid ===================== */
/* The number controls the number of columns */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
gap:30px;
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 40px;
  align-items: center; /* Vertically centres the text with the image */
}


/* Gallery cards */

.card{
background:white;
	
border-radius:8px;
box-shadow:0 3px 8px rgba(0,0,0,0.2);
overflow:hidden;
transition:transform 0.2s ease, box-shadow 0.2s ease;
padding:18px 22px;
}

.card:hover{
transform:translateY(-4px);
box-shadow:0 8px 18px rgba(0,0,0,0.3);
}

.card img{
width:100%;
aspect-ratio:2/1;
object-fit:cover;
}

.card:hover img{
transform:scale(1.05);
}

.card h3{
text-align:center;
margin:14px;
font-size:18px;
}


.cardimage {
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  overflow: hidden;

  display: flex;
  flex-direction: column;

  padding: 0; /* important */
}

/* Image container */
.cardimage img {
  width: 100%;
  height: 220px; /* fixed height = equal cards */
  object-fit: cover;
}

/* Content stays flexible */
.cardimage h3 {
  padding: 14px;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}



/* ===================== Back Button ===================== */

.backlink{
max-width:1100px;
margin:auto;
padding:10px 20px;
}

.backlink a{
display:inline-block;
background:#444;
color:white;
padding:8px 14px;
border-radius:4px;
font-size:14px;
text-decoration:none;
}

.backlink a:hover{
background:#666;
}

/* ===================== Grid Mobile Adjustment ===================== */

@media (max-width:700px){

.grid{
grid-template-columns:1fr;
gap:15px;
}

}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ===================== HR ===================== */

hr {
    display: block;
	height: 5px;
    border: 50;
    border-top: 5px solid #558AFA;
    padding: 0;
	width:85%;
	margin: auto;

}

/* ===================== Footer ===================== */

footer {
background: #1c1c1c;
color: #ccc;
text-align: center;
padding: 30px 10%;
font-size: 14px;
}

/* Footer Navigation */

.footer-nav {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #223BFC;
padding: 8px 10px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px 12px;
z-index: 999;
border-top: 1px solid #d4af37;
}

.footer-nav a {
color: #FFFFFF;
text-decoration: none;
font-weight: 500;
transition: opacity 0.3s ease, border-bottom 0.3s ease;
}

.footer-nav a:hover {
opacity: 0.8;
border-bottom: 1px solid #d4af37;
}


/* ===================== Video ===================== */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  aspect-ratio: 16 / 9; /* keeps proper shape */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ===================== Sticky Footer on Mobile ===================== */

@media (max-width: 768px) {

footer {
height: 0;
overflow: visible;
}

.footer-nav a {
font-size: 14px;
padding: 4px 8px;
}

}
