
/*
    Webpage Author:Arya Jadhav
    File Name:styles.css
    Date: 04/30/2026
*/

/* CSS Reset */
*{
	margin: 0;
	padding: 0;
	border: 0;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Style rule for box sizing applies to all elements */
*{
	box-sizing: border-box;
}

header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.mobile-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	background: #D35400;
	padding: 1rem;
	box-shadow: 0 0.15rem 0.4rem rgba(0,0,0,0.08);
}

.mobile-header h2 {
	color: white;
	margin: 0;
	font-size: 1.8rem;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-align: center;
}

/* Style rules for hamburger menu */
.mobile-nav {
	position: relative;
}

.menu-icon {
	font-size: 2rem;
	cursor: pointer;
	color: white;
	background: none;
}

/* Show mobile class, hide tablet-desktop class and add menu-links id */
.mobile{
	display: block;
}

.tablet-desktop{
	display: none;
}

.card {
  display: none;
}


.values-list {
	border-left: 0.25em solid #D35400;
	gap: 1rem;
}

.values-list li{
	list-style-type: none;
	margin: 1rem;
}

#menu-links {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: white;
	z-index: 1000;
}

#menu-links a {
	display: block;
	padding: 3%;
	text-align: center;
	font-size: 1rem;
	color: #000;
	border-bottom: 1px solid #ddd;
	text-decoration: none;
}

#menu-links.show {
  display: block;
}


#menu-links .donate-btn {
  background: #D35400;
  font-size: 1.15rem;
  color: white;
  padding: 8px 16px;
}

img{
	max-width: 100%;
	display: block;
	border-radius: 1em;
}
	
.action{
	font-size: 1.15em;
	color: #666600;
	font-weight: bold;
}

.member-img img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
  margin: 30px 0 0 0;
}

.bio h3 {
	padding: 10% 0 3%;
}

.bio h4{
	padding: 1% 0 7%;
}

.hero {
  height: 20rem;
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  border-radius: 1em;
}

#hero-tag, #involved-tag, #about-tag{
	display: none;
}

main {
	background-color: #fff;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
  	padding: 20px;
  	margin-top: 20px;
  	font-size: 1.15em;
  	line-height: 1.5;
}

section {
  padding: 1rem;
}

.alt {
  background: #f4f4f4;
  border-radius: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #D35400;
  color: white;
  text-decoration: none;
  border-radius: 1rem;
}

.member {
  margin-top: 25px;
}

.member-img .space {
	margin: 40px 0 0 0;
}

.cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.alt-btn {
	background: #333;
}

.about-hero {
	position:relative;
	overflow: hidden;
	border-radius: 1rem;
	margin: 1.5rem auto;
	height: 13rem;
}

.about-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 35% center;
	display: block;
}

.involved-hero {
	height: 400px;
  	position: relative;
  	background: url('../images/hero-involved.jpg') center/cover no-repeat;
}

.image-credit {
	font-size: 0.75rem;
	color: #777;
	text-align: right;
	padding-right: 1rem;
}

.page-title {
  text-align: center;
  padding: 1rem 0;
}

.page-title h1 {
  font-size: 2.2rem;
  color: #333;
}

footer {
  text-align: center;
  padding: 20px;
  background: #eee;
}

footer p a{
	color: #333;
	text-decoration: none;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 630px), print{
	
	/* Tablet Viewport: show tablet-desktop class, hide mobile class */
	.tablet-desktop{
		display: block;
		background: #f5f5f5;
		padding: 0.75rem 1rem;
		border-radius: 1rem;
	}
	
	.mobile, .mobile-header .menu-icon, .mobile-nav{
		display: none;
	}
	
	.mobile-header h2{
		font-size: 1.8rem;
		line-height: 1.2;
	}
	
	body p{
		line-height: 1.6;
	}
	
	section, .alt {
		padding: 2rem;
	}
	
	section h2 {
		padding-bottom: 1rem;
	}
		
	header nav {
  		display: flex;
  		gap: 1.5rem;
  		align-items: center;
	}
	
	header h2{
		font-size: 1.5em;
	}
	.mobile-header h2 {
		font-size: 1.8rem;
		text-align: center;
	}

	nav ul{
		display: flex;
		justify-content: center;
		gap: 1.5rem;
		list-style-type: none;
	}

	nav li{
		font-size: 1em;
		font-family: 'Francois One', sans-serif;
		display: inline-block;
		border-right: 1px solid #fff;
	}
	
	nav li:last-child{
		border-right: none;
	}
	
	nav li a{
		padding: 0.4em 0.9em;
		margin-left: 1rem;
		color: #000;
		border-radius: 1rem;
		text-decoration: none;
	}
	
	.donate-btn {
  		color: #D35400;
  		background: #ddd;
  		padding: 0.4em 1em;
  		border-radius: 1rem;
  		font-size: 1em;
	}
	
	.card {
		display: flex;
		gap: 1.5rem;
		align-items: flex-start;
  		border: 1px solid white;
  		border-radius: 1rem;
  		padding: 15px;
  		transition: transform 0.3s ease, box-shadow 0.3s ease;
	}

	.card:hover {
  		transform: translateY(-10px);
  		box-shadow: 0 5px 20px rgb(255, 181, 132);
	}

	.container{
		display: grid;
		grid-template-columns: auto auto auto;
		grid-gap: 20px;
		padding: 20px;
		margin: 0 0 0 10px;
	}
	.container li{
		font-size: 1.30em;
	}
	.page-title {
		font-size: 2.5rem;
	}
	#hero-tag{
		display: block;
		position: absolute;
		bottom: 1.25rem;
		right: 1.25rem;
		background: rgba(211,84,0,0.90);
		color: white;
		padding: 0.6rem 0.9rem;
		font-size: 0.95rem;
		border-radius: 1rem;
	}
	#about-tag{
		display: block;
		position: absolute;
		bottom: 2.5rem;
		right: 2.5rem;
		background: rgba(211,84,0,0.80);
		color: white;
		padding: 0.6rem 0.9rem;
		font-size: 0.95rem;
		border-radius: 1rem;
	}
	#involved-tag{
		display: block;
		position: absolute;
		bottom: 1rem;
		right: 1rem;
		background: rgba(211,84,0,0.70);
		color: white;
		padding: 0.6rem 0.9rem;
		font-size: 0.95rem;
		border-radius: 0.40rem;
	}
	
	.about-hero {
		height: 24rem;
	}
	
	.about-hero img {
		object-position: center center;
	}
	
	.bio {
  		display: grid;
  		grid-template-columns: 1fr;
  		gap: 3rem;
  		align-items: start;
	}
	.member {
		display: flex;
		gap: 2rem;
		align-items: flex-start;
	}
		
	.member-img {
 	 	flex: 1;
	}
	
	.member-img img{
  		max-width: 100%;
  		height: auto;
  		border-radius: 1rem;
	}

	
	.member:nth-child(even) {
		flex-direction: row-reverse;
	}
	.member-text {
  		max-width: 45ch;
  		padding: 1.7rem 0;
  		flex: 2;
  		}
  	.member-text .tablet-desktop {
  		background: none;
  	}
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1015px), print{ /*961px*/
	nav a {
  		margin-left: 20px;
  		text-decoration: none;
  		color: #333;
	}
	
	nav li{
		font-size: 1.5em;
	}
	
	nav li a{
		padding: 0.5em 1em;
	}
	
	nav li a:hover{
		color: #000;
		background-color: none;
		transform: scale(1.0);
		border: 0.12em solid #D35400;
		border-radius: 1em;
	}

	main{
		width:100%;
		max-width: 60rem;
		margin: 0 auto;
	}
	
	.about-hero {
		height: 28rem;
	}
	
	.page-title, .bio {
		max-width: 50rem;
		margin: 0 auto;
	}

	.member-text {
		justify-self: center;
  		align-self: center;
	}
	

}