:root {
    --heading_colour: rgb(245, 245, 245);
    --accent_pink: hotpink;
    --accent_blue: lightskyblue;
    --background_colour: rgb(10, 10, 10);
    --text_colour_light: rgb(245, 245, 245);
    --text_colour_dark: rgb(10, 10, 10);
    --text_hover_light: rgb(230, 230, 220);
    --text_hover_dark: rgb(30, 30, 30);
    --shadow_light: rgba(250, 250, 250, 0.5);
}

body {
    background-color: var(--background_colour);
}

.main_heading {
    font-family: "Alfa Slab One";
    font-size: 6em;
    color: var(--heading_colour);
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 0.1em;
}

.main_sub_heading {
    font-family: "Petit Formal Script";
    font-size: 2em;
    color: var(--heading_colour);
    text-align: center;
    font-style: italic;
    margin-top: 0em;
    margin-bottom: 2em;
}

.header {
    display: flex;
    justify-content: center; /* centers the content block */
    align-items: center;
    height: 300px; /* adjust as needed */
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem; /* space between logo and text */
}

.header_logo {
    width: 150px; /* size as needed */
    height: auto;
}

.header_text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* ===== Navigation ===== */

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--accent_pink);
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem;
}

.sticky-nav a {
    font-family: "Alfa Slab One";
    color: var(--text_colour_dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5em;
}

.sticky-nav a:hover {
    color: var(--text_hover_dark);
    text-decoration: underline;
    text-decoration-color: var(--accent_blue);
}

/* === Dropdown Menu === */
.dropdown {
    position: relative; /* needed for absolutely positioned submenu */
    display: inline-block;
}

.dropdown-content {
    display: none; /* hidden by default */
    position: absolute;
    top: 100%; /* directly below the parent */
    left: 0;
    background-color: var(--accent_pink);
    min-width: 200px;
    box-shadow: 0 4px 8px var(--shadow_light);
    border-radius: 6px;
    z-index: 1001;
}

.dropdown-content a {
    font-family: var(--font-sub-heading);
    color: var(--text_colour_dark);
    text-decoration: none;
    white-space: nowrap;
    display: block;
    padding: 0.75rem 1rem;
}

.dropdown-content a:hover {
    background-color: var(--accent_blue);
    color: var(--text_hover_dark);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero headers */
.section-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    /*margin-top: 10px; /* keeps it below the sticky nav */
    text-align: center;
    margin-bottom: 5rem;
}

.section-hero-image {
    width: 100%;
    height: 700px; /* adjust this value */
    object-fit: cover; /* keeps proportions, crops nicely */
    display: block;
}
.section-hero h1 {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--colour-text);
    padding: 0.5rem 1rem;
}
/* Titles */
.christmas_title {
    font-family: "Mountains of Christmas";
    font-size: 9em;
    color: var(--text_colour_light);
    position: absolute;
    top: 50%; /* center vertically */
    left: 50%; /* center horizontally */
    transform: translate(-50%, -80%); /* perfect centering */
}

.christmas_body {
    font-family: "Mountains of Christmas";
    color: var(--text_colour_light);
    font-size: 2em;
}

.peggie_title {
    font-family: "Sour Gummy";
    font-size: 6em;
    color: var(--text_colour_light);
    position: absolute;
    top: 50%; /* center vertically */
    left: 50%; /* center horizontally */
    transform: translate(-50%, -80%); /* perfect centering */
}

.peggie_subtitle {
    font-family: "Sour Gummy", sans-serif;
    font-size: 3em;
}
.peggie_body {
    color: var(--text_colour_light);
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1rem; /* 1rem gap on small screens */
}
.peggie_font {
    font-family: "Sour Gummy", sans-serif;
    font-size: 2em;
}

.playpeggie_inline {
    font-family: "Alfa Slab One";
    font-size: 0.8em;
    color: var(--text_colour_light);
    letter-spacing: 0.1em;
}

.shop_title {
    font-family: "Sour Gummy", sans-serif;
    font-size: 2.5em;
    font-weight: bolder;
    color: var(--text_colour_light);
    text-decoration-line: underline;
    text-decoration-color: var(--accent_pink);
}
.christmas_font {
    font-family: "Mountains of Christmas", cursive, sans-serif;
}
/* Image - text side by side */
.side-by-side {
    display: flex;
    align-items: center; /* vertically center content */
    gap: 2rem; /* space between image and text */
    padding: 2rem 0;
    padding: 2rem clamp(1rem, 30vw, 6rem);
}

.side-by-side img {
    width: 100%;
    max-width: 350px; /* control image width */
    height: auto;
    border-radius: 10px; /* optional */
}

.side-text {
    flex: 1; /* text takes remaining space */
}

.side-by-side.reverse {
    flex-direction: row-reverse;
}
.center_img {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    height: auto;
    padding: 4rem;
}
.full_img {
    display: block;
    margin: 0 auto;
    max-width: 800px;
    height: auto;
    padding: 4rem;
}
.shop_line {
    border-top: 3px solid var(--accent_blue);
}
@media (max-width: 800px) {
    .side-by-side {
        flex-direction: column;
        text-align: center;
    }

    .side-by-side.reverse {
        flex-direction: column; /* keep same order on mobile */
    }
}
