/* RESET */

*,
*::before,
*::after{
box-sizing:border-box;
}

/* ======== START ====== BTW Gold is d4af37 ============ */

/* ===================== Page Container ===================== */
/* Adjust working area width here for mobiles */

.container{
max-width:1500px;
width:100%;
margin:auto;
padding:16px;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:#FFEABD;
margin:0;
line-height:1.6;
-webkit-text-size-adjust:100%;
font-size:16px;

	
/* 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: #533202;
}

h1, h2, h3, h4, h5, h6 {
  color: #533202;
  text-align: center;
  margin-top: 0;
}
/* --- Desktop Sizes & Spacing --- */
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 0.75rem; } 
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 0.75rem; }
h3 { font-size: 1.75rem; line-height: 1.3; margin-bottom: 0.5rem; } 
h4 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.5rem; } 
h5 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.25rem; } 
h6 { font-size: 1rem; line-height: 1.4; margin-bottom: 0.25rem; } 

/* --- Mobile Sizes */
@media screen and (max-width: 600px) {
  h1 { font-size: 1.8rem; margin-bottom: 0.75rem; } 
  h2 { font-size: 1.5rem; margin-bottom: 0.75rem; } 
  h3 { font-size: 1.3rem; margin-bottom: 0.5rem; } 
  h4 { font-size: 1.2rem; margin-bottom: 0.5rem; } 
  h5 { font-size: 1.1rem; margin-bottom: 0.5rem; } 
  h6 { font-size: 1rem; margin-bottom: 0.5rem; } 
}

p {
  max-width: 110ch;
  margin-left: auto;
  margin-right: auto;
}

/* Link styling */
a:link {
  color: #533202;
  text-decoration: underline;
  font-weight: 500;
}

a:visited {
  color: #533202;
}

a:hover, a:focus {
  color: #CB7C09;
  text-decoration: none;
  outline: 2px solid #CB7C09;
  outline-offset: 2px;
}

a:active {
  color: #cc0000;
}

/* Smooth scrolling */
html{
scroll-behavior:smooth;
}

.logo {
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.no-scroll {
  overflow: hidden;
}

/* ===================== Header ===================== */

header {
    background: #533202;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 30px;
    background: transparent;
    position:relative;
    z-index:10000;
}

/* Navigation links */
.nav-links {
    list-style:none;
    display:flex;
    gap:25px;

    margin:0;
    padding:0;
}


.nav-links a {
    color:#FFFFFF;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    letter-spacing:0.5px;
	display: block;   /* ðŸ‘ˆ THIS fixes width */
    width: 100%;
    padding: 12px 25px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a.active {
    background: rgba(212,175,55,0.2);
    border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(212,175,55,0.2);
  border-radius: 6px;
}

/* Mobile menu button */
.menu-toggle {
    display:none;
    color:#FFFFFF;
    font-size:28px;
    cursor:pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #533202;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 4px 0;   /* ?? reduced */

    overflow: hidden;
    max-height: 0;
    opacity: 0;

    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .nav-links.active {
    max-height: 300px;   /* ?? smaller limit */
    opacity: 1;
  }

  .nav-links a {
    padding: 8px 10px;   /* ?? reduced from 12px */
    font-size: 16px;     /* ?? slightly smaller */
	line-height: 1.2;  
  }

  .menu-toggle {
    display: block;
  }
}
/* ===================== Cards ===================== */

.card{
background:white;
border-radius:25px;
box-shadow:0 4px 12px rgba(0,0,0,0.15);
padding:20px;
display:flex;
flex-direction:column;
height:100%;
}

.card img{
width:100%;
height:auto;
border-radius:6px;
margin-bottom:12px;
}

.card p{
margin-bottom:12px;
line-height:1.6;
}

/* ===================== GRID ===================== */

.grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:30px;
align-items:stretch;
width:100%;
max-width:none;
}

@media (max-width:900px){
.grid{
grid-template-columns:1fr;
}
}

/* ===================== GALLERY ===================== */

.gallery {
  display: grid;
  gap: 16px;
  padding: 8px;
  margin: 0 auto;

  grid-template-columns: repeat(3, 1fr); /* default */
  max-width: 900px;
}

/* Large screens */
@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
  }
}

/* Very large screens (4K etc) */
@media (min-width: 1600px) {
  .gallery {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1500px;
  }
}

.gallery-item {
  margin: 0;        /* ?? removes browser default */
  width: 100%;      /* ?? fills the grid column */
}

/* ?? remove frame completely */
.gallery .card {
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item figcaption {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 4px;
}	

/* Hover zoom */
.gallery-item:hover img {
transform:scale(1.05);
transition:transform 0.3s ease;
}

.gallery .card {
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* ===================== LIGHTBOX ===================== */

.lightbox {
opacity:0;
pointer-events:none;
transition:opacity 0.3s ease;

position:fixed;
inset:0;
padding:40px 20px 20px;
background:rgba(0,0,0,0.95);

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

z-index:20000;
}

.lightbox:not(.hidden) {
opacity:1;
pointer-events:auto;
}

.hidden {
opacity:0;
pointer-events:none;
}

#lightbox-img {
max-width:95vw;
max-height:85vh;
border-radius:6px;
transform:scale(0.98);
transition:transform 0.3s ease;
}

.lightbox:not(.hidden) #lightbox-img {
transform:scale(1);
}

#lightbox-caption {
max-width:900px;
margin:10px auto 0;
font-size:1.05rem;
line-height:1.6;
color:#ddd;
text-align:center;
}

.close {
position:absolute;
top:20px;
right:30px;
font-size:2rem;
background:none;
border:none;
color:white;
cursor:pointer;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-size: 3rem;
  color: white;

  background: rgba(0,0,0,0.5);   /* ?? makes them visible */
  border: none;
  padding: 10px 15px;

  cursor: pointer;
  z-index: 20001;   /* above image */
}

/* LEFT arrow */
.prev {
  left: 20px;
}

/* RIGHT arrow */
.next {
  right: 20px;
}
/* ===================== CAROUSEL ===================== */

.carousel-wrapper {
  width: 70%;              /* ? adjust 60%–80% to taste */
  margin: 30px auto;       /* center it */
}

/* Optional: make it a bit tighter on mobile */
@media (max-width: 768px) {
  .carousel-wrapper {
    width: 95%;
  }
}



/* ===================== CAROUSEL (FADE VERSION) ===================== */

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  position: relative;
  will-change: opacity;	
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* Images */
.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Caption */
/* ===================== CAROUSEL CAPTION (FIXED) ===================== */


.caption {
  position: static;             /* ?? KEY CHANGE (no longer floats) */
  background: rgba(83, 50, 2, 0.9);
  color: #fff;

  padding: 12px 20px;
  margin-bottom: 10px;

  border-radius: 8px;
  text-align: center;

  font-size: clamp(14px, 2.5vw, 20px);  /* ?? responsive text */

  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* ?? subtle lift */
}