/* RoughingIt Labs - Navigation Styles */

/* Header */
.header {
	position: sticky;
	top: 0;
	width: 100%;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-brown) 100%);
	transition: background 0.3s ease, box-shadow 0.3s ease;
	z-index: 1000;
	margin: 0;
	padding: 0;
}

.header.scrolled {
	background: rgba(47, 27, 20, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	position: relative;
}

.nav-brand .logo {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	font-weight: 900;
	color: var(--accent-color);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 0.2rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand:hover .logo {
	transform: scale(1.05);
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.nav-brand .tagline {
	font-size: 0.9rem;
	color: var(--cream);
	font-style: italic;
	opacity: 0.9;
}

/* Hamburger Menu */
.hamburger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 2rem;
	height: 2rem;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10;
	transition: all 0.3s ease;
}

.hamburger-line {
	width: 2rem;
	height: 0.25rem;
	background: var(--accent-color);
	border-radius: 10px;
	transition: all 0.3s ease;
	transform-origin: 1px;
}

.hamburger-menu:hover .hamburger-line {
	background: var(--cream);
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg);
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 3rem;
	align-items: center;
}

.nav-links a {
	color: var(--cream);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius);
	position: relative;
	overflow: hidden;
}

.nav-links a::before {
	content: none;
}

.nav-links a {
	background: none !important;
	filter: none !important;
}

.nav-links a:hover {
	background-color: rgba(218, 165, 32, 0.2);
	color: var(--accent-color);
	transform: translateY(-2px);
}

.nav-links a:hover::before {
	left: 100%;
}

.nav-links a.active {
	color: var(--accent-color);
	font-weight: 700;
	position: relative;
	background: rgba(245, 245, 220, 0.18);
	border-radius: var(--border-radius);
	z-index: 10;
	padding-bottom: 0.5em;
}

.nav-links a.active::after {
	content: '';
	display: block;
	height: 3px;
	width: 60%;
	margin: 0.2em auto 0 auto;
	background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
	border-radius: 2px;
	position: absolute;
	left: 20%;
	bottom: 0;
	z-index: 11;
}

/* Footer */
.footer {
	background: linear-gradient(135deg, var(--dark-brown), var(--primary-color));
	color: var(--cream);
	padding: 4rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(218, 165, 32, 0.05) 30%, rgba(218, 165, 32, 0.05) 70%, transparent 70%);
	background-size: 20px 20px;
	pointer-events: none;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.footer-brand h4 {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-brand p a {
	color: var(--accent-color);
	text-decoration: none;
}

.footer-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.footer-links-section h5 {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--accent-color);
	margin-bottom: 1rem;
	border-bottom: 2px solid rgba(218, 165, 32, 0.3);
	padding-bottom: 0.5rem;
}

.footer-links-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links-section ul li + li {
	margin-top: 0.5rem;
}

.footer-links-section ul li a {
	color: var(--cream);
	text-decoration: none;
	transition: var(--transition);
}

.footer-links-section ul li a:hover {
	color: var(--accent-color);
	transform: translateX(5px);
}

.footer-bottom {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(218, 165, 32, 0.2);
}

.footer-newsletter-section {
	margin-bottom: 2rem;
}

.footer-newsletter-section p {
	margin-bottom: 1rem;
	font-weight: 600;
}

.footer-newsletter {
	display: flex;
	justify-content: center;
}

.newsletter-input-group {
	display: flex;
	gap: 1rem;
	max-width: 400px;
	width: 100%;
}

.footer-newsletter input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 2px solid rgba(218, 165, 32, 0.3);
	border-radius: var(--border-radius);
	background: rgba(255, 255, 255, 0.1);
	color: var(--cream);
	font-size: 1rem;
	min-width: 0;
}

.footer-newsletter input:focus {
	outline: none;
	border-color: var(--accent-color);
	background: rgba(255, 255, 255, 0.15);
}

.footer-newsletter input::placeholder {
	color: rgba(245, 245, 220, 0.7);
}

.footer-newsletter button {
	padding: 0.75rem 1.5rem;
	background: var(--accent-color);
	color: var(--dark-brown);
	border: none;
	border-radius: var(--border-radius);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
}

.footer-newsletter button:hover {
	background: var(--secondary-color);
	transform: translateY(-2px);
}

.footer-copyright {
	margin-top: 1rem;
	opacity: 0.8;
	font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	.nav {
		padding: 1rem 2rem;
	}
	
	.nav-brand .logo {
		font-size: 1.8rem;
	}
	
	.nav-brand .tagline {
		font-size: 0.8rem;
	}
	
	/* Show hamburger menu on mobile */
	.hamburger-menu {
		display: flex;
	}
	
	/* Hide nav links by default on mobile */
	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background: rgba(47, 27, 20, 0.98);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		transition: right 0.3s ease;
		z-index: 5;
	}
	
	/* Show nav links when menu is active */
	.nav-links.active {
		right: 0;
	}
	
	.nav-links a {
		font-size: 1.5rem;
		padding: 1rem 2rem;
		width: 100%;
		text-align: center;
		border-radius: 0;
	}
	
	.nav-links a:hover {
		background-color: rgba(218, 165, 32, 0.3);
		transform: none;
	}
	
	/* Footer mobile styles */
	.footer-top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.footer-links-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 1.5rem;
	}
	
	.footer-newsletter {
		flex-direction: column;
		align-items: center;
	}
	
	.newsletter-input-group {
		flex-direction: column;
		align-items: center;
		max-width: 300px;
	}
	
	.footer-newsletter input {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.nav {
		padding: 1rem;
	}
	
	.nav-brand .logo {
		font-size: 1.5rem;
	}
	
	.nav-brand .tagline {
		font-size: 0.7rem;
	}
	
	.nav-links a {
		font-size: 1.3rem;
		padding: 0.75rem 1rem;
	}
	
	.footer {
		padding: 2rem 0 1rem;
	}
	
	.footer-top {
		gap: 1.5rem;
	}
	
	.footer-links-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.footer-brand h4 {
		font-size: 1.5rem;
	}
	
	.footer-links-section h5 {
		font-size: 1.1rem;
	}
	
	.footer-newsletter-section {
		margin-bottom: 1.5rem;
	}
	
	.newsletter-input-group {
		max-width: 250px;
	}
	
	.footer-copyright {
		font-size: 0.8rem;
	}
} 