/* =========================================================
   SUNNY SPOTS
   File: sunny-spots.css
========================================================= */


/* =========================================================
   PAGE SAFETY
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

#what-is-a-sunny-spot {
    scroll-margin-top: 2rem;
}


/* =========================================================
   SUNNY SPOTS COLOR PALETTE
========================================================= */

:root {
    --sunny-green-dark: #35583d;
    --sunny-green-deep: #294730;
    --sunny-green-medium: #5f7c61;
    --sunny-green-soft: #edf5eb;

    --sunny-gold: #d99b35;
    --sunny-yellow: #f8cb57;
    --sunny-yellow-light: #fff0a8;
    --sunny-yellow-soft: #fff8d9;

    --sunny-sky: #dceef3;
    --sunny-sky-soft: #eff8fa;

    --sunny-cream: #fffaf0;
    --sunny-paper: #f9f6ed;
    --sunny-white: #ffffff;

    --sunny-text: #37423b;
    --sunny-muted: #647068;

    --sunny-border: rgba(53, 88, 61, 0.14);
    --sunny-shadow: 0 14px 34px rgba(53, 88, 61, 0.09);
    --sunny-shadow-soft: 0 9px 24px rgba(53, 88, 61, 0.07);
}


/* =========================================================
   HERO
========================================================= */

.sunny-hero {
    position: relative;
    width: 100%;
    padding:
        clamp(4.75rem, 10vw, 8.5rem)
        clamp(1rem, 4vw, 2rem);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(255, 240, 168, 0.38),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 72%,
            rgba(220, 238, 243, 0.38),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #35583d 0%,
            #547258 48%,
            #769276 100%
        );
    color: var(--sunny-white);
    text-align: center;
}

.sunny-hero::before,
.sunny-hero::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.sunny-hero::before {
    top: -9rem;
    left: -7rem;
    width: 25rem;
    height: 25rem;
    background: rgba(255, 255, 255, 0.06);
}

.sunny-hero::after {
    right: -8rem;
    bottom: -11rem;
    width: 29rem;
    height: 29rem;
    background: rgba(255, 236, 150, 0.08);
}

.sunny-hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 900px);
    margin: 0 auto;
}

.sunny-hero-icon {
    margin-bottom: 1rem;
    font-size: clamp(4rem, 9vw, 6.5rem);
    line-height: 1;
}

.sunny-eyebrow {
    margin: 0 0 0.85rem;
    color: var(--sunny-yellow-light);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sunny-hero h1 {
    margin: 0;
    color: var(--sunny-white);
    font-size: clamp(3.2rem, 9vw, 6.6rem);
    font-weight: 900;
    line-height: 0.98;
}

.sunny-tagline {
    max-width: 780px;
    margin: 1.5rem auto 0;
    color: var(--sunny-white);
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.48;
}

.sunny-hero-introduction {
    max-width: 760px;
    margin: 1.3rem auto 0;
    color: rgba(255, 255, 255, 0.93);
    font-size: 1.08rem;
    line-height: 1.82;
}

.sunny-hero .trail-button {
    margin-top: 2rem;
    background: var(--sunny-yellow-light);
    color: var(--sunny-green-dark);
}

.sunny-hero .trail-button:hover,
.sunny-hero .trail-button:focus-visible {
    background: var(--sunny-white);
    color: var(--sunny-green-deep);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.sunny-section {
    width: 100%;
    padding:
        clamp(3.75rem, 7vw, 5.75rem)
        clamp(1rem, 4vw, 1.5rem);
}

.sunny-section-soft {
    background:
        linear-gradient(
            180deg,
            rgba(249, 246, 237, 0.96),
            rgba(241, 247, 239, 0.92)
        );
}

.sunny-section-highlight {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(248, 203, 87, 0.17),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            rgba(255, 248, 217, 0.95),
            rgba(239, 248, 250, 0.93)
        );
}

.sunny-section-heading {
    width: min(100%, 930px);
    margin: 0 auto 2.3rem;
    text-align: center;
}

.sunny-kicker {
    margin: 0 0 0.7rem;
    color: var(--sunny-green-medium);
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sunny-section-heading h2 {
    max-width: 870px;
    margin: 0 auto;
    color: var(--sunny-green-dark);
    font-size: clamp(2rem, 5vw, 3.45rem);
    font-weight: 850;
    line-height: 1.12;
}

.sunny-section-heading > p:not(.sunny-kicker) {
    max-width: 770px;
    margin: 1rem auto 0;
    color: var(--sunny-muted);
    font-size: 1.04rem;
    line-height: 1.78;
}

.sunny-copy {
    width: min(100%, 800px);
    margin: 0 auto;
}

.sunny-copy p {
    margin: 0 0 1.25rem;
    color: var(--sunny-text);
    line-height: 1.83;
}

.sunny-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   QUOTES
========================================================= */

.sunny-quote {
    position: relative;
    width: min(100%, 745px);
    margin: 2.3rem auto;
    padding: 1.7rem 1.9rem 1.7rem 2.1rem;
    border: 0;
    border-left: 6px solid var(--sunny-gold);
    border-radius: 0 1.25rem 1.25rem 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 248, 217, 0.98),
            rgba(255, 253, 246, 0.98)
        );
    box-shadow: 0 12px 28px rgba(87, 68, 36, 0.09);
    color: #4a4032;
    font-size: clamp(1.1rem, 2.5vw, 1.42rem);
    font-style: italic;
    font-weight: 750;
    line-height: 1.67;
}

.sunny-quote::before {
    position: absolute;
    top: -0.5rem;
    left: 0.65rem;
    color: rgba(177, 121, 36, 0.17);
    content: "“";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.2rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.sunny-quote p {
    position: relative;
    z-index: 1;
    margin: 0;
}


/* =========================================================
   ROCK AND LANDSCAPE SECTION
========================================================= */

.sunny-landscape-section {
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(220, 238, 243, 0.55),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            var(--sunny-cream),
            var(--sunny-white)
        );
}

.sunny-landscape-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.sunny-landscape-card {
    min-width: 0;
    min-height: 340px;
    padding: 2rem 1.75rem;
    border: 1px solid var(--sunny-border);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--sunny-shadow);
    text-align: center;
}

.sunny-landscape-card:first-child {
    background:
        linear-gradient(
            145deg,
            rgba(244, 240, 231, 0.98),
            rgba(255, 255, 255, 0.98)
        );
}

.sunny-landscape-card:last-child {
    background:
        linear-gradient(
            145deg,
            rgba(239, 248, 250, 0.98),
            rgba(255, 251, 228, 0.98)
        );
}

.sunny-landscape-icon {
    margin-bottom: 1rem;
    font-size: 3.4rem;
    line-height: 1;
}

.sunny-landscape-card h3 {
    margin: 0 0 1rem;
    color: var(--sunny-green-dark);
    font-size: 1.35rem;
}

.sunny-landscape-card p {
    margin: 0 0 1rem;
    color: var(--sunny-text);
    line-height: 1.75;
}

.sunny-landscape-card p:last-child {
    margin-bottom: 0;
}

.sunny-landscape-quote {
    width: min(100%, 850px);
    margin: 2.5rem auto 0;
    padding: clamp(1.75rem, 4vw, 2.4rem);
    border: 1px solid rgba(217, 155, 53, 0.22);
    border-radius: 1.35rem;
    background:
        linear-gradient(
            135deg,
            rgba(255, 244, 190, 0.9),
            rgba(255, 252, 238, 0.98)
        );
    box-shadow: 0 13px 30px rgba(92, 68, 30, 0.08);
    color: #473d30;
    text-align: center;
}

.sunny-landscape-quote p {
    margin: 0 0 0.7rem;
    font-size: clamp(1.12rem, 2.5vw, 1.42rem);
    font-weight: 800;
    line-height: 1.65;
}

.sunny-landscape-quote p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SUNNY SPOT EXAMPLES
========================================================= */

.sunny-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: min(100%, 1140px);
    margin: 0 auto;
}

.sunny-card {
    min-width: 0;
    min-height: 285px;
    padding: 1.7rem;
    border: 1px solid var(--sunny-border);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--sunny-shadow-soft);
}

.sunny-card-icon {
    margin-bottom: 0.9rem;
    font-size: 2.35rem;
    line-height: 1;
}

.sunny-card h3 {
    margin: 0 0 0.75rem;
    color: var(--sunny-green-dark);
    font-size: 1.2rem;
}

.sunny-card p {
    margin: 0;
    color: var(--sunny-text);
    line-height: 1.72;
}


/* =========================================================
   LANGUAGE SECTION
========================================================= */

.sunny-language-section {
    background:
        radial-gradient(
            circle at 20% 15%,
            rgba(248, 203, 87, 0.18),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            rgba(255, 250, 231, 0.96),
            rgba(237, 245, 235, 0.94)
        );
}

.sunny-language-list {
    display: grid;
    gap: 0.75rem;
    width: min(100%, 680px);
    margin: 1.8rem auto 2rem;
}

.sunny-language-list p {
    position: relative;
    margin: 0;
    padding: 1rem 1.15rem 1rem 3rem;
    border: 1px solid rgba(53, 88, 61, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 7px 18px rgba(53, 88, 61, 0.05);
    color: var(--sunny-green-dark);
    font-weight: 750;
    line-height: 1.55;
}

.sunny-language-list p::before {
    position: absolute;
    top: 50%;
    left: 1rem;
    content: "☀";
    color: var(--sunny-gold);
    font-size: 1.15rem;
    transform: translateY(-50%);
}


/* =========================================================
   SUNNY SPOT MAP
========================================================= */

.sunny-map-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    width: min(100%, 1160px);
    margin: 0 auto;
}

.sunny-map-card {
    min-width: 0;
    min-height: 285px;
    padding: 1.7rem;
    border: 1px solid var(--sunny-border);
    border-radius: 1.25rem;
    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 249, 224, 0.8)
        );
    box-shadow: var(--sunny-shadow-soft);
}

.sunny-map-number {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 50%;
    background: var(--sunny-yellow-light);
    color: var(--sunny-green-dark);
    font-size: 1.1rem;
    font-weight: 900;
}

.sunny-map-card h3 {
    margin: 0 0 0.75rem;
    color: var(--sunny-green-dark);
    font-size: 1.2rem;
}

.sunny-map-card p {
    margin: 0;
    color: var(--sunny-text);
    line-height: 1.72;
}


/* =========================================================
   CLOSING
========================================================= */

.sunny-closing {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(248, 203, 87, 0.28),
            transparent 29%
        ),
        radial-gradient(
            circle at 82% 78%,
            rgba(220, 238, 243, 0.42),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(255, 248, 217, 0.97),
            rgba(237, 245, 235, 0.97)
        );
    text-align: center;
}

.sunny-closing::before {
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    content: "";
    pointer-events: none;
}

.sunny-closing-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    font-size: 4rem;
    line-height: 1;
}

.sunny-closing > h2 {
    position: relative;
    z-index: 1;
    width: min(100%, 870px);
    margin: 0 auto 2rem;
    color: var(--sunny-green-dark);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.13;
}

.sunny-closing .sunny-copy {
    position: relative;
    z-index: 1;
    text-align: left;
}

.sunny-closing-message {
    margin-top: 2rem !important;
    padding: 1.5rem;
    border-radius: 1.15rem;
    background: var(--sunny-green-dark);
    color: var(--sunny-white) !important;
    box-shadow: 0 13px 30px rgba(53, 88, 61, 0.18);
    text-align: center;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.65;
}


/* =========================================================
   CONTINUE THE JOURNEY
========================================================= */

.continue-journey {
    width: 100%;
    padding:
        clamp(3.75rem, 7vw, 5.5rem)
        clamp(1rem, 4vw, 1.5rem);
    background: var(--sunny-cream);
    text-align: center;
}

.continue-journey h2 {
    max-width: 820px;
    margin: 0 auto;
    color: var(--sunny-green-dark);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
}

.continue-journey-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: min(100%, 1000px);
    margin: 2rem auto 0;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.sunny-hero .trail-button:focus-visible,
.continue-journey .trail-button:focus-visible {
    outline: 3px solid var(--sunny-yellow);
    outline-offset: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
    .sunny-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 700px) {
    .sunny-hero {
        padding-top: 4.25rem;
        padding-bottom: 4.25rem;
    }

    .sunny-section {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .sunny-landscape-grid,
    .sunny-card-grid,
    .sunny-map-grid {
        grid-template-columns: 1fr;
    }

    .sunny-landscape-card,
    .sunny-card,
    .sunny-map-card {
        min-height: 0;
    }

    .sunny-quote {
        margin: 1.7rem 0;
        padding: 1.35rem 1.2rem 1.35rem 1.5rem;
        border-left-width: 5px;
        border-radius: 0 1rem 1rem 0;
    }

    .sunny-quote::before {
        left: 0.35rem;
        font-size: 4.2rem;
    }

    .sunny-landscape-quote {
        padding: 1.5rem 1.15rem;
    }

    .sunny-language-list p {
        padding-left: 2.75rem;
    }

    .continue-journey-links {
        align-items: stretch;
        flex-direction: column;
    }

    .continue-journey-links .trail-button {
        width: 100%;
        text-align: center;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {
    .sunny-hero h1 {
        font-size: 2.9rem;
    }

    .sunny-tagline {
        font-size: 1.1rem;
    }

    .sunny-hero-introduction {
        font-size: 1rem;
    }

    .sunny-landscape-icon {
        font-size: 3rem;
    }

    .sunny-closing-icon {
        font-size: 3.5rem;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}