/* =========================================
   ETERNAL ELEGANCE WEDDINGS
   GLOBAL DESIGN FOUNDATION
========================================= */


/* =========================================
   1. GOOGLE FONT IMPORTS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');


/* =========================================
   2. ROOT VARIABLES
========================================= */

:root {

    /* Primary Brand Colours */

    --primary: #601D49;
    --secondary: #BD5579;
    --rose: #EA9D9D;
    --gold: #FFEBB8;


    /* Extended Colour Palette */

    --deep-plum: #401332;
    --wine: #792B59;
    --soft-rose: #F6CACA;
    --light-rose: #FBE5E2;
    --warm-cream: #FFF6E9;
    --blush-cream: #FCEDE7;
    --soft-gold: #E9C985;


    /* Text Colours */

    --text-dark: #35172D;
    --text-medium: #684457;
    --text-light: #FFF6EF;


    /* Background Colours */

    --bg-main: #FFF6E9;
    --bg-rose: #FBE5E2;
    --bg-plum: #601D49;
    --bg-light: #FFF0E8;


    /* Border and Shadow */

    --border-soft: rgba(96, 29, 73, 0.15);

    --shadow-soft:
        0 8px 25px rgba(64, 19, 50, 0.09);

    --shadow-medium:
        0 14px 35px rgba(64, 19, 50, 0.14);


    /* Typography */

    --font-heading: 'Cormorant Garamond', Georgia, serif;

    --font-body: 'DM Sans', Arial, sans-serif;


    /* Layout */

    --container-width: 1200px;

    --container-padding: 40px;


    /* Border Radius */

    --radius-small: 8px;

    --radius-medium: 16px;

    --radius-large: 24px;

    --radius-pill: 50px;


    /* Transitions */

    --transition: 0.3s ease;

}


/* =========================================
   3. UNIVERSAL RESET
========================================= */

*,
*::before,
*::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


/* =========================================
   4. HTML AND BODY
========================================= */

html {

    width: 100%;

    scroll-behavior: smooth;

    scroll-padding-top: 100px;

}


body {

    width: 100%;

    min-height: 100vh;

    font-family: var(--font-body);

    font-size: 15px;

    line-height: 1.7;

    color: var(--text-dark);

    background-color: var(--bg-main);

    overflow-x: clip;

    -webkit-font-smoothing: antialiased;

}


/* =========================================
   5. CONSISTENT WEBSITE CONTAINER
========================================= */

.container {

    width: calc(100% - var(--container-padding));

    max-width: var(--container-width);

    margin-left: auto;

    margin-right: auto;

}


/* =========================================
   6. GLOBAL TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: var(--font-heading);

    font-weight: 600;

    line-height: 1.2;

    color: var(--primary);

}


p {

    margin-bottom: 0;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea,
select {

    font: inherit;

}


button {

    cursor: pointer;

}


/* =========================================
   7. IMAGE AND MEDIA RULES
========================================= */

img,
picture,
video,
iframe {

    max-width: 100%;

}


img {

    display: block;

    height: auto;

}


/* =========================================
   8. LIST RESET
========================================= */

ul,
ol {

    list-style: none;

}


/* =========================================
   9. ACCESSIBILITY
========================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline: 2px solid var(--secondary);

    outline-offset: 4px;

}


::selection {

    color: var(--text-light);

    background-color: var(--primary);

}


/* =========================================
   10. RESPONSIVE CONTAINER ADJUSTMENTS
========================================= */

@media (max-width: 768px) {

    :root {

        --container-padding: 32px;

    }

}


@media (max-width: 480px) {

    :root {

        --container-padding: 28px;

    }

}