/*
Theme Name: Elevate Wedding
Theme URI: https://elevatestudios.ie
Author: Elevate Studios
Description: Custom wedding website theme.
Version: 1.0
*/


:root {

    /* ========================================
       COLOURS
    ========================================= */

    --primary: #9A6B73;
--secondary: #E8D5D8;

--background: #FBF8F7;
--surface: #FFFFFF;
--surface-soft: #F6EEEE;

--text: #332A2C;
--text-muted: #756A6C;
--text-light: #A69B9D;

--border: #E8DDDF;


    /* ========================================
       TYPOGRAPHY
    ========================================= */

    --font-heading: "Trebuchet MS", sans-serif;
--font-body: Arial, sans-serif;


    /* ========================================
       LAYOUT
    ======================================== */

    --container: 1200px;

    --section-padding: 100px;

    --section-padding-mobile: 70px;


    /* ========================================
       SHAPE
    ======================================== */

    --radius: 10px;
    --radius-small: 6px;


    /* ========================================
       SHADOW
    ======================================== */

    --shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

}


/* ========================================
   RESET
======================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--background);

    color: var(--text);

    font-family: var(--font-body);

    font-size: 16px;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


img {
    display: block;

    max-width: 100%;

    height: auto;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    color: inherit;

    text-decoration: none;
}


h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}


/* ========================================
   GLOBAL LAYOUT
======================================== */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


section {
    position: relative;
}


/* ========================================
   GLOBAL TYPOGRAPHY
======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);

    line-height: 1.15;

    color: var(--text);
}


p {
    color: var(--text);
}


/* ========================================
   GLOBAL BUTTON
======================================== */

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid var(--primary);

    border-radius: var(--radius-small);

    background: var(--primary);

    color: #FFFFFF;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.button:hover {
    transform: translateY(-1px);
}


/* ========================================
   SECTION SPACING
======================================== */

.section {
    padding-block: var(--section-padding);
}


/* ========================================
   ACCESSIBILITY
======================================== */

:focus-visible {
    outline: 2px solid var(--primary);

    outline-offset: 3px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }


    .section {
        padding-block:
            var(--section-padding-mobile);
    }

}

/* ========================================
   WEDDING SITE
   Site-specific styles go here.
======================================== */


/* ========================================
   NAVIGATION
======================================== */
/* ========================================
   NAVIGATION — TRANSPARENT WEDDING
======================================== */

.wedding-navigation {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 20;

    color: white;
}


.wedding-navigation-inner {

    max-width: var(--container);

    margin: 0 auto;

    padding: 25px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* ========================================
   LOGO
======================================== */

.wedding-logo {

    font-family: var(--font-heading);

    font-size: 24px;

    font-weight: 400;

    letter-spacing: 0.5px;

    white-space: nowrap;

}


/* ========================================
   LINKS
======================================== */

.wedding-nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

}


.wedding-nav-links a {

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    opacity: 0.95;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;

}


.wedding-nav-links a:hover {

    opacity: 1;

    color: var(--secondary);

}


/* ========================================
   MOBILE MENU
======================================== */

.wedding-menu-button {

    display: none;

    width: 42px;

    height: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 6px;

}


.wedding-menu-button span {

    display: block;

    width: 22px;

    height: 1px;

    background: currentColor;

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .wedding-navigation-inner {

        padding: 20px 25px;

    }


    .wedding-nav-links {

        display: none;

    }


    .wedding-menu-button {

        display: flex;

    }


    .wedding-logo {

        font-size: 21px;

    }

}


/* ========================================
   COMPONENT LIBRARY PREVIEW
======================================== */

/*
   The navigation is designed to sit over
   a hero image. Give the library preview
   a temporary visual background so the
   transparent navigation can be seen.
*/

.dynamic-component-preview
.wedding-navigation {

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25)
        ),
        url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1800&q=80")
        center / cover no-repeat;

}


.dynamic-component-preview
.wedding-navigation-inner {

    min-height: 80px;

}

/* ========================================
   HERO
======================================== */

/* ========================================
   HERO COMPONENT
======================================== */

.hero-component {

    min-height: 600px;

    padding: 80px 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25)
        ),
        url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1800&q=80")
        center / cover no-repeat;

    color: white;
}


.hero-content {
    max-width: 800px;
}


.hero-eyebrow {

    display: block;

    margin-bottom: 20px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 4px;
}


.hero-component h1 {

    margin: 0 0 15px;

    font-family: var(--font-heading);

    font-size: clamp(55px, 9vw, 110px);

    font-weight: 400;

    line-height: 0.95;
}


.hero-component p {

    margin: 0 0 30px;

    font-size: 20px;
}


.hero-button {

    display: inline-flex;

    padding: 13px 30px;

    background: var(--primary);

    color: white;

    border-radius: var(--radius);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 1px;

    transition: 0.2s ease;
}


.hero-button:hover {

    transform: translateY(-2px);

    opacity: 0.9;
}

/* ========================================
   STORY
======================================== */

/* ========================================
   CONTENT — OUR STORY
======================================== */

.story-section {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    min-height: 600px;

    background: var(--surface);

}


/* ========================================
   IMAGE
======================================== */

.story-image {

    min-height: 600px;

    overflow: hidden;

}


.story-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.story-image:hover img {

    transform: scale(1.03);

}


/* ========================================
   CONTENT
======================================== */

.story-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    padding: 80px;

}


.story-eyebrow {

    margin-bottom: 20px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.story-content h2 {

    max-width: 520px;

    margin: 0 0 25px;

    font-family: var(--font-heading);

    font-size: clamp(
        42px,
        5vw,
        70px
    );

    font-weight: 400;

    line-height: 1.05;

}


.story-content p {

    max-width: 520px;

    margin: 0 0 18px;

    color: var(--text-muted);

    font-size: 16px;

    line-height: 1.8;

}


.story-link {

    margin-top: 15px;

    padding-bottom: 5px;

    border-bottom:
        1px solid var(--primary);

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

    .story-section {

        grid-template-columns: 1fr;

    }


    .story-image {

        min-height: 450px;

    }


    .story-content {

        padding: 60px 30px;

    }

}

/* ========================================
   DETAILS
======================================== */


/* ========================================
   TIMELINE
======================================== */

/* ========================================
   CONTENT — WEDDING TIMELINE
======================================== */

.timeline-section {

    padding: 110px 40px;

    background: var(--surface);

}


/* ========================================
   HEADING
======================================== */

.timeline-heading {

    max-width: 650px;

    margin: 0 auto 80px;

    text-align: center;

}


.timeline-eyebrow {

    display: block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.timeline-heading h2 {

    margin: 0 0 18px;

    font-family: var(--font-heading);

    font-size: clamp(
        42px,
        5vw,
        65px
    );

    font-weight: 400;

    line-height: 1;

}


.timeline-heading p {

    margin: 0;

    color: var(--text-muted);

    font-size: 16px;

}


/* ========================================
   TIMELINE
======================================== */

.timeline-list {

    max-width: 900px;

    margin: 0 auto;

}


.timeline-item {

    display: grid;

    grid-template-columns:
        110px
        50px
        1fr;

    gap: 25px;

    min-height: 120px;

}


/* ========================================
   TIME
======================================== */

.timeline-time {

    padding-top: 3px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-align: right;

}


/* ========================================
   LINE
======================================== */

.timeline-line {

    position: relative;

    display: flex;

    justify-content: center;

}


.timeline-line::before {

    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--secondary);

}


.timeline-item:last-child
.timeline-line::before {

    bottom: 50%;

}


.timeline-line span {

    position: relative;

    z-index: 2;

    width: 12px;
    height: 12px;

    margin-top: 3px;

    border:
        2px solid var(--primary);

    border-radius: 50%;

    background: var(--surface);

}


/* ========================================
   CONTENT
======================================== */

.timeline-content {

    padding-bottom: 45px;

}


.timeline-content h3 {

    margin: 0 0 8px;

    font-family: var(--font-heading);

    font-size: 30px;

    font-weight: 400;

}


.timeline-content p {

    max-width: 500px;

    margin: 0;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.7;

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .timeline-section {

        padding: 80px 25px;

    }


    .timeline-heading {

        margin-bottom: 60px;

    }


    .timeline-item {

        grid-template-columns:
            70px
            35px
            1fr;

        gap: 15px;

    }


    .timeline-time {

        font-size: 10px;

    }


    .timeline-content h3 {

        font-size: 25px;

    }

}

/* ========================================
   GALLERY
======================================== */


/* ========================================
   RSVP
======================================== */


/* ========================================
   FOOTER
======================================== */
/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 70px 20px;
    background: var(--text);
    color: #FFFFFF;
    text-align: center;
}


.site-footer h2 {
    margin-bottom: 10px;
    color: #FFFFFF;
    font-size: 36px;
}


.site-footer p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.75);
}


.site-footer span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}


/* ========================================
   GLOBAL MOBILE SAFETY
======================================== */

@media (max-width: 700px) {

    h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    h2 {
        font-size: clamp(32px, 9vw, 44px);
    }

    h3 {
        font-size: 26px;
    }

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

}


body {
    outline: 10px solid red !important;
}