:root {
    --bg-color: #f4f4f4;
    --text-color: #333333;
    --accent-color: #8a7047;
    --secondary-color: #e5e5e5;
    --overlay-color: rgba(245, 245, 245, 0.9);
    --border-color: #dddddd;
    --input-bg: #ffffff;
    --btn-hover: #735e3c;
    --footer-color: #555555;
    --icon-color: #8a7047;
    --focus-shadow: rgba(138, 112, 71, 0.2);
    --dropdown-bg: #ffffff;
    --delete-color: #dc3545;
    --delete-hover: #bd2130;
}

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

body {
    font-family: 'Montserrat', 'Poppins', system-ui, sans-serif;
    line-height: 1.6;
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    min-height: 100vh;
}

/* Header & Logo */
header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 1rem;
    /*border-bottom: 1px solid var(--border-color);*/
    /*gap: 2rem;*/
}

.logo-container {
    justify-self: center;
    margin-bottom: 10px;
}

nav {
    width: auto;
}

.logo-container a {
    text-decoration: none;
}

.logo {
    max-width: 150px;
    height: auto;
}

.text-logo {
    font-family: 'Corinthia', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

/* Navigation */
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.75rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 8rem;
    justify-content: center;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

nav a.active {
    color: var(--accent-color);
    transform: scale(1.05);
}

nav a:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

/* Logout button */
.logout-form {
    margin: 0;
    padding: 0;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.btn-logout i {
    font-size: 1rem;
}

/* Home Page */
.home-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.project-item {
    position: relative;
    /*overflow: hidden;*/
    /*margin-bottom: 1rem;*/
    aspect-ratio: 1/1;
}

.project-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image img {
    overflow: hidden;
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item p {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    margin-bottom: 0.7rem;
    margin-top: 0.7rem;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--overlay-color);
    padding: 1rem;
    transition: bottom 0.3s ease;
    backdrop-filter: blur(2px);
}

.project-title {
    color: #222;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.project-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.project-item:hover .project-overlay {
    bottom: 0;
}

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

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    flex: 1;
}

/* Form Elements */
input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 2px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-shadow);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
}

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

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
    min-width: 100px;
    text-align: center;
}

.btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Delete button */
.btn-delete {
    font-family: 'Montserrat', 'Poppins', system-ui, sans-serif;
    /*background-color: var(--delete-color);*/
    color: white;
    margin-left: 0.5rem;
    padding-top: 200px;
}

.btn-delete:hover {
    /*background-color: var(--delete-hover);*/
    transform: translateY(-1px);
}

.delete-form {
    display: inline-block;
    margin-bottom: 0;
}

/* Alerts and messages */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    font-weight: 500;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #721c24;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #155724;
}

/* Card components */
.card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

/* Grid layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Login form specific styles */
.login-page {
    background-color: var(--bg-color);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    max-width: 400px;
    width: 100%;
    margin: 2rem auto;
}

.login-form {
    background: #ffffff;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h1 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--icon-color);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.input-wrapper input {
    padding-left: 25px;
    height: 48px;
}

.input-wrapper:focus-within i {
    opacity: 1;
}

.input-wrapper input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-shadow);
}

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

.forgot-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--btn-hover);
    text-decoration: underline;
}

.form-submit {
    margin-bottom: 1.5rem;
}

.btn-login {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    text-align: center;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* Checkbox styling */
label.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

label.checkbox input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    margin-bottom: 0;
    accent-color: var(--accent-color);
}

label.checkbox span {
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    /*background: var(--secondary-color);*/
    margin-top: 4rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--footer-color);
    /*border-top: 1px solid var(--border-color);*/
}

/* Generic image styling */
img {
    max-width: 100%;
    height: auto;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 150px);
}

.sidebar {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background-color: rgba(138, 112, 71, 0.1);
    color: var(--accent-color);
}

.sidebar-nav i {
    width: 20px;
    margin-right: 10px;
}

.main-content {
    flex: 1;
    padding: 2rem;
    background-color: var(--bg-color);
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--secondary-color);
    font-weight: 600;
}

.data-table .text-center {
    text-align: center;
}

.data-table th.text-center,
.data-table td.text-center {
    text-align: center;
}

.data-table tr:hover {
    background-color: rgba(138, 112, 71, 0.05);
}

.data-table td .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

/* Dropdown styles */
.dropdown-row {
    display: none;
    background: #f9f9f9;
}

.dropdown-row.active {
    display: table-row;
}

.dropdown-content {
    padding: 1rem;
}

.track-list {
    list-style: none;
    padding: 0;
}

.track-item {
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-item:last-child {
    border-bottom: none;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--accent-color);
}

.toggle-btn:hover {
    color: var(--btn-hover);
}

/* Table artwork styles */
.project-artwork {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.project-artwork.no-image {
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

/* Header actions */
.header-actions {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.btn-add {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add i {
    font-size: 0.9rem;
}

/* Page header redesign */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.page-title {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 600;
}

/* Button redesign */
.btn-add {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    /*border-radius: 6px;*/
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(138, 112, 71, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-add:hover {
    background: var(--btn-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 112, 71, 0.3);
}

.btn-add i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Form container */
.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.project-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Form sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

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

/* Form rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    /*margin-bottom: 1rem;*/
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Button variants */
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background: #d5d5d5;
    transform: translateY(-1px);
}

/* Track management */
.tracks-container {
    min-height: 100px;
}

.track-placeholder {
    text-align: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.track-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.track-title-group {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.track-title-group h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.btn-remove {
    margin-left: auto;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--accent-color);
}

.btn-remove:hover {
    color: var(--btn-hover);
}

.track-form {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

/* Credits checkboxes */
.credits-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.4rem;
    margin-bottom: 0;
    accent-color: var(--accent-color);
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Form actions */
.form-actions {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
}

/* Discography page styles */
.discography {
    max-width: 700px;
    margin: 0px auto;
    padding: 20px;
    /*background-color: #f8f9fa;*/
    color: #605e5e;
    font-family: 'Noto Sans', sans-serif;
    /*line-height: 300px;*/
}

.year-group {
    /*margin-bottom: 40px;*/
}

.year-heading {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    /*margin-bottom: 25px;*/
}

.release {
    margin-bottom: 25px;
    text-align: center;
}

.release-header {
    font-size: 20px;
    font-weight: normal;
    /*margin: 0 0 8px 0;*/
}

.release-header .artist {
    font-weight: bold;
}

.release-header .release-title {
    font-style: italic;
}

.track-detail {
    margin: 0;
    font-size: 13px;
    /*color: #6c757d;*/
}

.track-credits {
    text-transform: capitalize;
}

/* Responsive adjustments for discography */
@media (max-width: 768px) {
    .discography {
        max-width: 95%;
        padding: 15px;
    }

    .year-heading {
        font-size: 1.6em;
    }

    .release-header {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .discography {
        padding: 10px;
    }

    .year-heading {
        font-size: 1.4em;
    }

    .release-header {
        font-size: 1.1em;
    }

    .track-detail {
        font-size: 0.9em;
    }
}

/* Responsive sidebar */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }

    .sidebar-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    nav ul {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        gap: 2rem;
    }

    .text-logo {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    nav a {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }

    .text-logo {
        font-size: 2.8rem;
    }

    .login-form {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .credits-checkboxes {
        flex-direction: column;
        gap: 0.5rem;
    }

    .track-header {
        padding: 0.75rem 1rem;
    }

    .track-form {
        padding: 1rem;
    }
}

/* Artwork preview styles */
.artwork-preview-container {
    margin-top: 10px;
    text-align: center;
}

.artwork-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

.artwork-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.preview-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.preview-loading {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

/* Action buttons in tables */
.action-btn {
    min-width: 70px;
    text-align: center;
    display: inline-block;
}

/* About Page Styles */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    color: #605e5e;
    font-family: 'Noto Sans', sans-serif;
}

.about-header {
    margin-bottom: 3rem;
    text-align: center;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.contact-info {
    /*margin: 2rem 0;*/
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    color: var(--accent-color);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.equipment-section {
    margin: 3rem 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.equipment-category {
    background: white;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.equipment-category h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.equipment-list {
    list-style-type: none;
}

.equipment-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-color);
}

.equipment-list li:last-child {
    border-bottom: none;
}

/* Project Detail Page */
.project-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 5rem auto;
    position: relative;
    padding: 1rem;
    color: #605e5e;
    font-family: 'Noto Sans', sans-serif;
}

.close-button {
    position: absolute;
    top: 3rem;
    right: 3rem;
    z-index: 10;
}

.close-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-decoration: none;
    color: #605e5e;
    transition: all 0.3s ease;
}

.close-button a:hover {
    transform: scale(1.1);
    /*background: white;*/
    color: var(--accent-color);
}

.project-content {
    display: grid;
    width: 100%;
}

.project-image-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-container {
    width: 697px;
    height: 697px;
    aspect-ratio: 1/1;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-detail-image {
    width: 100%;
    height: 697px;
    object-fit: cover;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

.nav-arrow a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /*background: rgba(255, 255, 255, 0.8);*/
    /*border-radius: 50%;*/
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-arrow a:hover {
    transform: scale(1.1);

    color: var(--accent-color);
}

.project-info-section {
    padding: 1rem;
}

.project-detail-title {
    font-size: 2rem;
    /*margin-bottom: 0.5rem;*/
    color: var(--text-color);
}

.info-item {
    font-size: 12px;
    /*margin-bottom: 1rem;*/
    display: flex;
    align-items: center;
}

.info-label {
    font-weight: 600;
    margin-right: 0.5rem;
    min-width: 120px;
}

.info-value {
    color: #555;
}

.project-tracks {
    margin-top: 1.2rem;
    font-size: 13px;
}

.project-track-list {
    list-style: none;
    padding: 0;
}

.project-track-list .project-track-item {
    padding: 0.75rem 0;
}

.project-track-list .project-track-item:last-child {
    border-bottom: none;
}

.project-track-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.project-track-credits {
    font-size: 0.9rem;
    color: #777;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0.6;
        /*transform: translateY(2px);*/
    }
    to {
        opacity: 1;
        /*transform: translateY(0);*/
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Fade-out animation */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}
/* Responsive styles for project detail page */
@media (max-width: 1200px) {
    .project-detail-container {
        max-width: 95%;
        gap: 1.5rem;
    }

    .project-image-container {
        width: 100%;
        height: auto;
        max-width: 600px;
        max-height: 600px;
    }

    .project-detail-image {
        height: auto;
        max-height: 600px;
    }
}

@media (max-width: 992px) {
    .project-detail-container {
        grid-template-columns: 1fr;
        margin: 2rem auto;
    }

    .project-image-section {
        margin-bottom: 2rem;
    }

    .project-image-container {
        max-width: 500px;
        max-height: 500px;
    }

    .project-detail-image {
        max-height: 500px;
    }

    .close-button {
        top: 1rem;
        right: 1rem;
    }

    .close-button a {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .project-detail-container {
        grid-template-columns: 1fr;
        margin: 1rem auto;
        gap: 1rem;
    }

    .project-content {
        grid-template-columns: 1fr;
    }

    .project-image-container {
        width: 100%;
        max-width: 400px;
        max-height: 400px;
    }

    .project-detail-image {
        max-height: 400px;
    }

    .nav-arrow {
        top: 50%;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }

    .project-detail-title {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }

    .info-label {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .project-detail-container {
        padding: 0.5rem;
    }

    .project-image-container {
        max-width: 320px;
        max-height: 320px;
    }

    .project-detail-image {
        max-height: 320px;
    }

    .close-button {
        top: 0.5rem;
        right: 0.5rem;
    }

    .close-button a {
        width: 40px;
        height: 40px;
    }

    .nav-arrow a {
        width: 30px;
        height: 30px;
    }

    .project-track-item {
        padding: 0.5rem 0;
    }

    .project-track-name {
        font-size: 0.9rem;
    }

    .project-track-credits {
        font-size: 0.8rem;
    }
}

/* Error page styles */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.error-container h1 {
    font-size: 8rem;
    margin-bottom: 0;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1;
}

.error-container h2 {
    font-size: 2rem;
    margin: 1rem 0 2rem;
    color: var(--text-color);
}

.error-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 600px;
}

.error-container a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.error-container a:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
}

/* Fade-in animation for error page */
.error-container * {
    animation: fadeIn 0.8s ease-out forwards;
}

@media (max-width: 768px) {
    .error-container h1 {
        font-size: 6rem;
    }

    .error-container h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .error-container h1 {
        font-size: 4rem;
    }

    .error-container h2 {
        font-size: 1.2rem;
    }
}

/* Add these styles for improved social link items */
.social-link-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 1.5rem 1rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-link-item .form-row {
    width: 100%;
    margin-top: 0.5rem;
}

.social-link-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    width: auto;
    min-width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
