/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

/* Universal box-sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default browser margins and padding */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(15, 23, 42);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default link underlines */
a {
    text-decoration: none;
    color: inherit;
}

/* Image defaults */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button reset */
button {
    font-family: inherit;
    cursor: pointer;
}

/* ========================================
   THEME COMPONENTS
   ======================================== */

/* Main theme styles */

.music-player {
	max-width: 400px;
	margin: 2rem auto;
	background: #222;
	color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	padding: 1rem;
}
.music-player .player-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}
.music-player button {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.2s;
}
.music-player button:hover, .music-player .playlist li.active {
	color: #ffb300;
}
.music-player #track-title {
	flex: 1;
	text-align: center;
	font-weight: bold;
}
.music-player .playlist {
	list-style: none;
	padding: 0;
	margin: 0;
}
.music-player .playlist li {
	padding: 0.5rem 1rem;
	cursor: pointer;
	border-bottom: 1px solid #333;
	transition: background 0.2s;
}
.music-player .playlist li:last-child {
	border-bottom: none;
}
.music-player .playlist li.active, .music-player .playlist li:hover {
	background: #333;
}
@media (max-width: 500px) {
	.music-player {
		max-width: 98vw;
		padding: 0.5rem;
	}
	.music-player #track-title {
		font-size: 1rem;
	}
}

/* Store Cart Styles */
.store-cart {
	max-width: 400px;
	margin: 2rem auto;
	background: #fff;
	color: #222;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	padding: 1rem;
}
.store-cart h2 {
	margin-top: 0;
}
.store-cart ul {
	list-style: none;
	padding: 0;
}
.store-cart li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}
.store-cart li:last-child {
	border-bottom: none;
}
.store-cart button {
	background: #ffb300;
	border: none;
	color: #fff;
	padding: 0.3rem 0.7rem;
	border-radius: 4px;
	cursor: pointer;
	margin-left: 1rem;
	font-size: 1rem;
}
.store-cart button:hover {
	background: #ff9800;
}
.store-cart .cart-total {
	font-weight: bold;
	margin: 1rem 0;
}
.store-cart #checkout-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
}
.store-cart input[type="text"],
.store-cart input[type="email"] {
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.store-cart #checkout-message {
	margin-top: 1rem;
	color: green;
}
@media (max-width: 500px) {
	.store-cart {
		max-width: 98vw;
		padding: 0.5rem;
	}
}

/* Polygon Button Styles */
.polygon-btn-wrapper {
    display: inline-block;
    position: relative;
}

.polygon-btn {
    background-image: url('../images/buttons/Polygon 1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    width: 150px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    position: relative;
    cursor: pointer;
}

.polygon-btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; /* Adjust text color */
    font-size: 16px; /* Adjust font size */
    font-weight: bold;
    text-align: center;
}

.polygon-btn:hover {
    opacity: 0.9; /* Optional hover effect */
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin: 0;
}

.slide-content p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

/* Store Page Styles */
.store-page {
    padding: 20px;
    text-align: center;
}

.store-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.store-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
}
