/* =========================================================
   Memorial Design
   Main stylesheet
   ========================================================= */


/* ---------------------------------------------------------
   Variables
   --------------------------------------------------------- */

:root {

    /* Colors */
    --color-dark: #1a1a1a;
    --color-gold: #d4b16a;

    --color-bg: #f1f2f3;
    --color-white: #ffffff;

    --color-text: #1a1a1a;
    --color-text-secondary: #666666;

    --color-border: #dddddd;


    /* Typography */

    --font-heading: "Roboto Serif", Georgia, serif;
    --font-body: "Inter", Arial, sans-serif;


    /* Layout */

    --container-width: 1440px;
    --container-padding: 40px;


    /* Header */

    --header-height: 96px;


    /* Radius */

    --radius-sm: 4px;
    --radius-md: 8px;


    /* Animation */

    --transition: 250ms ease;
}


/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--color-bg);

    color: var(--color-text);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ---------------------------------------------------------
   Container
   --------------------------------------------------------- */

.container {
    width: 100%;
    max-width: calc(
        var(--container-width) +
        var(--container-padding) * 2
    );

    margin-inline: auto;
    padding-inline: var(--container-padding);
}


/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    font-family: var(--font-heading);
    font-weight: 600;

    line-height: 1.1;
}

p {
    margin-top: 0;
}


/* ---------------------------------------------------------
   Temporary test
   --------------------------------------------------------- */

.test-section {
    min-height: 600px;

    display: flex;
    align-items: center;
}

.test-section h1 {
    margin-bottom: 24px;

    font-size: 64px;
}

.test-section p {
    max-width: 650px;

    margin-bottom: 0;

    font-size: 22px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;
    height: 96px;

    background: #1a1a1a;
    border-bottom: 1px solid #d4b16a;
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;

    padding-top: 0;
    padding-bottom: 0;
}


/* Logo */

.site-logo {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
}

.site-logo img {
    display: block;

    width: 225px;
    height: auto;
}


/* Navigation */

.main-navigation {
    margin-left: 125px;
}

.main-menu {
    display: flex;
    align-items: center;

    gap: 46px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li {
    position: relative;

    margin: 0;
    padding: 0;
}

.main-menu a {
    position: relative;

    display: flex;
    align-items: center;

    height: 96px;

    padding: 0;

    color: #f1f2f3;

    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.015em;

    transition: color 0.25s ease;
}

.main-menu a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #d4b16a;

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

.main-menu a:hover {
    color: #d4b16a;
}

.main-menu a:hover::after {
    width: 54px;
}


/* Active item */

.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
    color: #d4b16a;
}

.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after {
    width: 54px;
}


/* CTA */

.header-cta {
    flex: 0 0 auto;

    margin-left: auto;

    min-width: 218px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 26px;

    background: #d4b16a;
    color: #1a1a1a;

    border-radius: 6px;

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.02em;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.header-cta:hover {
    background: #e1c17e;
    color: #1a1a1a;
}


/* Mobile button */

.menu-toggle {
    display: none;

    flex: 0 0 auto;

    width: 44px;
    height: 44px;

    margin-left: 18px;
    padding: 10px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: #d4b16a;
}

/* Logo */

.site-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    width: 220px;
    height: auto;
}


/* Navigation */

.main-navigation {
    margin-left: 90px;
}

.main-menu {
    display: flex;
    align-items: center;

    gap: 40px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    position: relative;

    display: block;

    padding: 36px 0 34px;

    color: #f1f2f3;

    font-size: 16px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.02em;

    transition:
        color var(--transition);
}

.main-menu a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 24px;

    width: 0;
    height: 2px;

    background: var(--color-gold);

    transform: translateX(-50%);

    transition:
        width var(--transition);
}

.main-menu a:hover {
    color: var(--color-gold);
}

.main-menu a:hover::after {
    width: 70%;
}


/* Active menu item */

.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
    color: var(--color-gold);
}

.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after {
    width: 70%;
}


/* CTA */

.header-cta {
    margin-left: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    border-radius: 6px;

    background: var(--color-gold);
    color: var(--color-dark);

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    transition:
        background var(--transition),
        transform var(--transition);
}

.header-cta:hover {
    background: #e0be7a;
}


/* Mobile toggle */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: 16px;
    padding: 9px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--color-gold);

    transition: var(--transition);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;

    min-height: 660px;

    overflow: hidden;

    background: #f1f2f3;
}

.hero-inner {
    min-height: 660px;

    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;

    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 600px;

    padding: 70px 0;
}

.hero-eyebrow {
    margin-bottom: 20px;

    color: #d4b16a;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: 0.14em;
}

.hero-title {
    margin: 0 0 28px;

    color: #1a1a1a;

    font-family: "Roboto Serif", Georgia, serif;
    font-size: 58px;
    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -0.02em;
}

.hero-description {
    max-width: 530px;

    margin: 0 0 34px;

    color: #505050;

    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 16px;

    margin-bottom: 52px;
}

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 26px;

    border-radius: 5px;

    font-size: 15px;
    font-weight: 600;

    transition: 0.25s ease;
}

.btn-primary {
    background: #d4b16a;
    color: #1a1a1a;
}

.btn-primary:hover {
    background: #e1c17e;
}

.btn-secondary {
    border: 1px solid #1a1a1a;

    background: transparent;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
}


/* Benefits */

.hero-benefits {
    display: flex;
    align-items: center;

    gap: 28px;
}

.hero-benefit {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #333;

    font-size: 14px;
    line-height: 1.3;
}

.hero-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #d4b16a;

    font-size: 12px;
}


/* Monument */

.hero-visual {
    position: relative;

    height: 100%;
    min-height: 660px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-visual img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 760px;

    height: auto;

    object-fit: contain;
}