/* PunkPoodle Designs - Main Stylesheet */
:root {
	--primary-color: #f4f4a1; /* Light yellow */
	--dark-bg: #1a1a1a;
	--darker-bg: #0f0f0f;
	--text-light: #ffffff;
	--text-gray: #cccccc;
	--accent-dark: #333333;
	--border-color: #444444;
	--success-color: #4caf50;
	--error-color: #f44336;
	--warning-color: #ff9800;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Arial", sans-serif;
	background-color: var(--dark-bg);
	color: var(--text-light);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
	background: #e6e68a;
}

/* Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) var(--darker-bg);
}

/* Loading Screen */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--darker-bg);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid var(--accent-dark);
	border-top: 3px solid var(--primary-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(26, 26, 26, 0.95);
	backdrop-filter: blur(10px);
	padding: 1rem 0;
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
}

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

.nav-logo img {
	height: 40px;
	width: auto;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-menu a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.nav-menu a:hover {
	color: var(--primary-color);
}

.nav-menu a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: width 0.3s ease;
}

.nav-menu a:hover::after {
	width: 100%;
}

.cart-icon {
	position: relative;
	color: var(--text-light);
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.3s ease;
}

.cart-icon:hover {
	color: var(--primary-color);
}

.cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--primary-color);
	color: var(--dark-bg);
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: bold;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: var(--text-light);
	transition: 0.3s;
}

/* Main Content */
.main-content {
	padding-top: 80px;
	min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	animation: zoomInOut 8s ease-in-out infinite;
	opacity: 0;
	transition: opacity 2s ease-in-out;
}

.hero-bg.active {
	opacity: 1;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(26, 26, 26, 0.7);
	backdrop-filter: blur(2px);
	z-index: 1;
}

@keyframes zoomInOut {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

.hero-content {
	max-width: 800px;
	padding: 0 2rem;
	position: relative;
	z-index: 2;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	background: linear-gradient(45deg, var(--primary-color), #fff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: fadeInUp 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: var(--text-gray);
	animation: fadeInUp 1s ease 0.2s both;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background: var(--primary-color);
	color: var(--dark-bg);
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn:hover {
	background: #e6e68a;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(244, 244, 161, 0.3);
}

.btn-outline {
	background: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-outline:hover {
	background: var(--primary-color);
	color: var(--dark-bg);
}

/* Sections */
.section {
	padding: 5rem 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--primary-color);
}

.section-subtitle {
	text-align: center;
	font-size: 1.1rem;
	color: var(--text-gray);
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Cards */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.card {
	background: var(--accent-dark);
	border-radius: 10px;
	padding: 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--border-color);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(244, 244, 161, 0.1);
}

.card-icon {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--text-light);
}

.card p {
	color: var(--text-gray);
	margin-bottom: 1.5rem;
}

/* Product Cards */
.product-card {
	background: var(--accent-dark);
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease;
	border: 1px solid var(--border-color);
}

.product-card:hover {
	transform: translateY(-5px);
}

.product-image {
	width: 100%;
	height: 200px;
	background: var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}

.product-info {
	padding: 1.5rem;
}

.product-title {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	color: var(--text-light);
}

.product-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.product-description {
	color: var(--text-gray);
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

/* Blog Cards */
.blog-card {
	background: var(--accent-dark);
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease;
	border: 1px solid var(--border-color);
}

.blog-card:hover {
	transform: translateY(-5px);
}

.blog-image {
	width: 100%;
	height: 200px;
	background: var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
	transform: scale(1.05);
}

.blog-content {
	padding: 1.5rem;
}

.blog-date {
	color: var(--primary-color);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.blog-title {
	font-size: 1.2rem;
	margin-bottom: 1rem;
	color: var(--text-light);
}

.blog-excerpt {
	color: var(--text-gray);
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

/* Forms */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-light);
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 12px;
	background: var(--accent-dark);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	color: var(--text-light);
	font-size: 1rem;
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(244, 244, 161, 0.2);
}

textarea.form-control {
	resize: vertical;
	min-height: 120px;
}

/* Footer */
.footer {
	background: var(--darker-bg);
	padding: 3rem 0 1rem;
	border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: var(--text-gray);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: var(--primary-color);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
	color: var(--text-gray);
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: var(--accent-dark);
	padding: 1.5rem;
	border-radius: 10px;
	border: 1px solid var(--border-color);
	z-index: 1001;
	display: none;
}

.cookie-popup.show {
	display: block;
	animation: slideUp 0.3s ease;
}

.cookie-buttons {
	margin-top: 1rem;
	display: flex;
	gap: 1rem;
}

/* Go to Top Button */
.go-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: var(--dark-bg);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	z-index: 999;
}

.go-top:hover {
	background: #e6e68a;
	transform: translateY(-2px);
}

.go-top.show {
	display: flex;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 80px);
		background: var(--dark-bg);
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding-top: 2rem;
		transition: left 0.3s ease;
	}

	.nav-menu.active {
		left: 0;
	}

	.hamburger {
		display: flex;
	}

	.nav-container {
		padding: 0 1rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.cards-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.container {
		padding: 0 1rem;
	}

	.cookie-popup {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}

	.cookie-buttons {
		flex-direction: column;
	}

	.footer-content {
		text-align: center;
	}

	.nav-right {
		display: flex;
		align-items: center;
		gap: 1rem;
	}
}

/* Cart Styles */
.cart-item {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-bottom: 1px solid var(--border-color);
	gap: 1rem;
}

.cart-item-image {
	width: 80px;
	height: 80px;
	background: var(--border-color);
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	overflow: hidden;
}

.cart-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-item-details {
	flex: 1;
}

.cart-item-title {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	color: var(--text-light);
}

.cart-item-price {
	color: var(--primary-color);
	font-weight: bold;
}

.quantity-controls {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
}

.quantity-btn {
	width: 30px;
	height: 30px;
	border: 1px solid var(--border-color);
	background: var(--accent-dark);
	color: var(--text-light);
	border-radius: 3px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quantity-btn:hover {
	background: var(--primary-color);
	color: var(--dark-bg);
}

.remove-item {
	color: var(--error-color);
	cursor: pointer;
	font-size: 1.2rem;
	padding: 0.5rem;
	background: none;
	border: none;
}

.remove-item:hover {
	color: #ff6b6b;
}

/* Notification */
.notification {
	position: fixed;
	top: 100px;
	right: 20px;
	background: var(--success-color);
	color: white;
	padding: 1rem 1.5rem;
	border-radius: 5px;
	z-index: 1002;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.notification.show {
	transform: translateX(0);
}

.notification.error {
	background: var(--error-color);
}

/* Modal */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1003;
}

.modal.show {
	display: flex;
}

.modal-content {
	background: var(--dark-bg);
	padding: 2rem;
	border-radius: 10px;
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	border: 1px solid var(--border-color);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.modal-close {
	background: none;
	border: none;
	color: var(--text-light);
	font-size: 1.5rem;
	cursor: pointer;
}

/* Search and Filter */
.search-filter-container {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.search-box {
	flex: 1;
	min-width: 250px;
}

.filter-select {
	min-width: 150px;
}

/* FAQ Accordion */
.faq-item {
	border: 1px solid var(--border-color);
	border-radius: 5px;
	margin-bottom: 1rem;
	overflow: hidden;
}

.faq-question {
	background: var(--accent-dark);
	padding: 1rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.3s ease;
}

.faq-question:hover {
	background: var(--border-color);
}

.faq-answer {
	padding: 0 1rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	padding: 1rem;
	max-height: 200px;
}

.faq-icon {
	transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
	transform: rotate(180deg);
}

/* Testimonial Slider */
.testimonial-slider {
	position: relative;
	overflow: hidden;
	margin: 2rem 0;
}

.testimonial-slide {
	display: none;
	text-align: center;
	padding: 2rem;
}

.testimonial-slide.active {
	display: block;
}

.testimonial-text {
	font-size: 1.2rem;
	font-style: italic;
	margin-bottom: 1rem;
	color: var(--text-gray);
}

.testimonial-author {
	color: var(--primary-color);
	font-weight: bold;
}

.slider-nav {
	text-align: center;
	margin-top: 1rem;
}

.slider-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--border-color);
	margin: 0 5px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.slider-dot.active {
	background: var(--primary-color);
}

/* Cart Summary Button Alignment */
.cart-summary .btn {
	margin-left: auto;
	display: block;
}

/* Story Section */
.story-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	margin-bottom: 3rem;
}

.story-text {
	font-size: 1.1rem;
	color: var(--text-gray);
	line-height: 1.8;
}

.story-image {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.story-image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.story-image:hover img {
	transform: scale(1.05);
}

@media (max-width: 768px) {
	.story-content {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}
	
	.story-image {
		order: -1;
	}
}
