/* header.css – Modern Minimalist */
.header-block{
	position: fixed;
	width: 100%;
	z-index: 13;
} 

/* Ensure the deals container can collapse smoothly */
.deals-container {
  display: flex;
  position: relative;
  top: 0;
  justify-content: center;
  align-items: center;
  z-index: 10; /* lower than header */
  height: 30px;
  background-color: #be9fb2;
  width: 100%;
  overflow: hidden;               /* hide contents when height is zero */
  transition: height 0.2s ease, opacity 0.2s ease; /* smooth transition */
}

/* When the container is hidden, collapse its height and fade it out */
.deals-container.hidden {
  height: 0;
  opacity: 0;
}

.header {
  display: flex;
	top:0;
  z-index: 1000; /* added to ensure it stacks above */
  background: linear-gradient(90deg, #292929, #1f1f1f);
  width: 100%;
  height: 68px;
  padding: 0 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  align-items: center;
}


/* HEADER LEFT */
.header-left {
	flex: 1;
	color: rgba(255, 255, 255, 0.8);
	display: flex;
	justify-content: start;
	align-items: center;
	font-size: 1.2rem;
}
.hamburger_menu{
	display: flex;
	align-items: center;
	justify-content: baseline;
	color: #e0e0e0;
	background-color: #3a3a3a;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	padding: 0.2rem 0.5rem;
	margin-right: 1rem;
}
.title-hub{
	color: #bc3a88;
}

/* HEADER MIDDLE */
.header-middle {
	display: flex;
	flex: 2;
	padding: 0 1rem;
}

/* SEARCH BAR */
.search-container {
	display: flex;
	margin: auto;
	flex: 1;
	justify-content: center;
}
.search-bar {
	flex: 1;
	min-width: 0;
	max-width: 700px;
	height: 36px;
	border-radius: 1.5rem 0 0 1.5rem;
	border: none;
	background-color: #3a3a3a;
	outline: none;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
	padding-left: 12px;
	color: #e0e0e0;
}
.search-bar::placeholder {
	color: rgba(255, 255, 255, 0.7);
	font-size: 1rem;
}
.search-button {
	min-height: 34px;
	border-radius: 0 1.5rem 1.5rem 0;
	background-color: #3a3a3a;
	color: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
}
.suggestions-container {
	position: fixed;
	top: 85px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #2e2e2e;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	max-width: 700px;
	width: 100%;
	padding: 0.5rem 0;
	z-index: 100;
}
.suggestion-item {
	padding: 0.75rem 1rem;
	color: #e0e0e0;
	font-size: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
	transition: background-color 0.15s ease;
	text-align: start;
}
.suggestion-item:last-child {
	border-bottom: none;
}
.suggestion-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #bc3a88;
}
/* HEADER RIGHT */
.header-right {
	flex: 1;
	margin: auto;
	display: flex;
	justify-content: end;
	margin-right: 60px;
}
.signIn-button,
.signUp-button {
	background-color: #3a3a3a;
	padding: 0.5rem 1rem;
	color: white;
	border-radius: 0.3rem;
	margin-right: 0.5rem;
}
.profile-circle {
	height: 30px;
	width: 30px;
	border-radius: 50%;
	background-color: #3a3a3a;
	overflow: hidden;
}

/* LOGIN AND REGISTER MODALS */
.overlay-panel h1{
	font-weight: bold;
	margin: 0;
}
.overlay-panel h2 {
	text-align: center;
}
.overlay-panel p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}
.overlay-panel span {
	font-size: 12px;
}
.overlay-panel a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 15px 0;
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 1002;
}
.sign-in-container h1, .sign-up-container h1  {
	font-weight: bold;
	margin: 0;
}
.sign-in-container h2, .sign-up-container h2 {
	text-align: center;
}
.sign-in-container p, .sign-up-container p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}
.sign-in-container span, .sign-up-container span {
	font-size: 12px;
}
.sign-in-container a, .sign-up-container a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 15px 0;
}
.container button {
	border-radius: 20px;
	border: 1px solid rgb(6, 6, 86);
	background-color: rgb(86, 83, 83);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 0.75rem 2.812rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
	white-space: nowrap;
}
.container button:active {
	transform: scale(0.95);
}
.container button:focus {
	outline: none;
}
.container button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}
.container form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}
.sign-in-container input, .sign-up-container input {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: 100%;
}
.container {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 768px;
	max-width: 100%;
	min-height: 480px;
}
.form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
}
.sign-in-container {
	left: 0;
	width: 50%;
	z-index: 2;
}
.container.right-panel-active .sign-in-container {
	transform: translateX(100%);
}
.sign-up-container {
	left: 0;
	width: 50%;
	opacity: 0;
	z-index: 1;
}
.container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}
@keyframes show {
	0%, 49.99% {
		opacity: 0;
		z-index: 1;
	}
	50%, 100% {
		opacity: 1;
		z-index: 5;
	}
}
.overlay-container {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	z-index: 100;
}
.container.right-panel-active .overlay-container{
	transform: translateX(-100%);
}
.overlay {
	background: rgb(6, 6, 86);
	background: linear-gradient(to right, rgb(39, 38, 38), rgb(99, 97, 97));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	position: relative;
	left: -100%;
	height: 100%;
	width: 200%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}
.container.right-panel-active .overlay {
	transform: translateX(50%);
}
.overlay-panel {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px;
	text-align: center;
	top: 0;
	height: 100%;
	width: 50%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}
.overlay-left {
	transform: translateX(-20%);
}
.container.right-panel-active .overlay-left {
	transform: translateX(0);
}
.overlay-right {
	right: 0;
	transform: translateX(0);
}
.container.right-panel-active .overlay-right {
	transform: translateX(20%);
}
.social-container {
	margin: 20px 0;
}
.social-container a {
	border: 1px solid #DDDDDD;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}
.social-container a img{
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: relative;
	object-fit: cover;
}

/* Responsive Header */
@media (min-width: 1080px) {
	.profile-circle{
		display: none;
	}
}
@media (max-width: 1080px) {
  .header {
    flex-direction: row;
  }
  .header-left, .header-middle, .header-right {
    text-align: center;
    margin: 5px 0;
  }
  .search-bar {
    max-width: 100%;
    height: 32px;
  }
  .search-button {
    height: 32px;
  }
  .header-right {
    justify-content: right;
	margin-right: 60px;
  }
  .signIn-button, .signUp-button{
    display: none;
  }
}
@media (min-width: 768px) {
  .hamburger_menu {
    display: none;
  }
}

@media (max-width: 768px){
.search-container {
	display:flex;
	flex:1;
	min-width: none;
	height: 32px;
	margin: auto;
	
}

.header-middle{
	width: fit-content;
	margin: 0;
	
}


}

@media (max-width: 575px){
	.search-container {
		display:flex;
		flex:.5;
		max-width: 50%;
		min-width: none;
		height: 32px;
		margin: auto;
	
	}

	.header-left{
		margin: 0;
		padding: 0;

	}

	.header-middle{
	
		margin-right: 20;
		padding: 0;
		flex: .1;
	}

	.header-right{
		margin-right: 200;
	}
	}