/* Global Resets & Typography */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

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

body {
    font-family: var(--font-body);
    background-color: var(--color-limestone);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Decoration */
.corner-decoration::before,
.corner-decoration::after {
    content: "";
    position: absolute;
    /* Static to page content, scrolls with page */
    top: 90px;
    /* Offset to clear header */
    width: 400px;
    /* Larger size */
    height: 400px;
    background-image: url('../assets/images/flowers_transparent.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 50;
    pointer-events: none;
    opacity: 0.9;
}

.corner-decoration::before {
    left: 0;
}

.corner-decoration::after {
    right: 0;
    transform: scaleX(-1);
}

/* Bottom Decoration Container */
.decoration-bottom-container {
    position: relative;
    width: 100%;
    margin-top: auto;
    overflow: hidden;
    height: 0;
}

/* Bottom decorations positioned AFTER position: absolute/fixed to force it to document flow */
main {
    position: relative;
    /* Container for absolute decorations */
}

/* Bottom decorations positioned inside main, at the bottom */
.bottom-decorations {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 50;
    /* Same as top decorations to overlap content */
    pointer-events: none;
    overflow: hidden;
    background-color: transparent;
}

.bottom-decorations::before,
.bottom-decorations::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 400px;
    height: 400px;
    background-image: url('../assets/images/flowers_transparent.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.bottom-decorations::before {
    left: 0;
    transform: scaleY(-1);
    /* Mirror vertically */
}

.bottom-decorations::after {
    right: 0;
    transform: scale(-1);
    /* Mirror both */
}





/* Ensure body and main work together for positioning */
body {
    position: relative;
    min-height: 100vh;
}

main {
    position: relative;
    z-index: 10;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-sea-blue);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-sea-blue);
    color: var(--color-white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-sea-blue);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-sea-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-sea-blue);
    border-color: var(--color-sea-blue);
}

.btn-secondary:hover {
    background-color: var(--color-sea-blue);
    color: var(--color-white);
}

.btn-solid:hover {
    background-color: var(--color-sea-blue);
    color: var(--color-white);
    opacity: 0.9;
}

/* Header & Nav */
header {
    background-color: var(--color-white);
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-sea-blue);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-sea-blue);
}

.nav-links a:hover {
    color: var(--color-sunset-gold);
}

/* Footer */
footer {
    background-color: var(--color-white);
    color: var(--color-sea-blue);
    padding: var(--spacing-lg) 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    /* Added shadow for separation from white body if needed, similar to header */
}

footer h2 {
    color: var(--color-sea-blue);
}