/* --- BASIC PAGE STYLING --- */
/* (Not part of the specific technique, but makes the page look right) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- THE NAVBAR --- */
.navbar {
    background-color: #fff; /* White background */
    color: #2e7d32; /* Green text */
    padding: 15px 0; /* Vertical padding */
    border-bottom: 2px solid #ccc; /* Optional border */
}

/* Flexbox puts logo on left, menu on right */
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo-small img {
    max-height: 40px; /* Small size for corner logo */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px; /* Space between links */
}

.nav-menu a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

/* --- THE HERO SECTION --- */
.hero-section {
    position: relative; 
    min-height: 100vh;
    display: flex;
    justify-content: center; /* Centers the stack vertically */
    align-items: center;    /* Centers the stack horizontally */
    text-align: center;
    overflow: hidden;
}

/* Background Blur Layer */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('images/0459-saint-patricks-day-2019-031619-jtp.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 1;
}

/* --- THE STACK CONTAINER --- */
.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column; /* This stacks children vertically */
    align-items: center;    /* Keeps everything centered */
    gap: 20px;              /* THE MAGIC: This creates the perfect space between logo and text */
}

/* THE LOGO */
.hero-logo {
    width: 90%;
    max-width: 400px; /* Adjust size as needed */
    height: auto;
    /* Notice: No absolute positioning or transforms needed anymore! */
}

/* --- TEXT STYLING --- */
.content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.content-green {
    text-align: left;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    background: green;
}

/* THE BUTTON */
.btn-main {
    padding: 15px 30px;
    background-color: #ffca28;
    color: #1a1a1a;
    border: none;
    border-radius: 50px; /* Rounded pill shape */
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-main:hover {
    transform: scale(1.05); /* Slight "pop" on hover */
    background-color: #ffd54f;
}