/*
Theme Name: Southport Holidays
Theme URI: https://www.southportholidays.co.uk/
Description: A lightweight Elementor-ready theme for Southport Holidays.
Version: 0.1.0
Author: Southport Holidays
Text Domain: southport-holidays
*/

:root {
    --sh-navy: #1d1c45;
    --sh-navy-2: #29275b;
    --sh-gold: #d8ac5f;
    --sh-cream: #f8f5ef;
    --sh-ink: #24243d;
    --sh-muted: #686879;
    --sh-white: #ffffff;
    --sh-radius: 18px;
    --sh-shadow: 0 18px 50px rgba(29, 28, 69, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--sh-cream);
    color: var(--sh-ink);
    font-family: Roboto, Arial, sans-serif;
    line-height: 1.65;
}
a { color: var(--sh-navy); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--sh-navy-2); }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 99; padding: .6rem 1rem; background: var(--sh-gold); color: var(--sh-navy); }
.skip-link:focus { top: 1rem; }

.sh-shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.sh-section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.sh-section--dark { background: var(--sh-navy); color: var(--sh-white); }
.sh-eyebrow { margin: 0 0 .6rem; color: var(--sh-gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0 0 1rem; color: var(--sh-navy); font-weight: 800; line-height: 1.12; }
.sh-section--dark h1, .sh-section--dark h2, .sh-section--dark h3 { color: var(--sh-white); }
h1 { font-size: clamp(2.5rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.sh-lede { max-width: 700px; margin: 0 0 1.8rem; font-size: 1.12rem; }
.sh-section--dark .sh-lede { color: rgba(255,255,255,.82); }
.sh-button, button, input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 999px; background: var(--sh-gold); color: var(--sh-navy); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .16s ease, color .16s ease; }
.sh-button:hover, button:hover, input[type="submit"]:hover { transform: translateY(-2px); background: var(--sh-white); color: var(--sh-navy); }
.sh-button--outline { border-color: rgba(255,255,255,.55); background: transparent; color: var(--sh-white); }
.sh-button--outline:hover { border-color: var(--sh-white); }
.sh-button--dark { background: var(--sh-navy); color: var(--sh-white); }

.sh-site-header { position: relative; z-index: 10; background: var(--sh-navy); color: var(--sh-white); }
.sh-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 86px; }
.sh-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--sh-white); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.sh-brand img { width: 205px; height: auto; border-radius: 0; }
.sh-menu-toggle { display: none; width: 48px; min-height: 48px; margin-left: auto; padding: .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: transparent; color: var(--sh-white); }
.sh-menu-toggle:hover, .sh-menu-toggle:focus-visible { transform: none; border-color: var(--sh-gold); background: var(--sh-navy-2); color: var(--sh-white); }
.sh-menu-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; transition: transform .16s ease, opacity .16s ease; }
.sh-menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.sh-menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.sh-menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
.sh-main-nav ul { display: flex; align-items: center; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.sh-main-nav a { color: var(--sh-white); text-decoration: none; font-size: .94rem; font-weight: 600; }
.sh-main-nav a:hover { color: var(--sh-gold); }
.sh-header-cta { white-space: nowrap; }

.sh-hero { position: relative; isolation: isolate; min-height: min(740px, 78vh); display: grid; align-items: end; overflow: hidden; background: var(--sh-navy); color: var(--sh-white); }
.sh-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(29,28,69,.94) 8%, rgba(29,28,69,.58) 53%, rgba(29,28,69,.15)), var(--sh-hero-image) center/cover; }
.sh-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 28%; background: linear-gradient(transparent, rgba(29,28,69,.5)); }
.sh-hero-content { padding: clamp(4rem, 12vw, 10rem) 0 5rem; }
.sh-hero h1 { max-width: 780px; color: var(--sh-white); }
.sh-hero p { max-width: 640px; color: rgba(255,255,255,.85); font-size: 1.2rem; }
.sh-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

.sh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.sh-card { overflow: hidden; border: 1px solid rgba(29,28,69,.08); border-radius: var(--sh-radius); background: var(--sh-white); box-shadow: var(--sh-shadow); }
.sh-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sh-card-body { padding: 1.25rem 1.3rem 1.45rem; }
.sh-card-body h3 { margin-bottom: .45rem; }
.sh-card-meta { margin: 0 0 1rem; color: var(--sh-muted); font-size: .92rem; }
.sh-card-link { font-weight: 800; text-decoration: none; }

.sh-property-hero { padding: clamp(3rem, 7vw, 6rem) 0 2rem; background: var(--sh-navy); color: var(--sh-white); }
.sh-property-hero h1 { color: var(--sh-white); }
.sh-property-hero .sh-lede { color: rgba(255,255,255,.84); }
.sh-property-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 2.5rem; align-items: start; }
.sh-property-sidebar { position: sticky; top: 1.5rem; padding: 1.5rem; border-radius: var(--sh-radius); background: var(--sh-white); box-shadow: var(--sh-shadow); }
.sh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0 0; }
.sh-gallery a { display: block; overflow: hidden; border-radius: 12px; }
.sh-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s ease; }
.sh-gallery a:hover img { transform: scale(1.04); }
.sh-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem 1.2rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.sh-feature-list li::before { content: "✓"; margin-right: .5rem; color: var(--sh-gold); font-weight: 800; }
.sh-prose { max-width: 760px; }
.sh-prose p, .sh-prose ul { margin: 0 0 1.1rem; }

.suds-wrap { max-width: 1180px; margin-inline: auto; }
.sh-section--dark .suds-title { color: var(--sh-white); }

.sh-site-footer { padding: 3.5rem 0 1.5rem; background: var(--sh-navy); color: rgba(255,255,255,.78); }
.sh-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.sh-site-footer h2, .sh-site-footer h3 { color: var(--sh-white); font-size: 1.1rem; }
.sh-site-footer a { color: rgba(255,255,255,.82); }
.sh-site-footer ul { margin: 0; padding: 0; list-style: none; }
.sh-site-footer li + li { margin-top: .35rem; }
.sh-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .85rem; }

.elementor-page .sh-shell { width: min(1180px, calc(100% - 2.5rem)); }
@media (max-width: 900px) {
    .sh-header-inner { flex-wrap: wrap; }
    .sh-menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
    .sh-main-nav { display: none; flex-basis: 100%; width: 100%; padding: .75rem 0 1rem; }
    .sh-main-nav.is-open { display: block; }
    .sh-main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .sh-main-nav li { border-top: 1px solid rgba(255,255,255,.15); }
    .sh-main-nav a { display: block; padding: .7rem 0; }
    .sh-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sh-property-layout { grid-template-columns: 1fr; }
    .sh-property-sidebar { position: static; }
    .sh-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .sh-shell { width: min(100% - 1.25rem, 1180px); }
    .sh-header-cta { display: none; }
    .sh-grid, .sh-gallery, .sh-footer-grid { grid-template-columns: 1fr; }
    .sh-footer-bottom { flex-direction: column; }
}
