﻿/* ---------------------------------- */
/* --- MAIN CONTENT MARGINS       --- */
/* ---------------------------------- */
#content {
	margin-left: 10%;
	margin-right: 10%;
	max-width:1100px;
	padding:12px;
}
@media (max-width: 768px) {
	#content {
		margin-left: 2%;
		margin-right: 2%;
	}
}
/* -------------------------- */

/* -------------------------- */
/* GRID RESPONSIVE            */
/* -------------------------- */
.grid-responsive {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-left: 5%;
	margin-right: 5%;
}
@media (max-width: 900px) {
	.grid-responsive {
		grid-template-columns: repeat(3, 1fr);
	}
}
/* -------------------------- */

/* -------------------------- */
/* --- 2 COL GRID         --- */
/* -------------------------- */
.grid-2-div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
}
@media (max-width: 640px) {
  .grid-2-div { grid-template-columns: 1fr; }
}
/* -------------------------- */

.grid-1-div {
    grid-template-columns: 1fr;
    gap: 24px 20px;
}

.grid-1-card {
    break-inside: avoid;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    background: transparent;
}

/* -------------------------- */
/* */
/* -------------------------- */
.grid-2-article {
  break-inside: avoid;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  background: transparent;
}
/* -------------------------- */

/* -------------------------- */
/* --- HERO IMAGE /w FRAME--- */
/* -------------------------- */
.grid-2-image-hero {
  float: left;
  width: 125px;
  height: 175px;
  margin: 0 12px 6px 0;
  border-radius: 6px;
  object-fit: fill;
  border: 1px solid #101010; /* optional if you like the DVD frame */
}
@media (max-width: 640px) {
  .grid-2-image-hero { width: 90px; height: 130px; }
}
/* -------------------------- */

.title-link {
	text-decoration: underline;
	color: #0044cc;
	font-size: 1.05em;
	font-weight: 700;
}

.title-link:hover, .title-link:focus {
	text-decoration: underline;
}

/* -------------------------- */
/* --- NEW NAV BAR STYLES --- */
/* -------------------------- */
.navbar-vertical {
    display: flex;
    flex-direction: column;
	justify-content: center;
	padding: 1px 0;
	margin-bottom: 2px;
	background: transparent;
	border: none;
	box-shadow: none;
}

.nav-button-vertical {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	font-size: 1.1em;
	padding: 0px 1px;  /*TOP-BOTTOM   LEFT-RIGHT*/
	margin: 4px 12px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
	white-space: nowrap;
	background: linear-gradient(to bottom, #f2f2f2, #cccccc, #b3b3b3);
	border: 1px solid #aaa;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); /* Raised appearance */
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.nav-button-vertical-inactive {
	text-decoration: none;
	color: gray;
	font-size: 1.1em;
	padding: 0px 1px;  /*TOP-BOTTOM   LEFT-RIGHT*/
	margin: 4px 12px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
	white-space: nowrap;
	background: linear-gradient(to bottom, #f2f2f2, #cccccc, #b3b3b3);
	border: 1px solid #aaa;
	box-shadow: 0 2px 3px rgba(4, 255, 4, 1); /* Raised appearance */
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.2);
    pointer-events: none; /* Prevents clicks */
    cursor: default; /* Non-clickable cursor */
}

.navbar {
	display: flex;
	justify-content: center;
	padding: 1px 0;
	margin-bottom: 2px;
	background: transparent;
	border: none;
	box-shadow: none;
}

/* Default state: Light shadow, clickable */
.nav-button {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	font-size: 1.1em;
	padding: 0px 1px;  /*TOP-BOTTOM   LEFT-RIGHT*/
	margin: -5px 12px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
	white-space: nowrap;
	background: linear-gradient(to bottom, #f2f2f2, #cccccc, #b3b3b3);
	border: 1px solid #aaa;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); /* Raised appearance */
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.nav-button2 {
	text-decoration: none;
	color: #333;
	font-size: 1.1em;
	padding: 0px 1px;  /*TOP-BOTTOM   LEFT-RIGHT*/
	margin: 0px 12px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
	white-space: nowrap;
	background: linear-gradient(to bottom, #f2f2f2, #cccccc, #b3b3b3);
	border: 1px solid #aaa;
	box-shadow: 0 2px 3px rgba(0, 0, .0, 0.1); /* Raised appearance */
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.move-to-bottom {
	text-decoration: none;
	color: #333;
	font-size: 1.1em;
	padding: 0px 1px;  /*TOP-BOTTOM   LEFT-RIGHT*/
	margin: 0px 12px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
	white-space: nowrap;
	background: linear-gradient(to bottom, #f2f2f2, #cccccc, #b3b3b3);
	border: 1px solid #aaa;
	box-shadow: 0 2px 3px rgba(0, 0, .0, 0.1); /* Raised appearance */
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Active Page Indicator: Sunken, unclickable, and highlighted */
.nav-button-inactive {
	text-decoration: none;
	color: gray;
    font-size: 1.1em;
	padding: 0px 1px;  /*TOP-BOTTOM   LEFT-RIGHT*/
	margin: -5px 12px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
	white-space: nowrap;
	background: linear-gradient(to bottom, #f2f2f2, #cccccc, #b3b3b3);
	border: 1px solid #aaa;
	box-shadow: 0 2px 3px rgba(4, 255, 4, 1); /* Raised appearance */
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.2);
    pointer-events: none; /* Prevents clicks */
    cursor: default; /* Non-clickable cursor */
}

.nav-button:hover, .nav-button2:hover , .move-to-bottom:hover {
	background: #7B4A6A;
	color: white;
	box-shadow: none;
	text-shadow: none;
}
/* ------------------------------ */
/* --- END NEW NAV BAR STYLES --- */
/* ------------------------------ */

/* ------------------------------ */
/* ---                         ---*/
/* ------------------------------ */
.profile-header {
	width: 100%;
	background-color: #33211c;
	color: white;
	padding-top: 50px;
	padding-bottom: 5px;
	position: relative;
	overflow: hidden;
	background-image: url('/data/images/background_01.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.background-images {
	display: flex;
	justify-content: flex-start;
	gap: 5px;
	padding: 10px 0 0 10px;
	position: relative;
	z-index: 1;
}

.background-image-item {
	width: 100px;
	height: 70px;
	background-color: #555;
	border: 1px solid #777;
	background-size: cover;
	background-position: center;
}

.main-content {
	display: flex;
	align-items: flex-end;
	margin-top: -35px;
	position: relative;
	z-index: 2;
}

.banner-container {
	display: flex;
	max-width: 1200px;
	width: 100%;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	justify-content: center;
	align-items: flex-start;
	gap: 15px;
	/* Add spacing between the main-title and secondary-text */
}

.main-title {
	font-family: 'Times New Roman', serif;
	font-weight: 700;
	line-height: 1.1;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
	color: #000;
	padding-right: 0px;
	white-space: nowrap;
	flex-shrink: 0;
	margin-top: 0px;
	margin-bottom: 0px;
	/* FIX: REMOVE THE MANUAL MARGINS THAT PREVENTED CENTERING */
	margin-left: 0;
	/* Was 20px, remove to allow true centering */
	margin-right: 0;
	/* Was 10px, remove to allow true centering */
}

.secondary-text {
	margin-bottom: 0;
	line-height: 1.2;
	padding-top: 5px;
	padding-left: 10px;
	border-left: 2px solid #ccc;
	margin-left: 0px;
}

.about-text {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	padding: 1px;
}

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

.secondary-text .dvd-text {
	font-size: 0.9em;
	font-weight: bold;
	color: #000;
	margin: 0;
	text-transform: none;
}

.secondary-text .artist-teacher {
	font-size: 0.7em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #666;
	margin-top: 2px;
	text-transform: none;
}

.button-container {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 15px;
}

.button-container-lessons {
	margin-top: auto;
	margin-bottom: 15px;
}

.video-link-button {
	display: inline-block;
	padding: 15px 30px;
	font-size: 1.5em;
	font-weight: bold;
	color: white;
	background-color: #7B4A6A;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.1s;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-link-button:hover {
	background-color: #aa0000;
	transform: translateY(-2px);
}

.video-link-button:active {
	transform: translateY(0);
}

.video-meta {
    margin-top: 2px;
    color: #555;
    font-size: 0.70em;
    display: flex;
    gap: 2px;
    align-items: center;
}

.video-meta svg {
    margin-left: 5px;
    margin-right: 0px;
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    .video-meta {
        font-size: 0.62em;
    }
    .video-meta svg {
        width: 13px;
        height: 13px;
        margin-bottom: 3px;
    }
}

@media (max-width: 400px) {
    .video-meta {
        font-size: 0.58em;
    }
    .video-meta svg {
        width: 12px;
        height: 12px;
    }
}


.testing {
	width: auto;
	height: 80px;
	cursor: pointer;
}

/* ---------------------------------- */
/* --- NEW IMAGE STYLES (MODIFIED for 64px size and centering) --- */
/* ---------------------------------- */
.artist-dates {
	display: inline-flex;
	/* Use flex to align text and image */
	align-items: center;
	/* Vertically center the items */
}

.date-text {
	font-size: 1.2em;
}

.artist-dates img {
	height: 64px;
	/* Explicitly set the size */
	width: 64px;
	/* Explicitly set the size */
	margin-left: 8px;
	/* Space between text and image */
}

/* ---------------------------------- */
/* --- END NEW IMAGE STYLES --- */
/* ---------------------------------- */

/* ---------------------------------- */
/* --- Video Grid Styles (Retained) --- */
/* ---------------------------------- */
.video-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.video-item {
    /* 1. Make the video card a flex container, stacked vertically */
    display: flex;
    flex-direction: column;
    /* Other existing .video-item styles (like border, padding, etc.) remain */
}

.video-item_OUT {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s;
}

.video-item:hover {
	transform: translateY(-5px);
}

.video-thumbnail {
	width: 100%;
	padding-top: 56.25%;
	position: relative;
}

.video-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-info {
    /* 2. Tell the video info section to take up all available vertical space */
    flex-grow: 1;
    display: flex; /* Make video-info a flex container too */
    flex-direction: column; /* Stack its contents vertically */
    /* Other existing .video-info styles remain */
}

.video-info_OUT {
	padding: 15px;
}

.video-info h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.1em;
	color: #333;
}

.video-info p {
	font-size: 0.9em;
	color: #666;
	line-height: 1.4;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.video-info a {
	display: inline-block;
	margin-top: 10px;
	color: #cc0000;
	text-decoration: none;
	font-weight: bold;
}

.video-info a:hover {
	text-decoration: underline;
}

#loading-message {
	text-align: center;
	padding: 50px;
	font-size: 1.2em;
	color: #999;
}

.profile-picture {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 5px solid white;
	background-color: #ccc;
	margin-left: 35px;
	margin-top: 15px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	background-size: cover;
	background-position: center;
	background-image: url('/data/images/helen.png');
}

hr {
	width: 100%;
	border: 0;
	height: 2px;
	background-color: #ccc;
}

body {
	font-family: Arial, sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-color: #f4f4f4;
	color: #333;
}

/* -------------------------- */
/* GLOBAL VALUES              */
/* -------------------------- */
header {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 0px;
	border-bottom: 0px;
	margin-bottom: 0px;
	display: flex;
	justify-content: center;
	/* KEEP: Centers the banner-container horizontally */
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
}

/* -------------------------- */
/* GLOBAL VALUES              */
/* -------------------------- */

/* ------------------------------------ */
/* --- NEW VIDEO OVERLAY STYLES     --- */
/* ------------------------------------ */
#videoContainer iframe {
	width: 320px;
	/* Matches the width in your loadYouTubePlayer() function */
	height: 180px;
	/* Matches the height in your loadYouTubePlayer() function */
	display: block;
	/* Removes any default space below the iframe */
	border: 4px solid black;
}

/* ------------------------------------ */
/* --- END NEW VIDEO OVERLAY STYLES --- */
/* ------------------------------------ */

/* ------------------------------------ */
/* --- VIDEO INDEX                  --- */
/* ------------------------------------ */

.video-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}


.video-card {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 10px;
	background: transparent;
}

.video-thumb {
	width: 100px;
	height: 140px;
	object-fit: fill;
	border-radius: 6px;
	border: 1px solid #000000;
	display: block;
	margin: 0 auto 8px auto;
}

.video-caption {
	font-size: 0.95em;
	line-height: 1.3;
	text-align: center;
}

.video-caption .title {
	font-weight: bold;
	display: block;
}

.video-link {
	text-decoration: none;
	color: inherit;
}

/* ------------------------------------ */
/* --- VIDEO INDEX                  --- */
/* ------------------------------------ */


/* ====================================================== */
/* ============= RESPONSIVE MEDIA QUERIES =============== */
/* ====================================================== */

/* -------------------------------------------- */
/* --- 768px: Tablets and large mobile view --- */
/* -------------------------------------------- */
@media (max-width: 768px) {

	/* Navbar */
	.navbar {
		flex-wrap: nowrap;
		padding: 1px 5px;
		margin-bottom: 1px;
	}

	.nav-button {
		/* TB LR */
		padding: 0px 1px;
		font-size: 0.81em;
		margin: -5px 2px;
		/* VERTICAL HORIZONTAL */
	}

	.nav-button-vertical {
		/* TB LR */
		padding: 0px 1px;
		font-size: 0.81em;
		margin: 2px 2px;
		/* VERTICAL HORIZONTAL */
	}

	.nav-button-vertical-inactive {
		/* TB LR */
		padding: 0px 1px;
		font-size: 0.81em;
		margin: 2px 2px;
		/* VERTICAL HORIZONTAL */
	}

	.nav-button2 {
		/* TB LR */
		padding: 0px 1px;
		font-size: 0.81em;
		margin: 0px 2px;
		/* VERTICAL HORIZONTAL */
	}

	.nav-button-inactive {
		/* TB LR */
		padding: 0px 1px;
		font-size: 0.81em;
		margin: -5px 2px;
		/* VERTICAL HORIZONTAL */
	}

	/* Layout and typography */
	.banner-container {
		flex-direction: column;
		align-items: center;
		padding: 0;
	}

	.main-title {
		font-size: 8vw;
		padding-right: 0;
		text-align: center;
		margin-bottom: -20px;
		white-space: normal;
	}

	.secondary-text {
		border-left: none;
		padding-left: 0;
		margin-left: 0;
		margin-bottom: -10px;
	}

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

	header {
		padding-top: 10px;
		padding-bottom: 0px;
	}

	body {
		margin: 0;
	}

	.about-text {
		width: 90%;
		font-size: 3.5vw;
	}

	/* Buttons */
	.button-container {
		text-align: center;
		margin-top: 0px;
		margin-bottom: 15px;
	}

	/* Buttons */
	.button-container-lessons {
		margin-top: auto;
		margin-bottom: 15px;
	}

	.video-link-button {
		/* Override only what differs on mobile */
		font-size: 1.3em;
		padding: 15px 30px;
	}

	.video-link-button:hover {
		background-color: #aa0000;
		transform: translateY(-2px);
	}

	.video-link-button:active {
		transform: translateY(0);
	}

	/* Video & misc */
	.video-container {
		padding: 20px;
	}

	.testing {
		width: auto;
		height: 40px;
		cursor: pointer;
	}
}


/* ======================= */
/* == indexVideoIndex   == */
/* ======================= */

/* ======================= */
@media (max-width: 640px) {
	.grid-responsive {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ======================= */
/* == indexVideoIndex   == */
/* ======================= */

/* ====================================================== */
/* ============= END RESPONSIVE MEDIA QUERIES =========== */
/* ====================================================== */

