/* =========================================
   RISING EVENTS CO.
   Main Website Styles
   ========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');


/* ---------- BRAND COLORS ---------- */

:root {
    --ivory: #F9F5EF;
    --sage: #C5D8BE;
    --dusty-rose: #E1B1B1;
    --blush: #FFDADA;
    --soft-blue: #B1D0ED;
    --light-blue: #C9E7F3;
    --soft-gray: #E3E7E9;

    /* Inspired by the dark greenery in the logo */
    --deep-green: #263A2E;

    --white: #FFFFFF;
}


/* ---------- RESET ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ivory);
    color: var(--deep-green);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}


/* ---------- TYPOGRAPHY ---------- */

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ---------- NAVIGATION ---------- */

.site-header {
    width: 100%;
    background: rgba(249, 245, 239, 0.96);
    border-bottom: 1px solid rgba(38, 58, 46, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
}

.main-nav a:hover {
    opacity: 0.55;
}


/* ---------- BUTTONS ---------- */

.button,
.nav-button {
    display: inline-block;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.14em;

    padding: 14px 28px;

    border: 1px solid var(--deep-green);
    border-radius: 6px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.button:hover,
.nav-button:hover {
    background-color: var(--deep-green);
    color: var(--ivory);
    transform: translateY(-2px);
}

.button-primary {
    background-color: var(--deep-green);
    color: var(--ivory);
}

.button-primary:hover {
    background-color: transparent;
    color: var(--deep-green);
}

.button-secondary {
    background-color: transparent;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 88vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 100px 30px;

    background:
        linear-gradient(
            rgba(249, 245, 239, 0.90),
            rgba(249, 245, 239, 0.96)
        ),
        linear-gradient(
            135deg,
            var(--sage),
            var(--light-blue)
        );
}

.hero-content {
    max-width: 900px;
}

.eyebrow,
.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 25px;
}

.mission {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.45;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 38px;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ---------- SHARED SECTIONS ---------- */

.section-container {
    width: min(1150px, 88%);
    margin: 0 auto;
}

.intro-section,
.services-section,
.experience-section,
.values-section,
.contact-section {
    padding: 110px 0;
}

.section-label {
    color: #617362;
}

.section-intro {
    max-width: 650px;
    margin-top: 25px;
}


/* ---------- INTRO ---------- */

.intro-section {
    background-color: var(--ivory);
    text-align: center;
}

.intro-section .section-container {
    max-width: 850px;
}

.intro-section h2 {
    margin-bottom: 35px;
}

.intro-section p:last-child {
    max-width: 750px;
    margin: 0 auto;
}


/* ---------- SERVICES ---------- */

.services-section {
    background-color: var(--soft-gray);
}

.services-section h2 {
    margin-bottom: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 55px;
}

.service-card {
    background-color: var(--ivory);
    padding: 40px 32px;
    border: 1px solid rgba(38, 58, 46, 0.10);
    border-radius: 8px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(38, 58, 46, 0.08);
}

.service-card h3 {
    margin-bottom: 15px;
}


/* Individual soft accents */

.service-card:nth-child(1) {
    border-top: 4px solid var(--sage);
}

.service-card:nth-child(2) {
    border-top: 4px solid var(--soft-blue);
}

.service-card:nth-child(3) {
    border-top: 4px solid var(--dusty-rose);
}

.service-card:nth-child(4) {
    border-top: 4px solid var(--light-blue);
}

.service-card:nth-child(5) {
    border-top: 4px solid var(--blush);
}

.service-card:nth-child(6) {
    border-top: 4px solid var(--sage);
}


/* ---------- EXPERIENCE ---------- */

.experience-section {
    background-color: var(--sage);
}

.experience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-copy p + p {
    margin-top: 24px;
}


/* ---------- VALUES ---------- */

.values-section {
    background-color: var(--ivory);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 45px;
}

.value {
    border-top: 1px solid var(--deep-green);
    padding-top: 25px;
}

.value span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    margin-bottom: 25px;
}

.value h3 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}


/* ---------- CONTACT ---------- */

.contact-section {
    background-color: var(--blush);
    text-align: center;
}

.contact-container {
    max-width: 750px;
}

.contact-section h2 {
    margin-bottom: 25px;
}

.contact-section p {
    margin-bottom: 35px;
}


/* ---------- FOOTER ---------- */

.site-footer {
    background-color: var(--deep-green);
    color: var(--ivory);
    padding: 55px 0;
}

.footer-container {
    width: min(1150px, 88%);
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.footer-container strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-container p {
    font-size: 0.8rem;
}


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

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

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

    .experience-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .nav-container {
        padding: 15px 20px;
    }

    .brand {
        font-size: 1.3rem;
    }

    .nav-button {
        padding: 10px 15px;
        font-size: 0.65rem;
    }

    .hero {
        min-height: 82vh;
        padding: 80px 22px;
    }

    .intro-section,
    .services-section,
    .experience-section,
    .values-section,
    .contact-section {
        padding: 75px 0;
    }

    .service-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

}
