/* =========================================================
   SONS OF LALOMAUGA
   MAIN STYLESHEET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --navy: #082f49;
    --navy-dark: #041f31;
    --blue: #075985;
    --ocean: #0284c7;

    --green: #14532d;
    --green-light: #166534;

    --gold: #d4a017;
    --gold-light: #f2c94c;

    --cream: #faf8f1;
    --sand: #f2ead7;

    --white: #ffffff;
    --black: #101820;

    --text: #263238;
    --muted: #68747d;

    --border: #e3e6e8;

    --shadow: 0 20px 50px rgba(4, 31, 49, 0.10);

    --transition: all 0.3s ease;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
}

.section-label.light {
    color: var(--gold-light);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.intro-content h2 {
    font-family: "Cinzel", serif;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4, 31, 49, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-symbol {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.7);
}

.brand-text strong {
    font-family: "Cinzel", serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--gold-light);
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: white;
    margin: 6px 0;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #06263a 0%,
            #075985 45%,
            #14532d 100%
        );

    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(255,255,255,0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(212,160,23,0.14),
            transparent 30%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(255,255,255,0.015) 31px
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    color: var(--gold-light);
    border: 1px solid rgba(242,201,76,0.45);
    padding: 9px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 25px;
}

.hero h1 {
    color: white;
    font-family: "Cinzel", serif;
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-subtitle {
    max-width: 680px;
    color: rgba(255,255,255,0.86);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: var(--navy);
}

.btn-light:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--navy);
}

.hero-scroll {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 45px;
    background: rgba(255,255,255,0.5);
    margin: 10px auto 0;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-image {
    min-height: 520px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background:
        linear-gradient(
            145deg,
            #075985,
            #14532d
        );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.image-placeholder::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.image-placeholder span {
    font-size: 6rem;
    position: relative;
    z-index: 2;
}

.image-placeholder p {
    position: relative;
    z-index: 2;
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.intro-content p {
    color: var(--muted);
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    color: var(--navy);
    font-weight: 700;
    margin-top: 10px;
    border-bottom: 2px solid var(--gold);
}


/* =========================================================
   STATS
========================================================= */

.family-stats {
    background: var(--navy);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    text-align: center;
    color: white;
    padding: 10px 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 7px;
}

.stat span {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================================
   STORY
========================================================= */

.story-section {
    background: white;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.story-card {
    padding: 42px 32px;
    background: var(--cream);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.story-card.featured {
    background: var(--navy);
    color: white;
    transform: translateY(-15px);
}

.story-card.featured:hover {
    transform: translateY(-23px);
}

.story-icon {
    font-size: 2.4rem;
    margin-bottom: 22px;
}

.story-card h3 {
    font-family: "Cinzel", serif;
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.story-card.featured h3 {
    color: white;
}

.story-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.story-card.featured p {
    color: rgba(255,255,255,0.72);
}


/* =========================================================
   HERITAGE
========================================================= */

.heritage-section {
    min-height: 620px;
    display: flex;
    align-items: center;
    position: relative;

    background:
        linear-gradient(
            120deg,
            #052f46,
            #075985 50%,
            #14532d
        );
}

.heritage-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(242,201,76,0.14),
            transparent 35%
        );
}

.heritage-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.heritage-content h2 {
    color: white;
    font-family: "Cinzel", serif;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.15;
    margin-bottom: 25px;
}

.heritage-content p {
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin-bottom: 35px;
}


/* =========================================================
   GENERATIONS
========================================================= */

.generations-section {
    background: var(--cream);
}

.generation-timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.generation-timeline::before {
    content: "";
    position: absolute;
    left: 45px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: var(--gold);
}

.timeline-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
}

.timeline-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cinzel", serif;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 28px 32px;
    box-shadow: 0 10px 30px rgba(4,31,49,0.06);
}

.timeline-content span {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.timeline-content h3 {
    font-family: "Cinzel", serif;
    color: var(--navy);
    font-size: 1.35rem;
    margin: 5px 0 8px;
}

.timeline-content p {
    color: var(--muted);
    font-size: 0.9rem;
}


/* =========================================================
   WORLDWIDE
========================================================= */

.worldwide-section {
    background: white;
}

.world-map {
    min-height: 520px;
    background:
        radial-gradient(
            circle at center,
            #d9f0f7,
            #a9d6df
        );
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.world-map::before {
    content: "";
    position: absolute;
    inset: 40px;
    border: 1px dashed rgba(8,47,73,0.2);
    border-radius: 50%;
}

.map-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13rem;
    opacity: 0.16;
}

.location {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 14px;
    box-shadow: 0 10px 25px rgba(4,31,49,0.12);
    font-size: 0.78rem;
}

.location strong {
    display: block;
    color: var(--navy);
}

.location small {
    color: var(--muted);
}

.location-dot {
    width: 11px;
    height: 11px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(212,160,23,0.18);
}

.location-samoa {
    top: 48%;
    left: 38%;
}

.location-nz {
    bottom: 20%;
    left: 45%;
}

.location-aus {
    bottom: 28%;
    left: 32%;
}

.location-usa {
    top: 25%;
    right: 15%;
}

.location-hawaii {
    top: 37%;
    right: 30%;
}

.world-message {
    text-align: center;
    margin: 50px auto 0;
    max-width: 700px;
}

.world-message h3 {
    color: var(--navy);
    font-family: "Cinzel", serif;
    font-size: 2rem;
    margin-bottom: 12px;
}

.world-message p {
    color: var(--muted);
}


/* =========================================================
   EVENTS
========================================================= */

.events-section {
    background: var(--cream);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.event-card {
    background: white;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 90px 1fr;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.event-date {
    background: var(--navy);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
}

.event-date .month {
    color: var(--gold-light);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.event-date strong {
    font-family: "Cinzel", serif;
    font-size: 2rem;
}

.event-info {
    padding: 25px;
}

.event-type {
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.event-info h3 {
    color: var(--navy);
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 7px 0 10px;
}

.event-info p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.event-info a {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #075985,
            #14532d
        );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    transition: var(--transition);
}

.gallery-placeholder:hover {
    transform: scale(1.04);
}

.gallery-placeholder span {
    font-size: 3rem;
    margin-bottom: 8px;
}

.gallery-placeholder strong {
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
}

.gallery-placeholder small {
    color: rgba(255,255,255,0.7);
}


/* =========================================================
   NEWS
========================================================= */

.news-section {
    background: var(--cream);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.news-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background:
        linear-gradient(
            145deg,
            #075985,
            #14532d
        );
}

.news-body {
    padding: 27px;
}

.news-body > span {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.news-body h3 {
    color: var(--navy);
    font-family: "Cinzel", serif;
    line-height: 1.4;
    margin: 7px 0 10px;
}

.news-body p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.news-body a {
    color: var(--blue);
    font-weight: 700;
    font-size: 0.75rem;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 100px 0;
    background:
        linear-gradient(
            135deg,
            #041f31,
            #075985
        );
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.contact-content h2 {
    color: white;
    font-family: "Cinzel", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 22px;
}

.contact-content > p {
    color: rgba(255,255,255,0.75);
    max-width: 650px;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    padding: 45px 35px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--navy);
    font-family: "Cinzel", serif;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--muted);
}

.contact-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

.contact-card a {
    color: var(--blue);
    font-weight: 700;
    font-size: 0.85rem;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #021521;
    color: white;
}

.footer-grid {
    min-height: 150px;
    display: grid;
    grid-template-columns: 1fr 1.5fr auto;
    align-items: center;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom .container {
    min-height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.45);
    font-size: 0.68rem;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.7rem;
    }

    .intro-grid {
        gap: 45px;
    }

    .contact-grid {
        gap: 40px;
    }

}


@media (max-width: 850px) {

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        top: 82px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 82px);
        background: var(--navy-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 22px;
        transition: var(--transition);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image {
        min-height: 400px;
    }

    .image-placeholder {
        min-height: 400px;
    }

    .story-grid,
    .events-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .story-card.featured {
        transform: none;
    }

    .story-card.featured:hover {
        transform: translateY(-8px);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-social {
        display: flex;
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        text-align: center;
    }

}


@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 75px 0;
    }

    .nav-container {
        height: 72px;
    }

    .main-nav {
        top: 72px;
        height: calc(100vh - 72px);
    }

    .brand-text strong {
        font-size: 0.8rem;
    }

    .hero {
        min-height: 750px;
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .hero-scroll {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }

    .stat strong {
        font-size: 1.8rem;
    }

    .generation-timeline::before {
        left: 25px;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 0.75rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .world-map {
        min-height: 450px;
    }

    .location {
        transform: scale(0.85);
    }

    .location-samoa {
        left: 28%;
    }

    .location-nz {
        left: 35%;
    }

    .location-aus {
        left: 15%;
    }

    .location-usa {
        right: 4%;
    }

    .location-hawaii {
        right: 15%;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px 180px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .contact-section {
        padding: 75px 0;
    }

}