/*
Theme Name: Torquay Film Studio
Theme URI: https://torquayfilmstudio.com
Author: Torquay Film Studio
Author URI: https://torquayfilmstudio.com
Description: Custom theme for Torquay Film Studio - Green screen, edit suite, and on-site accommodation
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: torquay-studio
*/

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* THEME VARIABLES */
:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --text: #101214;
    --muted: rgba(16, 18, 20, 0.68);
    --border: rgba(16, 18, 20, 0.10);
    --shadow: 0 20px 70px rgba(16, 18, 20, 0.08);
    --accent: #4f8cff; /* Torquay blue */
    --accent-soft: rgba(79, 140, 255, 0.14);
}

/* GLOBAL */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

h1,h2,h3,h4 {
    letter-spacing: -0.03em;
}

/* CUSTOM CURSOR (OPTIONAL - ADDS CINEMATIC FEEL) */
body {
    cursor: default;
}

a, button {
    cursor: pointer;
}

/* HEADER / NAV */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Solid, textured header (carbon-ish) */
    background-color: #0f0f0f;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%, rgba(255,255,255,0.04)),
        linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%, rgba(255,255,255,0.04));
    background-size: 14px 14px;
    background-position: 0 0, 7px 7px;
    z-index: 1000;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
/* Header (solid black) */
.site-header .logo { color: #ffffff; }
.site-header .logo:hover { opacity: 0.92; }
.site-header .header-links { display: none !important; } /* explicitly remove desktop links */
.site-header .nav-toggle span { background: #ffffff; }


.site-header:after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.07) 14%, rgba(0,0,0,0.07) 86%, transparent 100%);
}


.site-header.scrolled {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 40px rgba(16, 18, 20, 0.10);
}

.logo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--text);
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo:before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--text);
    display: block;
    transition: all 0.3s ease;
}

.logo:hover:before {
    height: 28px;
    background: var(--accent);
}

/* HEADER LINKS (desktop) */
.header-links{
    display:none;
    align-items:center;
    gap:18px;
    margin-left: 24px;
}

.header-links a{
    text-decoration:none;
    color: var(--muted);
    font-weight: 650;
    letter-spacing: 0.02em;
    font-size: 0.92rem;
    padding: 10px 8px;
    border-radius: 10px;
    transition: all 0.18s ease;
}

.header-links a:hover{
    color: var(--text);
    background: rgba(0,0,0,0.04);
}

.header-links a:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.header-links .header-cta{
    color: var(--text);
    border: 1px solid var(--border);
    background: var(--surface);
}

.header-links .header-cta:hover{
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 10px 26px rgba(0,0,0,0.10);
    transform: translateY(-1px);
}

@media (min-width: 920px){
    .header-links{ display:flex; }
    .nav-toggle{ display:none; }
}

.nav-toggle {
    background: rgba(16, 18, 20, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(16, 18, 20, 0.06);
    border-color: rgba(16, 18, 20, 0.18);
    transform: translateY(-2px);
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    display: block;
    transition: all 0.3s ease;
}

.nav-toggle:hover span {
    background: var(--accent);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 380px;
    max-width: 85%;
    height: 70vh;
    background: var(--surface);
    padding: 100px 40px 50px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    color: var(--text);
    box-shadow: -10px 0 50px rgba(16, 18, 20, 0.16);
    border-left: 1px solid var(--border);
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-close {
    position: absolute;
    top: 28px;
    right: 32px;
    background: rgba(16, 18, 20, 0.04);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-close:hover {
    background: rgba(16, 18, 20, 0.06);
    transform: rotate(90deg);
}

.nav-intro {
    color: var(--text);
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.nav-menu.active .nav-intro {
    animation: fadeInUp 0.6s ease forwards;
}

.nav-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.nav-desc {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5;
}

.nav-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-top: 20px;
}

.nav-menu a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(20px);
}

.nav-menu.active a {
    animation: slideInRight 0.5s ease forwards;
}

.nav-menu.active a:nth-child(2) { animation-delay: 0.1s; }
.nav-menu.active a:nth-child(3) { animation-delay: 0.15s; }
.nav-menu.active a:nth-child(4) { animation-delay: 0.2s; }
.nav-menu.active a:nth-child(5) { animation-delay: 0.25s; }
.nav-menu.active a:nth-child(6) { animation-delay: 0.3s; }

.nav-menu a:before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    transition: left 0.4s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    padding-left: 12px;
}

.nav-menu a:hover:before {
    left: 0;
}

.nav-contact-hint {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-top: 32px;
    line-height: 1.6;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* MAIN WRAPPER OFFSET */
main {
    margin-top: 0;
}

/* HERO */
.hero-section {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    animation: none;
}

/* INTRO */
.intro-section {
    padding: 72px 40px 60px;
    background: var(--bg);
}

.intro-section h1 {
    font-size: 3.1rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: var(--text);
}

.intro-lede {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 860px;
    margin-bottom: 28px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.fact {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 88px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fact:hover{
    transform: translateY(-3px);
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.fact:focus-within{
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}


.fact-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 650;
    margin-bottom: 6px;
}

.fact-value {
    display: block;
    font-size: 1rem;
    color: var(--text);
    font-weight: 550;
    letter-spacing: -0.01em;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.7) 100%
    );
}

.hero-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0,0,0,0.8) 100%
    );
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    z-index: 10;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.hero-content-inner {
    background: rgba(0,0,0,0.5);
    
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 48px 56px 52px;
    max-width: 800px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.9);
    position: relative;
    overflow: hidden;
}

.hero-content-inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.hero-content-inner h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-content-inner p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

/* SECTION ANIMATIONS */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* DARK SECTION */
.carbon-section {
    background: var(--surface);
    color: var(--text);
    padding: 140px 40px 120px;
    position: relative;
    overflow: hidden;
}

.carbon-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-header p {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 1;
    color: var(--muted);
    max-width: 700px;
    margin: 24px auto 0;
    line-height: 1.7;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 36px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 90px rgba(16,18,20,0.14);
    border-color: rgba(79, 140, 255, 0.35);
}

.service-card:hover:before {
    opacity: 1;
}

.service-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: none;
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-content {
    padding: 32px 28px 36px;
    position: relative;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
}

/* LOCATION SECTION */
.location-section {
    background: var(--bg);
    color: var(--text);
    position: relative;
}

.location-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.location-content {
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin: 60px 0 60px 60px;
}

.location-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--text);
    line-height: 1.1;
}

.location-content p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 540px;
}

.location-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    max-height: 700px;
}

.location-image {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: transform 8s ease;
}

.location-image-wrapper:hover .location-image {
    transform: scale(1.1);
}

/* ACCOMMODATION SECTION */
.accommodation-section {
    background: var(--bg);
    padding: 0;
    position: relative;
}

.accommodation-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.accommodation-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 700px;
}

.accommodation-image-side {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    max-height: 700px;
}

.accommodation-image-side img {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: transform 8s ease;
}

.accommodation-image-side:hover img {
    transform: scale(1.1);
}

.accommodation-content {
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin: 60px 60px 60px 0;
}

.accommodation-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--text);
    line-height: 1.1;
}

.accommodation-content .intro {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 560px;
}

.accommodation-features {
    list-style: none;
    margin: 0 0 48px 0;
    display: grid;
    gap: 20px;
    max-width: 560px;
}

.accommodation-features li {
    font-size: 1rem;
    padding-left: 32px;
    position: relative;
    color: var(--muted);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.accommodation-features li:hover {
    color: var(--text);
    transform: translateX(4px);
}

.accommodation-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--accent-soft) 100%);
    padding: 140px 40px;
    text-align: center;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.1;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    padding: 20px 48px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    border: 1px solid rgba(79, 140, 255, 0.35);
    box-shadow: 0 20px 60px rgba(79, 140, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 90px rgba(79, 140, 255, 0.26);
}

.btn:hover:before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(79, 140, 255, 0.35);
    box-shadow: none;
}

.btn-secondary:before {
    background: rgba(79, 140, 255, 0.14);
}

.btn-secondary:hover {
    background: rgba(79, 140, 255, 0.10);
    border-color: rgba(79, 140, 255, 0.35);
}

/* GALLERY */
.gallery-section {
    padding: 140px 40px 120px;
    background: var(--surface);
    position: relative;
}

.gallery-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    box-shadow: 0 30px 90px rgba(16,18,20,0.14);
    border-color: rgba(79, 140, 255, 0.35);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: none;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: none;
}

.gallery-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--text);
    border: 1px solid var(--border);
    letter-spacing: 0.02em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-label {
    background: rgba(255,255,255,0.92);
    border-color: rgba(79, 140, 255, 0.35);
}

/* FOOTER */
.site-footer {
    background: var(--surface);
    padding: 60px 40px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.site-footer p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .location-grid,
    .accommodation-grid {
        grid-template-columns: 1fr;
    }

    .location-image-wrapper,
    .accommodation-image-side {
        min-height: 400px;
    }

    .facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .location-content {
        margin: 40px 20px 20px 20px;
    }

    .accommodation-content {
        margin: 20px 20px 40px 20px;
    }

    .hero-content-inner h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        height: 80vh;
        min-height: 550px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .location-content h2,
    .accommodation-content h2 {
        font-size: 2.2rem;
    }

    .cta-section h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 56px 20px 48px;
    }

    .intro-section h1 {
        font-size: 2.2rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }
    .site-header {
        padding: 16px 20px;
    }

    .site-header.scrolled {
        padding: 12px 20px;
    }

    .logo {
        font-size: 0.95rem;
        gap: 10px;
    }

    .logo:before {
        height: 20px;
    }

    .intro-section {
        padding: 56px 20px 44px;
    }

    .intro-section h1 {
        font-size: 2.3rem;
    }

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

    .hero-content-wrapper {
        padding: 0 20px;
    }

    .hero-content-inner {
        padding: 32px 28px 36px;
        border-radius: 12px;
    }

    .hero-content-inner h1 {
        font-size: 1.75rem;
    }

    .hero-content-inner p {
        font-size: 1rem;
    }

    .carbon-section {
        padding: 100px 20px 80px;
    }

    .section-header {
        margin-bottom: 56px;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .location-content,
    .accommodation-content {
        padding: 80px 28px;
    }

    .location-content h2,
    .accommodation-content h2 {
        font-size: 1.9rem;
    }

    .cta-section {
        padding: 100px 20px 80px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .gallery-section {
        padding: 100px 20px 80px;
    }

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

    .btn {
        padding: 18px 40px;
        font-size: 1rem;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Header Section */
.blog-header-section {
    padding: 140px 40px 80px;
    background: #000000;
    text-align: center;
    position: relative;
}

.blog-header-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.blog-header-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.1;
}

.blog-header-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 80px 40px 140px;
    background: #0a0a0a;
    min-height: 50vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    border-color: rgba(255,255,255,0.12);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    display: block;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85) contrast(1.05);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
    filter: brightness(0.95) contrast(1.1);
}

.blog-card-content {
    padding: 32px 28px 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-card h2 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: rgba(255,255,255,0.8);
}

.blog-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    flex: 1;
}

.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 80px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination .current {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

.blog-pagination .current {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-weight: 600;
}

/* Single Blog Post */
.blog-post-single {
    background: #0a0a0a;
}

.blog-post-header {
    padding: 140px 40px 60px;
    background: #000000;
    position: relative;
}

.blog-post-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: rgba(255,255,255,0.9);
}

.blog-post-header .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.blog-post-header h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
}

.blog-post-featured-image {
    position: relative;
    overflow: hidden;
    max-height: 600px;
    background: #000;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.05);
}

.blog-post-content {
    padding: 80px 0;
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}

.blog-post-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 24px 0;
    padding-left: 28px;
}

.blog-post-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
}

.blog-post-content a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-post-content a:hover {
    color: #ffffff;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.blog-post-footer {
    padding: 60px 0 120px;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.nav-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.nav-title {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    line-height: 1.4;
}

.nav-next {
    text-align: right;
}

.back-to-blog {
    text-align: center;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-header-section {
        padding: 100px 20px 60px;
    }
    
    .blog-header-section h1 {
        font-size: 2.2rem;
    }
    
    .blog-header-section p {
        font-size: 1rem;
    }
    
    .blog-posts-section {
        padding: 60px 20px 100px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .blog-post-header {
        padding: 100px 20px 40px;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .container-narrow {
        padding: 0 20px;
    }
    
    .blog-post-content {
        padding: 60px 0;
    }
    
    .blog-post-content p,
    .blog-post-content li {
        font-size: 1rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.6rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .blog-post-footer {
        padding: 40px 0 80px;
    }
}

/* ============================================
   ENHANCED BLOG POST TYPOGRAPHY & LAYOUT
   Add these styles to your style.css
   ============================================ */

/* ===== IMPROVED PARAGRAPH TYPOGRAPHY ===== */
.blog-post-content p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    font-weight: 400;
}

/* First paragraph after title - make it larger for impact */
.blog-post-content > .container-narrow > p:first-of-type {
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    font-weight: 400;
}

/* Drop cap on first paragraph for editorial feel */
.blog-post-content > .container-narrow > p:first-of-type::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.9;
    font-weight: 700;
    margin-right: 16px;
    margin-top: 8px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}


/* ===== ENHANCED HEADINGS ===== */
.blog-post-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 64px;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.25;
    position: relative;
    padding-bottom: 16px;
}

/* Add subtle line under H2 headings */
.blog-post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    border-radius: 2px;
}

.blog-post-content h3 {
    font-size: 1.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.35;
    position: relative;
    padding-left: 20px;
}

/* Add accent mark before H3 */
.blog-post-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 24px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

.blog-post-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-top: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}


/* ===== BLOCKQUOTES / PULL QUOTES ===== */
.blog-post-content blockquote {
    margin: 48px 0;
    padding: 36px 40px 36px 48px;
    background: rgba(255,255,255,0.03);
    border-left: 4px solid rgba(255,255,255,0.5);
    border-radius: 0 12px 12px 0;
    position: relative;
    font-size: 1.3rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    font-weight: 400;
}

.blog-post-content blockquote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 16px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(255,255,255,0.15);
    font-family: Georgia, serif;
}

.blog-post-content blockquote p {
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.blog-post-content blockquote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-style: normal;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}


/* ===== ENHANCED LISTS ===== */
.blog-post-content ul,
.blog-post-content ol {
    margin: 32px 0;
    padding-left: 32px;
}

.blog-post-content ul {
    list-style: none;
    padding-left: 0;
}

.blog-post-content ul li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
}

/* Custom bullet points */
.blog-post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
}

.blog-post-content ol li {
    margin-bottom: 16px;
    padding-left: 8px;
}

/* Make nested lists smaller */
.blog-post-content ul ul,
.blog-post-content ol ul,
.blog-post-content ul ol,
.blog-post-content ol ol {
    margin: 16px 0;
    font-size: 1.05rem;
}


/* ===== LINKS ===== */
.blog-post-content a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-post-content a:hover {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.8);
}


/* ===== IMAGES & FIGURES ===== */
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 48px 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    filter: brightness(0.92) contrast(1.08);
    transition: all 0.4s ease;
}

.blog-post-content img:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    filter: brightness(0.95) contrast(1.1);
}

/* Figure with caption */
.blog-post-content figure {
    margin: 48px 0;
}

.blog-post-content figcaption {
    margin-top: 16px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    font-style: italic;
}


/* ===== CODE BLOCKS ===== */
.blog-post-content code {
    background: rgba(255,255,255,0.06);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.92em;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-post-content pre {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    overflow-x: auto;
    line-height: 1.6;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    border: none;
    font-size: 0.95rem;
}


/* ===== HORIZONTAL RULES ===== */
.blog-post-content hr {
    margin: 56px auto;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    max-width: 400px;
}


/* ===== TABLE STYLING ===== */
.blog-post-content table {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    overflow: hidden;
}

.blog-post-content th {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.blog-post-content td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.75);
}

.blog-post-content tr:last-child td {
    border-bottom: none;
}


/* ===== SPECIAL TEXT STYLES ===== */

/* Highlight/mark text */
.blog-post-content mark {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.95);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Small text */
.blog-post-content small {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Strong emphasis */
.blog-post-content strong,
.blog-post-content b {
    font-weight: 600;
    color: rgba(255,255,255,0.95);
}


/* ===== LEAD PARAGRAPH CLASS (Optional) ===== */
/* Add class="lead" to your first paragraph in WordPress for extra emphasis */
.blog-post-content .lead {
    font-size: 1.4rem !important;
    line-height: 1.65 !important;
    color: rgba(255,255,255,0.92) !important;
    margin-bottom: 40px !important;
    font-weight: 400 !important;
}


/* ===== PULL QUOTE CLASS (Optional) ===== */
/* Add class="pullquote" to create standout quotes */
.blog-post-content .pullquote {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
    margin: 56px 0;
    padding: 40px;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border-top: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-style: italic;
}


/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .blog-post-content p {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 24px;
    }
    
    .blog-post-content > .container-narrow > p:first-of-type {
        font-size: 1.2rem;
    }
    
    .blog-post-content > .container-narrow > p:first-of-type::first-letter {
        font-size: 3.5rem;
        margin-right: 12px;
    }
    
    .blog-post-content h2 {
        font-size: 1.75rem;
        margin-top: 48px;
    }
    
    .blog-post-content h3 {
        font-size: 1.4rem;
        margin-top: 36px;
    }
    
    .blog-post-content blockquote {
        padding: 28px 24px 28px 36px;
        font-size: 1.15rem;
        margin: 36px 0;
    }
    
    .blog-post-content .pullquote {
        font-size: 1.3rem;
        padding: 28px 20px;
        margin: 40px 0;
    }
    
    .blog-post-content ul li {
        padding-left: 28px;
    }
}


/* ===== READING EXPERIENCE IMPROVEMENTS ===== */

/* Smooth text rendering */
.blog-post-content {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent orphans */
.blog-post-content p,
.blog-post-content li {
    orphans: 3;
    widows: 3;
}

/* Better focus states for accessibility */
.blog-post-content a:focus {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 4px;
    border-radius: 2px;
}


/* ===== OPTIONAL: TWO-COLUMN LAYOUT FOR WIDER CONTENT ===== */
/* Uncomment if you want certain sections in 2 columns on desktop */
/*
.blog-post-content .two-columns {
    columns: 2;
    column-gap: 48px;
    margin: 32px 0;
}

@media (max-width: 768px) {
    .blog-post-content .two-columns {
        columns: 1;
    }
}
*/



/* --- Mobile Hero Fix: prevent stretching / pixelation --- */
@media (max-width: 768px) {
    .hero,
    .hero-image,
    .page-hero,
    .home-hero {
        width: 100vw;
        height: 70vh; /* fill mobile screen */
        min-height: 70vh;
        max-height: 70vh;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero img,
    .hero-image img,
    .page-hero img,
    .home-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* key: no stretching */
        object-position: center;
    }
}



/* --- Mobile Hero: show entire image (no crop, no stretch) --- */
@media (max-width: 768px) {
    .hero,
    .hero-image,
    .page-hero,
    .home-hero {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero img,
    .hero-image img,
    .page-hero img,
    .home-hero img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}



/* --- Mobile Hero FIT v2: remove dead space caused by fixed hero height --- */
@media (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 92px;   /* room for header */
    padding-bottom: 22px;
    background: #0b0b0d !important; /* avoids white letterbox */
  }

  /* give the image layer a sensible responsive box to 'contain' within */
  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* if a hero uses an <img> element instead of background */
  .hero-section img,
  .hero img,
  .hero-image img,
  .page-hero img,
  .home-hero img {
    width: 100% !important;
    height: auto !important;
    max-height: 60vh !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
  }

  /* tighten any accidental spacing below the hero */
  .hero-section + section,
  .hero-section + .section,
  .hero-section + .content-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}



/* --- Mobile Hero FIT v3: keep hero image in normal flow (prevents overlap) --- */
@media (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #0b0b0d !important;
    padding-top: 84px;  /* header clearance */
    padding-bottom: 0 !important;
  }

  /* IMPORTANT: on this theme the hero is a real <img class="hero-image">, not a background layer */
  img.hero-image {
    position: relative !important;   /* stop absolute positioning */
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;     /* avoids giant tall images */
    object-fit: contain !important;  /* show whole image */
    object-position: center !important;
  }

  /* remove any accidental top overlap from the next section */
  .intro-section {
    margin-top: 0 !important;
    padding-top: 22px !important;
    position: relative;
    z-index: 1;
  }
}



/* --- Mobile spacing: give intro title breathing room under hero --- */
@media (max-width: 768px) {
  .intro-section {
    padding-top: 34px !important;   /* space from hero */
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .intro-section .intro-lede {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    line-height: 1.45;
  }

  /* keep side padding comfortable on small screens */
  .intro-section .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}



/* --- Mobile Hero Polish: professional spacing & typography --- */
@media (max-width: 768px) {

  /* HERO: slight crop allowed, no stretching */
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #0b0b0d !important;
    padding-top: 72px;  /* header clearance */
    padding-bottom: 16px; /* visual separation from content */
    margin-bottom: 8px;
  }

  img.hero-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 55vh !important; /* keeps it hero-like without dominating */
    object-fit: cover !important; /* slight crop is OK */
    object-position: center center !important;
  }

  /* INTRO: give the text proper breathing room */
  .intro-section {
    margin-top: 0 !important;
    padding-top: 28px !important;
  }

  .intro-section .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }

  .intro-section .intro-lede {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    line-height: 1.45;
  }
}



/* --- Mobile Hero Layout v5: obvious spacing & professional hierarchy --- */
@media (max-width: 768px) {

  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #0b0b0d !important;
    padding-top: 72px;
    padding-bottom: 40px !important; /* BIG separation from text */
    margin-bottom: 0 !important;
  }

  img.hero-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 58vh !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* INTRO BLOCK */
  .intro-section {
    margin-top: 0 !important;
    padding-top: 48px !important;  /* clearly separate from hero */
  }

  .intro-section .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }

  .intro-section .intro-lede {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    line-height: 1.5 !important;
  }
}



/* --- Mobile Hero Layout v6: remove black gap, keep clean separation --- */
@media (max-width: 768px) {

  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: transparent !important; /* REMOVE black slab */
    padding-top: 72px;
    padding-bottom: 18px !important; /* modest, not huge */
    margin-bottom: 0 !important;
  }

  img.hero-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 58vh !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .intro-section {
    margin-top: 0 !important;
    padding-top: 26px !important; /* breathing room without ugly band */
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }

  .intro-section .intro-lede {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    line-height: 1.5 !important;
  }
}



/* --- Mobile-only hero image swap --- */
@media (max-width: 768px) {
  .hero-section {
    background-image: url('https://torquayfilmstudio.com/wp-content/uploads/2026/01/StudioHeroNew.jpg') !important;
    background-size: cover !important;     /* allow light crop */
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* Hide the <img> on mobile so the background image is used */
  img.hero-image {
    display: none !important;
  }
}



/* --- Mobile Hero v7: ensure visibility + proper spacing --- */
@media (max-width: 768px) {

  /* Make sure the hero actually has height */
  .hero-section {
    position: relative !important;
    min-height: 55vh !important;   /* ensures it is visible */
    height: auto !important;
    padding-top: 72px;             /* header clearance */
    padding-bottom: 24px !important;
    margin-bottom: 0 !important;
    background-image: url('https://torquayfilmstudio.com/wp-content/uploads/2026/01/StudioHeroNew.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* Hide the inline hero image on mobile */
  img.hero-image {
    display: none !important;
  }

  /* Push the next section down so it cannot overlap */
  .intro-section {
    position: relative !important;
    margin-top: 0 !important;
    padding-top: 40px !important;  /* real breathing room for the title */
    z-index: 1;
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }

  .intro-section .intro-lede {
    margin-top: 0 !important;
    margin-bottom: 26px !important;
    line-height: 1.5 !important;
  }
}



/* --- Mobile Hero v8: show full image + proper breathing room --- */
@media (max-width: 768px) {

  /* HERO: show entire image (no square crop) */
  .hero-section {
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 72px;              /* header clearance */
    padding-bottom: 24px !important;
    margin-bottom: 0 !important;
    background-image: url('https://torquayfilmstudio.com/wp-content/uploads/2026/01/StudioHeroNew.jpg') !important;
    background-size: contain !important;  /* show all of it */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #000;         /* avoids white bars */
  }

  /* remove old inline hero image */
  img.hero-image {
    display: none !important;
  }

  /* INTRO: force visible gap before title */
  .intro-section {
    position: relative !important;
    margin-top: 0 !important;
    padding-top: 56px !important;   /* REAL breathing room */
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }

  .intro-section .intro-lede {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    line-height: 1.5 !important;
  }
}



/* ===============================
   GOD MODE MOBILE HERO FIX
   - Use a dedicated mobile hero image (no stretching, no collapse)
   - Ensure the hero has real height (image in normal flow)
   - Give the intro title breathing room
   =============================== */

.hero-image-mobile { display: none; } /* default: desktop only */
.hero-image-desktop { display: block; }

@media (max-width: 768px) {
  /* stop any previous background-image hacks from hiding the hero */
  .hero-section {
    background-image: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 72px !important;  /* clears fixed header */
    padding-bottom: 18px !important;
    overflow: hidden;
  }

  .hero-image-desktop { display: none !important; }
  .hero-image-mobile { display: block !important; }

  .hero-section .hero-image {
    width: 100% !important;
    height: auto !important;
    max-height: 62vh !important;       /* keeps it from becoming huge */
    object-fit: contain !important;    /* show all of it */
    object-position: center center !important;
    display: block !important;
  }

  .intro-section {
    padding-top: 42px !important; /* breathing room under the hero */
  }

  .intro-section h1 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
}



/* --- GOD MODE PATCH: prevent double-hero / split image on mobile --- */
@media (max-width: 768px) {
  .hero-section { 
    display: block !important;     /* override flex layout */
  }

  .hero-image-desktop { 
    display: none !important; 
  }

  .hero-image-mobile { 
    display: block !important; 
  }

  .hero-section .hero-image {
    position: relative !important; /* override earlier 'absolute' rules cleanly */
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: 62vh !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}



/* ===============================
   GOD MODE v3: Use <picture> for a single responsive hero image
   Fixes: stacked/double images, split flex behaviour, hero collapse
   =============================== */

.hero-picture {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero-section {
    display: block !important;  /* avoid flex quirks */
    height: auto !important;
    min-height: 0 !important;
    padding-top: 72px !important;  /* header clearance */
    padding-bottom: 18px !important;
    background-image: none !important;
  }

  /* Mobile hero image: show whole image, no stretch */
  .hero-picture .hero-image {
    position: relative !important;  /* override base absolute */
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: 62vh !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }

  .intro-section {
    padding-top: 42px !important;
  }
}
