
/* ===== Global Styles ===== */

:root {
	--primary: #2c3e50;
	--secondary: #34495e;
	--accent: #f39c12;
	--light: #ecf0f1;
	--dark: #2c3e50;
	--font-main: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

html, body {
	height: 100%; /* Ensures the body takes up the full viewport height */
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-main);
	margin: 0;
	padding: 0;
	color: var(--dark);
	background-color: var(--light);
	line-height: 1.6;
	display: flex;
	flex-direction: column; /* Stacks children vertically */
	min-height: 100vh; /* Ensures body is at least the height of the viewport */
}

/* ===== Header Styles ===== */
/* Full Hero Header (Homepage) */		
header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1.3rem 1rem;
	background-color: var(--primary);
	color: var(--light);
}

.hero-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem; /* Space between image and text */
	flex-wrap: wrap; /* Wrap on mobile */
}

.hero-image {
	width: 135px;
	height: 135px;
	border-radius: 50%;
	border: 1px solid var(--accent);
	object-fit: cover;
}

.hero-text {
	text-align: left;
}

.hero-text h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 300;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
    font-weight: 300;
}

/* Simplified Header (Subpages) */
.subpage-header {
    padding: 1rem 0.5rem;
    background-color: var(--primary);
    color: var(--light);
    text-align: center;
}

.subpage-header h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 300;
}

.subpage-header p {
    font-size: 1rem;
    margin: 0.5rem 0 0;
    font-weight: 300;
}

/* ===== Navigation ===== */
nav {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 1rem 0; /* Added vertical padding */
	position: relative;
	background-color: var(--secondary);
}

.nav-links {
	display: flex;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 2rem; /* Controls space between all list items */
}

.nav-links li {
	margin: 0; /* Remove individual margins */
}

.nav-links a {
	color: var(--light);
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 0; /*Vertical padding only (optional */
    display: inline; /* Default for <a> tags */
}

.nav-links a:hover {
	text-decoration: underline;
}

/* Hamburger Menu Button */
.hamburger {
	display: none; /* Hidden by default on desktop */
	background: none;
	border: none;
	color: var(--light);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 1rem;
}

/* Mobile-specific navigation adjustments */
@media (max-width: 768px) {	
	.hamburger {
		display: block; /* Show hamburger on mobile */
	}
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%; /* Positions dropdown below the nav bar */
		left: 0;
		width: 100%;
		background-color: var(--secondary);
		padding: 1rem 0;
		margin: 0;
		z-index: 1000; /* Ensures dropdown appears above other content */
	}

	.nav-links.active {
		display: flex; /* Show links when menu is active */
	}

	.nav-links li {
		text-align: center;
	}
}

/* ===== Main Content ===== */
main {
	flex: 1; /* Allows main content to grow and push footer to the bottom */
}

/* New container for main content to adjust for flex container, resetting width */
.main-content {
	max-width: 800px;
	margin: 2rem auto;
	padding: 0 1rem;
}

section {
	margin-bottom: 3rem;
}

h2 {
	font-size: 1.8rem;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 0.5rem;
	color: var(--primary);
	text-align: left;
}

p {
	text-align: left;
}

p a {
	color: var(--secondary);
}

/* ===== Calendar ===== */
.calendar-container {
	width: 100%;
	overflow: hidden;
	margin: 0 auto;
}

.calendar-tall {
	height: 750px !important; /* Overrides other height rules */
}

.calendar-iframe {
	width: 100%;
	height: 400px; /* Adjust as needed */
	border: none;
	border-radius: 4px;
}

@media (max-width: 768px) {
.calendar-iframe {
		height: 400px; /* Shorter height for mobile */
	}
}



/* ===== Footer ===== */
footer {
	text-align: center !important;
	padding: 2rem;
	background-color: var(--secondary);
	color: var(--light);
}

footer p {
	text-align: center;
}

/* ===== Contact Form ===== */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--light);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 500;
}

form input,
form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    color: var(--dark);
    font-family: var(--font-main);
	box-sizing: border-box; /* Critical for width + padding */
}

form textarea {
    height: 150px;
    resize: vertical;
}

form button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    color: var(--light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 500;
}

form button:hover {
    background-color: #1a252f;
}


/* ===== Music Page ===== */
.music-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto;
	padding: 1rem;
}

.album-section {
	flex: 1;
	min-width: 300px; /* Stacks on mobile */
}

.h3-YT-link {
		color: var(--secondary);
	}

.album-cover {
	width: 100%;
	max-width: 300px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s;
}

.album-cover:hover {
	transform: scale(1.02);
}

/* Streaming Links */
.streaming-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}

.streaming-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--accent);
	text-decoration: none;
	font-size: 1rem;
}

.streaming-link:hover {
	text-decoration: underline;
}

.streaming-icon {
	height: 30px; /* Adjust as needed */
	width: auto;
}

/* YouTube and Spotify Note */
.youtube-section {
	margin-top: 2rem;
	text-align: center;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.spotify-note {
	margin-top: 2rem;
	text-align: center;
	font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.music-container {
		flex-direction: column;
	}
}


/* ===== Bio Section (About Page) ===== */
.bio-container {
	display: flex;
	align-items: flex-start; /* Aligns items to the top */
	gap: 2rem; /* Space between image and text */
	max-width: 800px;
	margin: 0 auto;
}

.bio-image {
	width: 300px; /* Adjust as needed */
	height: auto;
	/* border-radius: 4px; Optional: Rounded corners */
	object-fit: cover; /* Ensures the image covers the area nicely */
	margin-top: 0.25rem;
}

.bio-text {
	flex: 1; /* Allows the text to take up remaining space */
}

.bio-text h2 {
	margin-top: 0; /* Removes top margin */
	padding-top: 0; /* Removes top padding */
	line-height: 1; /* Ensures no extra space from line height */
}

/* Mobile Layout: Text Above Image */
@media (max-width: 768px) {
	.bio-container {
		flex-direction: column-reverse; /* Stacks image and text vertically */
	}

	.bio-image {
		width: 100%; /* Full width on mobile */
		max-width: 400px; /* Optional: Limit width */
		margin: 0 auto; /* Center the image */
	}
}


/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
	/* Old 
	header h1 {
		font-size: 2rem;
	}
	
	header p {
		font-size: 1rem;
	}
	
	.hero-content {
		flex-direction: column;
		text-align: center;
	}
	nav {
		position: relative;
		
	}
	
	nav a {
		margin: 0.5rem 0;
	} */
	
	/* New */
	header {
        padding: 2rem 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 1rem;
    }

    .hero-text {
        text-align: center;
    }

    nav {
        flex-direction: column;
    }
}
