/*
Theme Name: The Shuelkehans Wedding
Theme URI: https://theshuelkehans.com
Author: Levi Meahan
Description: Custom wedding theme for Jenny Schuelke and Levi Meahan.
Version: 1.0
Text Domain: shuelkehans
*/

:root {
    --navy: #192537; /* Darker navy from reference */
    --white: #FFFFFF;
    --gold-accent: #C5A059;
    --text-color: #FFFFFF;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;700&family=Montserrat:wght@300;400;500;600&display=swap');

body {
    background-color: var(--navy);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Global Link Styles for content */
.page-content a {
    color: var(--white);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.page-content a:visited,
.page-content a:hover,
.page-content a:active {
    color: var(--white);
    opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
header.container {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative; /* Establish positioning context */
}

/* Header Decoration Top */
.header-decoration-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Behind text if overlapping */
}

.deco-corner-left {
	position: absolute;
  	top: 25px;
  	left: calc(50% - 505px);
  	max-width: 285px;
}

.deco-corner-right {
    position: absolute;
    top: 25px;
    right: calc(50% - 505px);
    max-width: 285px;
}


header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.date-location {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.days-to-go {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

/* Navigation */
nav {
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 20px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover,
nav li.current-menu-item a {
    border-bottom: 1px solid var(--white);
}

/* Main Layout Grid */
.main-grid {
    display: block; /* We'll use the child .page-content as the grid if it exists, or the main-grid itself */
}

/* If content is raw (homepage), the immediate children might be the grid items, 
   but we'll also target the nested structure to be safe */
.main-grid,
.main-grid .page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Ensure the wrapper doesn't break the grid */
.main-grid .content-section {
    grid-column: span 2;
    display: contents; /* This makes the children of .content-section behave as direct children of the grid */
}

/* Left Column: Schedule */
.schedule-section h2 {
    font-size: 1.8rem;
    margin-top: 27px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.location-sub {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-item {
    margin-bottom: 40px;
    border-left: 2px solid rgba(255,255,255,0.1);
    padding-left: 20px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.event-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.event-time {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Floral Header Decoration (Placeholder) */
.floral-header {
    width: 100%;
    height: 100px;
    background-image: url('images/floral-top.png'); /* We will need to create this or use CSS shapes */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    margin-bottom: 20px;
}

/* Header Decoration */
.header-decoration {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    pointer-events: none; /* Let clicks pass through */
}

.header-decoration img {
    max-width: 45%; /* Ensure they don't overlap too much */
    height: auto;
    opacity: 0.9;
}

.deco-left {
    transform: translateY(-10px); /* Slight adjustment upwards if needed */
}

.deco-right {
    transform: translateY(-10px);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    header h1 {
        font-size: 2.5rem;
    }
    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
	
	.deco-corner-left {
		position: absolute;
		top: auto;
		bottom: 145px;
		left: 0px;
		max-width: 150px;
		transform: rotate(180deg);
	}
	.deco-corner-right {
		position: absolute;
		top: auto;
		bottom: 20px;
		right: 0px;
		max-width: 150px;
		transform: scaleX(-1);
	}
}