@charset "UTF-8";

body {
	margin: 0;
	font-family: Arial, sans-serif;
	background: #f2f2f2;
	color: #111;
}

html {
  scroll-behavior: smooth;
}

.hero {
	background: #111;
	}
	.btn-primary {
		background: linear-gradient(135deg, #c47a22, #e0a34a);
		color: white !important;
		padding: 14px 28px;
		border-radius: 10px;
		text-decoration: none;
		font-weight: bold;
		display: inline-block;
		box-shadow: 0 6px 18px rgba(196, 122, 34, 0.4);
		transition: all 0.3s ease;
	}

	.btn-primary:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 25px rgba(196, 122, 34, 0.6);
	}

	.btn-secondary {
		background: rgba(255,255,255,0.1);
		border: 2px solid white;
		color: white !important;
		padding: 14px 28px;
		border-radius: 10px;
		text-decoration: none;
		font-weight: bold;
		display: inline-block;
		backdrop-filter: blur(6px);
		transition: all 0.3s ease;
	}

	.btn-secondary:hover {
		background: white;
		color: #111 !important;
	color: #ddd;
}

.section {
	padding: 40px 20px;
	background: linear-gradient(to bottom, #f8f8f8, #eeeeee);
	border-top: 4px solid #c47a22;
}

.section-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 18px;
}

.section-header h2 {
	font-size: 26px;
	font-weight: 700;
}

.section-header a {
	color: #c47a22;
	font-weight: 600;
	text-decoration: none;
}

.section-header a {
	color: #c47a22;
	font-weight: bold;
	text-decoration: none;
}

.admin-wrap {
	max-width: 1100px;
	margin: 40px auto;
	padding: 25px;
}

.admin-wrap h1 {
	font-size: 34px;
	margin-bottom: 5px;
}

.admin-subtitle {
	color: #777;
	margin-bottom: 20px;
}

.admin-form {
	background: linear-gradient(145deg, #ffffff, #f3f3f3);
	padding: 25px;
	border-radius: 16px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	border-top: 4px solid #c47a22;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #ddd;
	background: #fff;
	transition: all 0.2s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
	border-color: #c47a22;
	outline: none;
	box-shadow: 0 0 0 2px rgba(196,122,34,0.2);
}

.admin-form textarea {
	grid-column: 1 / -1;
	min-height: 90px;
}

.admin-form button {
	background: linear-gradient(135deg, #c47a22, #8b4b12);
	color: white;
	border: none;
	border-radius: 10px;
	padding: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
}

.admin-form button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.admin-list {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.admin-list-item {
	background: white;
	padding: 16px;
	border-radius: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	border-left: 4px solid #c47a22;
}

.admin-delete {
	background: #9b1c1c;
	color: white;
	border: none;
	padding: 10px 14px;
	border-radius: 8px;
	cursor: pointer;
}

.admin-delete:hover {
	background: #c53030;
}

/* Admin header / logout */
.admin-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logout-btn {
	background: #222;
	color: white;
	border: 1px solid #c47a22;
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.logout-btn:hover {
	background: #c47a22;
}

.admin-edit {
	background: #c47a22;
	color: white;
	border: none;
	padding: 10px 14px;
	border-radius: 8px;
	cursor: pointer;
}

.admin-edit:hover {
	background: #e09a36;
}
.horse-carousel {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 20px 4px 30px;
	-webkit-overflow-scrolling: touch;
}
.horse-carousel::-webkit-scrollbar {
	height: 8px;
}
.horse-carousel::-webkit-scrollbar-thumb {
	background: #c47a22;
	border-radius: 20px;
}
.horse-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
	background: white;
	border-radius: 14px;
	overflow: visible;
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
	transition: all 0.25s ease;
}

.horse-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.horse-card img {
	width: 100%;
	height: auto;
	min-height: 260px;
	object-fit: cover;
}

.horse-content {
	padding: 14px;
}

.horse-info {
	padding: 14px;
}

.horse-info .live,
.horse-info .sold {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: white;
	margin-bottom: 6px;
}

.horse-info .live {
	background: linear-gradient(135deg, #1f7a3a, #28a745);
}

.horse-info .sold {
	background: linear-gradient(135deg, #6f6f6f, #4d4d4d);
}

.horse-info h3 {
	margin: 5px 0;
	font-size: 20px;
}

.horse-info p {
	margin: 6px 0;
	color: #555;
}

.badge {
	display: inline-block;
	background: linear-gradient(135deg, #1f7a3a, #28a745);
	color: white;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.horse-card h3 {
	margin: 5px 0;
	font-size: 20px;
}

.horse-card p {
	margin: 6px 0;
	color: #555;
}

.price {
	font-weight: bold;
	color: #111;
}

.card-description {
	font-size: 14px;
	color: #555;
	line-height: 1.4;
	margin: 8px 0;
}

.sold-btn {
	background: #555 !important;
	cursor: not-allowed;
}

.btn {
	display: block;
	margin-top: 12px;
	background: #c47a22;
	color: white;
	text-align: center;
	padding: 12px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
}

.steps {
	display: grid;
	gap: 12px;
}

.steps div {
	background: white;
	padding: 14px;
	border-radius: 10px;
}

/* Hero styles */
.hero {
	position: relative;
	height: 75vh;
	background-image: url('/images/southern-hero-banner-1.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 68% center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 75%; /* shorter overlay */

	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.45) 60%,
		rgba(0, 0, 0, 0.2) 100%
	);

	display: flex;
	align-items: flex-end;
	justify-content: center;

	padding-bottom: 120px;
}

.hero-content {
	text-align: center;
	color: white;
	max-width: 700px;
	padding: 20px;
}

.hero-content h1 {
	font-size: 48px;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.tagline {
	font-size: 20px;
	color: #c47a22;
	margin-bottom: 10px;
}

.subtext {
	font-size: 16px;
	color: #ddd;
}
.tabs {  display: flex;  gap: 10px;  overflow-x: auto;  padding-bottom: 15px;}
.tabs a {  background: #111;  color: white;  padding: 10px 14px;  border-radius: 30px;  text-decoration: none;  white-space: nowrap;}
.horse-grid {  display: grid;  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));  gap: 16px;}

/* How It Works styles */
.how-section {
	background: #111;
	color: white;
	border-top: 4px solid #c47a22;
}

.how-section .section-header h2 {
	color: white;
}

.accordion {
	display: grid;
	gap: 12px;
}

.accordion-item {
	background: #1b1b1b;
	border: 1px solid rgba(196, 122, 34, 0.35);
	border-radius: 12px;
	overflow: hidden;
}

.accordion-btn {
	width: 100%;
	background: transparent;
	color: white;
	border: none;
	padding: 16px;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.accordion-btn::after {
	content: "\002B";
	float: right;
	color: #c47a22;
	font-size: 20px;
	line-height: 1;
}

.accordion-item.active .accordion-btn::after {
	content: "\2212";
}

/* Live strip red dot icon */
.live-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #e53e3e;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
	animation: live-pulse 1.4s infinite;
}

@keyframes live-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7); }
	70%  { box-shadow: 0 0 0 7px rgba(229, 62, 62, 0); }
	100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

.accordion-content {
	display: none;
	padding: 0 16px 16px;
	color: #ddd;
	line-height: 1.5;
}

.accordion-item.active .accordion-content {
	display: block;
}

/* Seller CTA */
.seller-cta {
	background: linear-gradient(135deg, #c47a22, #8b4b12);
	color: white;
	text-align: center;
	padding: 45px 20px;
}

.seller-cta h2 {
	font-size: 30px;
	margin-bottom: 10px;
}

.seller-cta p {
	max-width: 600px;
	margin: 0 auto 20px;
	color: #fff4e5;
}

.seller-cta a {
	display: inline-block;
	background: #111;
	color: white;
	padding: 14px 28px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: bold;
}

/* Main navigation */
.main-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #111;
	color: white;
	padding: 14px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-logo {
	font-size: 20px;
	font-weight: 800;
	color: #c47a22;
}

.nav-links {
	display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover {
	color: #c47a22;
}

.nav-btn {
	background: #c47a22;
	padding: 10px 16px;
	border-radius: 8px;
}

.nav-btn:hover {
	color: white !important;
	background: #e09a36;
}

.login-btn {
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.2);
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	background: rgba(255,255,255,0.04);
	transition: all 0.25s ease;
}

.login-btn:hover {
	background: #c47a22;
	border-color: #c47a22;
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.main-nav {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.nav-links {
		width: 100%;
		overflow-x: auto;
		gap: 14px;
		padding-bottom: 5px;
	}

	.nav-links a {
		white-space: nowrap;
	}
}

/* Category page styles */
.category-hero {
	background: #111;
	color: white;
	padding: 50px 20px;
	text-align: center;
	border-bottom: 4px solid #c47a22;
}
.category-hero h1 {
	margin: 0 0 10px;
	font-size: 36px;
}
.category-hero p {
	color: #ddd;
}
.category-hero-banner {
	position: relative;
	height: 320px;
	background: url('/images/category-hero-banner.png') center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-hero-overlay {
	background: rgba(0, 0, 0, 0.55);
	padding: 30px 40px;
	border-radius: 12px;
	text-align: center;
}

.category-hero-overlay h1 {
	color: white;
	font-size: 36px;
	margin-bottom: 10px;
}

.category-hero-overlay p {
	color: #ddd;
	font-size: 16px;
}
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin-bottom: 40px;
}

.category-box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 24px;
	border-radius: 18px;
	background: linear-gradient(135deg, #111111, #1f1f1f);
	border: 1px solid rgba(196,122,34,0.4);
	color: white;
	text-decoration: none;
	font-weight: 700;
	font-size: 20px;
	overflow: hidden;
	transition: all 0.25s ease;
	box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.category-box::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		transparent,
		rgba(255,255,255,0.08),
		transparent
	);
	transform: translateX(-100%);
	transition: transform 0.5s ease;
}

.category-box:hover::before {
	transform: translateX(100%);
}

.category-box:hover {
	transform: translateY(-4px);
	border-color: #d89233;
	box-shadow: 0 12px 30px rgba(196,122,34,0.25);
}

.category-box.active {
	background: linear-gradient(135deg, #c47a22, #8b4b12);
	border-color: #e0a045;
	color: white;
}

.category-box span {
	position: relative;
	z-index: 2;
}

.category-box .category-arrow {
	font-size: 22px;
	opacity: 0.7;
}

.category-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
	gap: 20px;
	flex-wrap: wrap;
}

.category-header-row h2 {
	font-size: 42px;
	font-weight: 800;
	color: #111;
	margin: 0;
}

.all-listings-link {
	color: #c47a22;
	font-weight: 700;
	text-decoration: none;
	font-size: 17px;
	transition: all 0.25s ease;
}

.all-listings-link:hover {
	color: #8b4b12;
	transform: translateX(4px);
}

.site-footer {
	background: #050505;
	color: white;
	margin-top: 80px;
	border-top: 3px solid #c47a22;
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 70px 60px 50px;
}

.footer-brand h2 {
	color: #c47a22;
	font-size: 34px;
	margin-bottom: 18px;
}

.footer-brand p {
	color: rgba(255,255,255,0.7);
	line-height: 1.8;
	max-width: 420px;
}

.footer-links h3 {
	color: white;
	margin-bottom: 18px;
	font-size: 18px;
}

.footer-links a {
	display: block;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	margin-bottom: 14px;
	transition: all 0.25s ease;
}

.footer-links a:hover {
	color: #c47a22;
	transform: translateX(4px);
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	text-align: center;
	padding: 24px;
	color: rgba(255,255,255,0.55);
	font-size: 14px;
}

/* MOBILE */
@media (max-width: 900px) {

	.footer-top {
		grid-template-columns: 1fr;
		padding: 50px 25px 40px;
	}

	.footer-brand p {
		max-width: 100%;
	}

}

.footer-email {
	color: #c47a22 !important;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.25s ease;
}

.footer-email:hover {
	color: #e5a84b !important;
	transform: translateX(4px);
}

.horse-grid {  display: grid;  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));  gap: 18px;}

/* Urgency section */
.urgency-section {
	background: linear-gradient(to bottom, #fff8ef, #f3e6d6);
	border-top: 4px solid #c47a22;
	border-bottom: 1px solid #e0c7a4;
}

.urgency-section .section-header h2::before {
	content: "\1F525\00A0";
}

.urgency-note {
	color: #9b4d00;
	font-weight: bold;
	font-size: 13px;
	margin-top: 6px;
}

/* Live strip */
.live-strip {
	background: #111;
	color: white;
	overflow: hidden;
	white-space: nowrap;
}

.live-strip-inner {
	display: inline-block;
	padding: 14px 0;
	animation: scrollText 15s linear infinite;
	font-weight: bold;
	color: #c47a22;
}

@keyframes scrollText {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* Login page styles */
.login-body {
	margin: 0;
	height: 100vh;
	background: linear-gradient(135deg, #0c0c0c, #1a1a1a);
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: Arial, sans-serif;
}

.admin-login-page {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin: 0;
	overflow: hidden;
	background: linear-gradient(135deg, #0c0c0c, #1a1a1a);
	font-family: Arial, sans-serif;
}

/* Admin dashboard list item styling (controlled sizing for admin-only list) */
.admin-list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	background: white;
	padding: 14px;
	border-radius: 12px;
	border-left: 4px solid #c47a22;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.admin-list-item img {
	width: 90px;
	height: 70px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.login-card {
	background: rgba(255,255,255,0.05);
	backdrop-filter: blur(12px);
	padding: 40px 30px;
	border-radius: 16px;
	width: 320px;
	text-align: center;
	border: 1px solid rgba(196,122,34,0.3);
	box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.login-card h1 {
	color: #c47a22;
	margin-bottom: 5px;
}

.login-sub {
	color: #bbb;
	margin-bottom: 25px;
}

.login-card input {
	width: 100%;
	padding: 12px;
	margin-bottom: 12px;
	border-radius: 8px;
	border: none;
	outline: none;
}

.login-card button {
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #c47a22, #8b4b12);
	border: none;
	border-radius: 8px;
	color: white;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
}

.login-card button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(196,122,34,0.4);
}

/* MOBILE HERO FIX */
@media (max-width: 768px) {

	.hero,
	.hero-section,
	.hero-banner {
		position: relative;
		min-height: 320px;
		height: auto;
		overflow: hidden;
		padding-top: 0;
	}

	.hero {
		background-position: center center;
	}

	/* HERO IMAGE */
	.hero img,
	.hero-banner img,
	.hero-bg {
		width: 100%;
		height: 100%;
		object-fit: cover;

		/* IMPORTANT */
		object-position: 68% center;
	}

	/* CONTENT AREA */
	.hero-content {

		position: relative;
		z-index: 2;

		width: 100%;
		max-width: 100%;

		padding: 0 22px 20px;

		text-align: center;
	}

	/* MAIN TITLE */
	.hero-content h1 {

		font-size: 52px;
		line-height: .92;

		margin-bottom: 18px;
	}

	/* SUBTEXT */
	.hero-content p {

		font-size: 18px;
		line-height: 1.5;

		max-width: 95%;
	}

	/* BUTTON WRAP */
	.hero-buttons,
	.hero-buttons-only {
		display: flex;
		flex-direction: column;

		gap: 14px;
		width: 100%;
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;

		margin-top: 20px;
	}

	/* BUTTONS */
	.hero-buttons a,
	.hero-buttons button,
	.hero-buttons-only a,
	.hero-buttons-only button {

		width: 100%;
		max-width: 320px;

		text-align: center;
	}

	/* FEATURE BAR */
	.hero-features {

		display: grid;
		grid-template-columns: 1fr 1fr;

		gap: 15px;

		padding: 20px;
	}

	.hero-feature {

		min-height: 110px;
	}

	.top-bar,
	.navbar {
		flex-wrap: wrap;
		gap: 10px;
	}

	.navbar-links {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
	}
}

.sales-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	background: #111;
	border-top: 4px solid #c47a22;
	border-bottom: 4px solid #c47a22;
	color: white;
	text-align: center;
}

.sales-stats div {
	padding: 24px 15px;
	border-right: 1px solid rgba(255,255,255,0.12);
}

.sales-stats div:last-child {
	border-right: none;
}

.sales-stats span {
	color: #c47a22;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
}

.sales-stats h2 {
	margin: 8px 0 0;
	font-size: 34px;
}

.sold-section {
	background: linear-gradient(to bottom, #f4f4f4, #e9e9e9);
	border-top: 4px solid #111;
}

@media (max-width: 700px) {
	.sales-stats {
		grid-template-columns: 1fr;
	}
}

@media (max-width:768px){

.listings-grid,
.horse-grid{
	display:flex;
	flex-direction:column;
	gap:25px;
}

.horse-card,
.auction-card{

	width:100%;
	height:auto !important;
	min-height:unset !important;

	overflow:hidden;

	border-radius:22px;
}

.horse-card img,
.auction-card img{

	width:100%;
	height:260px;

	object-fit:cover;

	object-position:center;

	display:block;
}

.card-content,
.horse-content{

	padding:18px;
}

.card-description{

	display:block;
	overflow:visible;

	white-space:normal;

	max-height:none;
}

.bid-btn,
.sold-btn,
.btn{

	width:100%;
	margin-top:15px;
}

}
