/*
Author: Fatima Bouzid
Date: 11/7/2025
File Name: styles.css
*/

/* CSS Reset */
body, header, nav, main, footer, div, img {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Style rules for body and images */
body {
	background-color: #F4F5F0;
}

img {
  max-width: 100%;
  display: block;
}

/* Style rule for box sizing applies to all elements */
*{
	box-sizing: border-box;
}

/* Style rules for mobile viewport */
/* Style rule for header */
header {
	top: 0;
	background-color: #F4F5F0;
	height: 140px;
}

header img {
	margin: 0 auto;
	display: block;
	max-width: 180px;
	height: auto;
}

/* Style for rules for navigation area */
nav {
	padding: 1%;
	margin-bottom: 1.5em;
}

nav ul {
	list-style-type: none;
	text-align: center;
	padding: 0;
}

nav li {
	font-size: 1.2em;
	font-family: "Cinzel", serif;
	border-top: 1px solid #575E56;
}

nav li:first-child {
	border-top: none;
}

nav li a {
	display: block;
	color: #575E56;
	padding: 0.4em 0.8em;
	text-decoration: none;
}
/*might remove if it doesnt do anything*/

/*Show mobile class, hide tablet-desktop class*/
.mobile {
	display: block;
}

.tablet-desktop {
	display: none;
}

/* Style rules for main content */
main {
	background-color: #606960;
	padding: 2%;
	font-size: 1.15em;
	font-family: "Josefin Slab", serif;
	color:  #F4F5F0;
	margin: 0 auto;
	text-align: center;
}

.mobile h2 {
	font-weight: bold;
}

/* Style rules for footer content */
footer p {
	font-size: 0.85em;
	text-align: center;
	color: #575E56;
	padding: 0 1em;
}

footer p a {
	color: #575E56;
	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;
	}

	.mobile {
		display: none;
	}
	
	/* Main area tweaks for full hero page */
	main {
		padding: 0;
		background-color: #606960;
    }
	
	
	/* Hero section */
	#hero {
	  position: relative;      /* allows text to be positioned over image */
	  width: 100%;
	  height: 400px;           /* adjust based on your image proportions */
	  overflow: hidden;
	  margin: 0;
	}

	#hero img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;       /* makes sure the image fills without stretching */
	  display: block;
	}

	/* Hero slogan text overlay */
	.hero-text {
	  position: absolute;      /* positions the text over the image */
	  top: 50%;                /* vertically centers it */
	  left: 50%;               /* horizontally centers it */
	  transform: translate(-50%, -50%); /* perfect centering trick */
	  color: #F4F5F0;          /* your cream white color */
	  font-family: "Cinzel", serif;
	  font-size: 2em;
	  text-align: center;
	  background-color: rgba(87, 94, 86, 0.6); /* translucent backdrop for contrast */
	  padding: 0.5em 1em;
	  border-radius: 10px;
	}
	
	/* Tablet Viewport: Style rules for nav area */	
	
	nav {
		margin-bottom: 0;
	}	
  
    nav li {
		border-top: none;
		display: inline-block;
		border-right: 1px solid #e5e9fc;
		font-size: 1.2em;
	}
	
}	

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1026px), print {
	/* Desktop Viewport: Style rule for header */

	
	nav li {
		border: none;
	}
	
	nav li a:hover {
		color: #F4F5F0;
		background-color: #70776F;
	}

    