@charset "utf-8";

/* --------------------------------------------------
   GLOBAL - Clean July 31
-------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 1rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.logo img {
    max-width: 260px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

/* --------------------------------------------------
   MOBILE NAV
-------------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #222;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 20px 1.5rem;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 100%;
    width: 85%;
    left: 0;
    z-index: 2000;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 1rem;
    font-size: 1.1rem;
}

.mobile-nav.open {
    display: flex;
}

/* --------------------------------------------------
   MOBILE BREAKPOINT
-------------------------------------------------- */
@media (max-width: 768px) {
    .logo img { max-width: 140px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-top: -70px;
}

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

.hero-overlay {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    z-index: 10;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0) 100%
    );
    padding: 1.5rem 2rem;
    border-radius: 4px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.15rem;
    color: white;
    text-shadow: 0 6px 24px rgba(0,0,0,0.55);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 0;
    line-height: 1.2;
    color: white;
    text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero-overlay {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    .hero-title { font-size: 2.2rem; }
}
/* --------------------------------------------------
   New Single Column Layout
-------------------------------------------------- */

.single-column {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}

.text-block {
    margin-bottom: 40px;
}

.town-list {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
}

.town-list a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.town-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.town-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}
.view-gallery-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #000;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s ease;
    margin-top: 20px;
}

.view-gallery-btn:hover {
    background: #333;
}

/* Thunbnail Role of Images */
.thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 2rem 0;
}


.thumb {
    width: auto;          /* allow natural width */
    height: auto;         /* allow natural height */
    max-width: none;      /* override global img rule */
    max-height: none;     /* override global img rule */
    object-fit: contain;  /* preserve aspect ratio */
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}




.thumb:hover {
    transform: scale(1.03);
    opacity: 0.9;
}




/* --------------------------------------------------
   LIGHTBOX
-------------------------------------------------- */

/* FULLSCREEN LIGHTBOX OVERLAY */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#lightbox.show {
    display: flex;
    opacity: 1;
}

/* LIGHTBOX CONTENT */

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
	display: block;      /* instead of flex */
    text-align: center;
}

/* IMAGE */
.lightbox-image {
    display: block;
	margin: 0 auto;
	max-width: 90%;
    max-height: 80%;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* CAPTION */
.lightbox-caption {
    color: #333;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    text-align: center;
    max-width: 80%;
    margin-bottom: 0.5rem;
}

/* COUNTER */
.lightbox-counter {
    text-align: right;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.1rem;
}

/* CLOSE BUTTON */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #000;
    cursor: pointer;
    z-index: 10000;
}

/* To Centre the Image and the Caption */
.lightbox-media {
    display: inline-block;     /* shrink-wrap to image width */
    text-align: center;        /* center caption under image */
}
.lightbox-image {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 80%;
    display: block;
    margin: 0 auto;
}
.lightbox-media {
    display: inline-block;
    text-align: center;
}
.lightbox-caption {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0.5rem auto 0 auto;
	font-size: 1rem;
}


/* ARROWS — BIG, SPACED, EASY TO CLICK */
.left-arrow, .right-arrow {
    position: fixed;        /* FIXED TO SCREEN, NOT CONTENT BOX */
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #000;
    cursor: pointer;
    user-select: none;
    z-index: 20000;
    padding: 20px;
}

.left-arrow {
    left: 40px;             /* ALWAYS VISIBLE */
}

.right-arrow {
    right: 40px;            /* ALWAYS VISIBLE */
}




/* added for region grid now with a single column layout */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.region-tile {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #000;
}

.region-tile img {
    width: 100%;
    border-radius: 6px;
}

.region-tile span {
    display: block;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.site-footer {
    text-align: center;
    padding: 24px;
    margin-top: 60px;
    color: #555;
    font-size: 0.9rem;
}

.town-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.town-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}
