/* ==========================================================
   Bee Bay Self Storage - Master Stylesheet
   ========================================================== */

:root {
    --blue: #0068B7;
    --navy: #003D7A;
    --yellow: #FFC900;
    --light-blue: #F2F8FC;
    --white: #FFFFFF;
    --charcoal: #3F3F3F;
    --btn: #004A8F;
    --btn-hover: #00366B;
    --border-color: #D5E3F0;
}

/* ---------- Base & Reset ---------- */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--navy);
    text-transform: none;
    margin-top: 0;
}

p { margin-top: 0; }

/* ---------- Buttons ---------- */
.button {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
    background: var(--btn);
    color: var(--white);
    border: 2px solid var(--btn);
    border-radius: 6px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
    color: var(--white);
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 61, 122, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-weight: 600;
    font-size: 18px;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:not(.button):hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.site-nav a.button,
.nav-cta {
    font-size: 17px;
    color: var(--white);
    padding: 10px 20px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero.hero-split {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f7fc 0%, #e2f0f9 100%);
    overflow: hidden;
}

.hero-split .hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.hero-split h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--blue);
    margin: 0 0 1rem 0;
}

.hero-split .hero-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #4a4a4a;
    margin: 0 0 2rem 0;
}

.hero-split .hero-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--btn);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-split .hero-button:hover {
    background: var(--btn-hover);
}
.hero.hero-split {
    flex-direction: column;
    flex-wrap: nowrap;
}

.hero-split .hero-image-wrapper {
    order: -1;
    flex: none;
    width: 100%;
    height: 340px;
    min-height: 0;
    position: relative;
}

.hero-split .hero-content {
    flex: none;
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}
/* ==========================================================
   GENERAL SECTIONS
   ========================================================== */
.features,
.units-section,
.size-guide-section,
.climate-section,
.gallery-section,
.contact-section {
    padding: 80px 24px;
    text-align: center;
}

.units-section,
.size-guide-section,
.climate-section,
.gallery-section {
    border-top: 1px solid var(--border-color);
}

.eyebrow {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--blue);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-intro,
.size-guide-intro,
.climate-intro p {
    font-size: 20px;
    font-weight: 500;
    color: var(--charcoal);
    max-width: 800px;
    margin: 0 auto 28px;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.climate-section {
    background: var(--light-blue);
    width: 100%;
}

/* Key Benefits - Full Browser Width */
.features {
    width: 100%;
    margin: 0;
    padding: 60px 24px;
    background: var(--light-blue);
    border-top: 5px solid var(--yellow);
    border-radius: 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    text-align: center;
}

/* Individual benefit columns */
.feature {
    padding: 20px 32px;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .feature + .feature {
        border-left: 1px solid #C9DBEA;
        max-width: none;
    }
}

@media (max-width: 899px) {
    .features {
        grid-template-columns: 1fr;
    }

    .feature + .feature {
        border-left: none;
        border-top: 1px solid #C9DBEA;
    }
}
/* Units & Pricing */
.units {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 840px;
    margin: 0 auto;
}

.unit {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--blue);
    border-bottom: 4px solid var(--blue);
    border-radius: 10px;
    padding: 28px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 61, 122, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.unit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 61, 122, 0.12);
}

.unit h3 { font-size: 26px; margin: 0; }

.unit h3::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    margin: 12px auto 14px;
    background: var(--yellow);
    border-radius: 999px;
}

.unit .price { font-size: 18px; margin: 0; }
.unit .price span { font-size: 16px; }

.lease-note {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin: 10px 0 30px;
}

.units-cta { max-width: 680px; margin: 40px auto 0; }
.units-cta h3 { font-size: 28px; margin-bottom: 8px; }
.units-cta p { margin-bottom: 20px; text-wrap: balance; }

/* Size Guide */
.size-guide-section { background: var(--light-blue); }
.size-guide-section h2 { font-size: 40px; }

.size-guide-img {
    display: block;
    max-width: min(100%, 520px);
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 61, 122, 0.15);
}

/* ==========================================================
   CLIMATE CONTROLLED
   ========================================================== */

.climate-section {
    background: var(--light-blue);
    width: 100%;
    margin: 0;
    padding: 80px 24px;
    text-align: center;
}

.climate-section > h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.climate-intro p {
    font-size: 20px;
    font-weight: 500;
    color: var(--charcoal);
    max-width: 1000px;
    margin: 0 auto 24px;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--yellow);
    border-radius: 12px;
    padding: 28px 20px 26px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 61, 122, 0.1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    padding: 15px;
    margin: 0 0 18px;
    background: #FFF1B8;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    color: var(--navy);
}

.benefit-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6em;
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.benefit-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ==========================================================
   GALLERY & WATERMARK
   ========================================================== */
.gallery-section {
    position: relative;
    overflow: hidden;
    background: var(--light-blue);
}

/* Hide watermark on phones by default */
.gallery-section::before {
    display: none;
}

/* Show watermark on desktop screens */
@media (min-width: 769px) {
    .gallery-section::before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1200px;
        height: 1400px;
        transform: translate(-50%, -50%);
        background: url("beebay-logo.png") center / contain no-repeat;
        opacity: 0.10;
        mix-blend-mode: multiply;
        pointer-events: none;
    }
}

.gallery-section > * { position: relative; z-index: 1; }

.gallery {
    display: grid;
    grid-template-columns: 32px minmax(0, 350px) 32px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0 auto;
}

.gallery-track {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 10px solid var(--white);
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--border-color), 0 10px 28px rgba(0, 61, 122, 0.18);
    background: var(--white);
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; }
.gallery-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

.gallery-arrow {
    grid-row: 1;
    width: 32px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.gallery-prev { grid-column: 1; }
.gallery-next { grid-column: 3; }

.gallery-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2.5px solid var(--navy);
    border-left: 2.5px solid var(--navy);
    transition: border-color 0.2s ease;
}

.gallery-prev::before { transform: rotate(-45deg); margin-left: 5px; }
.gallery-next::before { transform: rotate(135deg); margin-right: 5px; }

.gallery-arrow:hover, .gallery-arrow:focus-visible { opacity: 1; }
.gallery-arrow:hover::before { border-color: var(--blue); }
.gallery-arrow[disabled] { opacity: 0.15; cursor: default; }

.gallery-dots { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; }
.gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: #B8CFE3; transition: background 0.25s ease; }
.gallery-dot.active { background: var(--navy); }

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-section {
    background: var(--navy);
    color: var(--white);
    padding: 80px 20px;
}

.contact-section .eyebrow { color: var(--yellow); }

.contact-mascot {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: var(--white);
    border: 4px solid var(--yellow);
    border-radius: 50%;
    padding: 10px;
    margin: 0 auto 20px;
}

.contact-section h2 { font-size: 36px; color: var(--white); }

.contact-details {
    list-style: none;
    margin: 28px 0 36px;
    padding: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-note { font-weight: 600; }

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--yellow);
}

.contact-link {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-link:hover, .contact-link:focus-visible { color: var(--yellow); }

/* Phone link only clickable on mobile */
@media (hover: hover) and (pointer: fine) {
    .phone-link {
        pointer-events: none;
        cursor: default;
        color: inherit;
        text-decoration: none;
    }
}

/* ==========================================================
   RESPONSIVE DESIGN (Tablets & Phones)
   ========================================================== */

html { scroll-padding-top: 120px; }

/* Tablets */
@media (max-width: 900px) {
    .benefit-cards { grid-template-columns: repeat(2, 1fr); }
    
    .hero-split .hero-content {
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
    }
}

/* Phones */
@media (max-width: 768px) {
    html { scroll-padding-top: 90px; }

    .header-container { padding: 10px 20px; }
    .logo img { height: 60px; }
    .nav-toggle { display: inline-flex; }
    
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem 1rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
        z-index: 100;
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        padding: 0.85rem 0.25rem;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        text-align: left;
    }
    .site-nav a:last-child { border-bottom: 0; }
    .site-nav .nav-cta { width: 100%; margin-top: 0.5rem; }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .features, .units-section, .size-guide-section, .climate-section, .gallery-section, .contact-section {
        padding: 50px 20px;
    }

    .units-section h2, .climate-section > h2, .size-guide-section h2, .contact-section h2 { font-size: 30px; }
    .section-intro, .size-guide-intro { font-size: 18px; }

    .units { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .unit { padding: 22px 10px; }
    .unit h3 { font-size: 22px; }

    .gallery { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 8px; }
    .gallery-arrow { width: 24px; }
    .gallery::after {
        content: 'Swipe to see more';
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 12px;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        color: #6B7C8F;
    }
}

/* Small Phones */
@media (max-width: 520px) {
    .benefit-cards { grid-template-columns: 1fr; }
    .benefit-card h3 { min-height: 0; }
    .features { border-radius: 0; }
    .units { grid-template-columns: 1fr; }
}

/* Hero: tall photo left, fading into the text side */
.hero.hero-split {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.hero-split .hero-image-wrapper {
    order: -1 !important;
    flex: 1 1 55% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 520px !important;
    align-self: stretch;
}

.hero-split .hero-image-wrapper img {
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}

.hero-split .hero-content {
    flex: 1 1 45% !important;
    width: auto !important;
    align-items: flex-start !important;
    text-align: left !important;
}

/* Phones and small tablets: stack, fade downward instead */
@media (max-width: 900px) {
    .hero.hero-split { flex-direction: column !important; }

    .hero-split .hero-image-wrapper {
        flex: none !important;
        min-height: 320px !important;
    }

    .hero-split .hero-image-wrapper img {
        -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    }

    .hero-split .hero-content {
        align-items: center !important;
        text-align: center !important;
    }
}

.hero-split .hero-button-outline {
    background: transparent;
    color: var(--btn);
    border: 2px solid var(--btn);
    margin-left: 12px;
}

.hero-split .hero-button-outline:hover {
    background: var(--btn);
    color: var(--white);
}

@media (max-width: 520px) {
    .hero-split .hero-button-outline { margin: 12px 0 0; }
}
.climate-section .section-cta {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    grid-column: 1 / -1;
    margin-top: 2.5rem;
}

.contact-note {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 20px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 8px;
}

.site-nav a {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .header-container { padding: 14px 20px; }
    .site-nav { gap: 16px; }
    .site-nav a { font-size: 16px; }
    .site-nav a.button,
    .nav-cta { font-size: 15px; padding: 9px 14px; }
    .logo img { height: 64px; }
}


