/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: #111;
    color: white;
    padding: 1em;
    position: sticky;
    top: 0;
    z-index: 3;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5em;
    color: white;
    text-decoration: none;
}

.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.main-nav .nav-links {
    color: white;
    text-decoration: none;
    padding: 0.5em 1em;
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
    }

    .main-nav .nav-links {
        width: 100%;
        text-align: center;
    }
}

/* Profile Editor Styles */
.profile-editor-container {
    margin: 20px;
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
}

#editor {
    width: 100%;
    height: 400px;
}

.form-group {
    margin-top: 20px;
}

#social-media-urls, #special-items, #vehicles {
    width: 100%;
    height: 100px;
    background-color: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
}

#profile-preview {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
}

#profile-preview-social-media, #profile-preview-special-items, #profile-preview-vehicles {
    margin-top: 10px;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}

/* Normalized Image Styles */
.normalized-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Header Styles */
.header {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.header-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 2em;
    border-radius: 10px;
}

.header-title {
    font-size: 4em;
    animation: kinetic 2s infinite alternate;
}

@keyframes kinetic {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.header-subtitle {
    font-size: 1.5em;
    margin: 0.5em 0;
}

.cta-button {
    padding: 0.5em 1em;
    background-color: #1e90ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #1c86ee;
    transform: scale(1.05);
}

.subscribe-button {
    background-color: #32cd32;
}

.subscribe-button:hover {
    background-color: #2eb82e;
}

.social-proof {
    margin-top: 1em;
    font-size: 1em;
    color: #ff4500;
    display: flex;
    justify-content: center;
    gap: 2em;
}

.social-proof p {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

/* Section Styles */
section {
    padding: 2em;
    background: #111;
    transition: opacity 1s ease-in-out;
}

.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.about-section, .ai-section, .events-section {
    background-image: url('images/background.jpg');
}

/* Store Section */
.store-section {
    padding: 2em;
    background-color: #111;
}

.store-section h3 {
    text-align: center;
    font-size: 2em;
    margin: 1em 0;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1em;
}

.store-item {
    background: #222;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.7);
    text-align: center;
    transition: transform 0.3s;
}

.store-item:hover {
    transform: translateY(-10px);
}

.store-item img {
    width: 100%;
    border-radius: 5px;
}

.store-item h3 {
    margin: 0.5em 0;
}

.store-item p {
    font-size: 1em;
    color: #ccc;
}

.store-item button, .store-item a {
    display: block;
    margin: 1em auto 0;
    padding: 0.5em 1em;
    background-color: #ff4500;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.store-item button:hover, .store-item a:hover {
    background-color: #e43e00;
}

/* Footer Styles */
.footer {
    background: #111;
    padding: 1em;
    text-align: center;
    color: #fff;
}

.social-media {
    margin: 1em 0;
}

.social-media a {
    color: white;
    margin: 0 0.5em;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #ff4500;
}

/* Responsive Image Styles */
.responsive-image {
    max-width: 100%;
    height: auto;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff4500;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Miscellaneous */
.back-to-top {
    position: fixed;
    bottom: 2em;
    right: 2em;
    background: #ff4500;
    color: #fff;
    padding: 1em;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    display: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background-color: #e43e00;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1em;
        right: 1em;
    }
}

.profile-card {
    background-color: #222;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.7);
}

.profile-card h3 {
    margin-top: 0;
}

.profile-card p, .profile-card div {
    margin-bottom: 10px;
}
/* Other styles remain unchanged */

/* Profile Grid */
#profiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px;
}

.profile-card {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.7);
    text-align: center;
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.profile-card h3 {
    margin: 10px 0;
}

.profile-card p {
    font-size: 1em;
    color: #ccc;
}

.profile-card .view-profile-button {
    display: block;
    margin: 10px auto 0;
    padding: 0.5em 1em;
    background-color: #ff4500;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.profile-card .view-profile-button:hover {
    background-color: #e43e00;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
}

.vehicle-image-container {
    display: inline-block;
    position: relative;
}

.social-media-url-container {
    display: flex;
    align-items: center;
}

.delete-vehicle-image, .delete-social-media-url, .delete-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.editable {
    border: 1px dashed #ccc;
    padding: 5px;
    cursor: text;
}
/* Admin Dashboard Styles */
.admin-dashboard {
    margin: 20px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.admin-dashboard label {
    display: block;
    margin-bottom: 5px;
}

.admin-dashboard input,
.admin-dashboard textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.admin-dashboard button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.admin-dashboard button:hover {
    background-color: #218838;
}

.store-item {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.store-item h3 {
    margin: 0;
    font-size: 1.2em;
}

.store-item p {
    margin: 5px 0;
}

.store-item button {
    padding: 5px 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.store-item button:hover {
    background-color: #c82333;
}
