html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

:root {
    /* Professional Color Theme */
    --primary-color: #ffffff;
    --secondary-color: #2c3e50;  /* Dark blue-gray */
    --accent-color: #3498db;     /* Bright blue */
    --accent-hover: #2980b9;     /* Darker blue for hover states */
    --text-primary: #2c3e50;     /* Dark blue-gray for main text */
    --text-secondary: #7f8c8d;   /* Medium gray for secondary text */
    --success-color: #27ae60;    /* Green for success states */
    --warning-color: #f39c12;    /* Orange for warnings */
    --error-color: #e74c3c;      /* Red for errors */
    --background-light: #f5f6fa; /* Light gray for backgrounds */
    --background-dark: #2c3e50;  /* Dark blue-gray for dark mode */
    --surface-dark: #34495e;     /* Slightly lighter dark blue for cards in dark mode */
    
    /* Professional Dark Mode Colors */
    --dark-background: #1a1a1a;      /* Slightly softer than pure black */
    --dark-surface: #242424;         /* Slightly lighter than background */
    --dark-surface-2: #2d2d2d;       /* For cards and elevated surfaces */
    --dark-border: #333333;          /* Subtle borders */
    --dark-text: #ffffff;            /* Primary text */
    --dark-text-secondary: #b3b3b3;  /* Secondary text */
    --dark-accent: #4dabf7;          /* Bright blue accent */
    --dark-accent-hover: #339af0;    /* Darker blue for hover states */
    --dark-success: #2ecc71;         /* Green for success states */
    --dark-warning: #f1c40f;         /* Yellow for warnings */
    --dark-error: #e74c3c;           /* Red for errors */
    --dark-overlay: rgba(0, 0, 0, 0.8); /* For modals and overlays */
    
    /* Keep existing utility variables */
    --transition-standard: all 0.3s ease;
    --border-radius-standard: 8px;
    --shadow-standard: 0 4px 6px rgba(0,0,0,0.1);
    --spacing-standard: 1rem;
    --max-width-container: 1200px;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    
    
}
body.dark-mode {
    background-color: var(--dark-background);
    color: var(--dark-text);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom-left-radius: 7px; /* Rounded bottom left corner */
    border-bottom-right-radius: 7px; 
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}
/* Define light and dark mode status bar colors */
  
  /* Default (light mode) */
  body {
    --status-bar-color: var(--status-bar-light);
  }
  
  /* When dark mode is active */
  body.dark-mode {
    --status-bar-color: var(--dark-surface);
  }
@media only screen and (max-width: 899px) {
    .navbar {
      /* Add your mobile-specific styles here */
      background-color: #fdfdfd;
      border-radius: 0% ;
      height: 60px;
      text-align: center;
    }
  }

body.dark-mode .navbar {
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
}

@media (max-width: 1024px) {
  .nav-links {
    max-width: 90%;
  }
}

.nav-links.active {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
    visibility: visible; /* Make visible */
    display: block;
    font-family: Sans-Serif;
    font-weight: bold;
}
/* Close Icon Animation (Simple X) */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px); /* Rotate to form part of the X */
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0; /* Hide the middle bar */
    transform: scale(0); /* Optional: Shrink completely */
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px); /* Rotate to form part of the X */
}

/* Hover effect for navigation links */
.nav-links li:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    transition: transform 0.2s ease-in-out;
}

/* Smooth transition for the menu toggle bars */
.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
     /* Slightly rounded ends */
    transition: all 0.3s ease; /* Smooth animation */
}





.logo {
    font-weight: bold;
    color: var(--secondary-color);
    display: inline-block;
    font-size: 2rem;
}

.nav-links {
    display: block;
    list-style: none;
    position: relative;
}

.nav-links li {
    display: inline-block;
    margin: 0 15px; /* Space between links */
    position: relative;
}

.nav-links li a {  /* dont */
    color: var(--secondary-color);
    text-decoration: none;
    padding: 5px 0; /* Space for the hover effect */
    transition: color 0.3s; /* Smooth color transition */
}

.nav-links li a:hover {
    color: var(--accent-color); /* Change color on hover */
}

.nav-links li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px; /* Position below the text */
    width: 0;
    height: 2px; /* Thickness of the line */
    background: var(--accent-color); /* Color of the line */
    transition: width 0.3s ease, left 0.3s ease; /* Smooth transition */
}

.nav-links li:hover::after {
    width: 100%; /* Expand the line on hover */
    left: 0; /* Align to the left */
}

.nav-links li a.clicked {
    transform: scale(0.95); /* Slightly shrink on click */
    transition: transform 0.1s; /* Quick transition */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 2px;
    transition: var(--transition-standard);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full height */
    overflow: hidden; 
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire hero section */
    z-index: 1; /* Behind the content */
}




.hero-content {
    position: relative;
    z-index: 2; /* Above the video */
    color: #ffffff; /* Text color */
    text-align: center; /* Center text */
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1; /* Place it above the video but below the content */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    animation: backgroundAnimation 20s infinite;
}



.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

#latest-releases-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-standard);
}

#latest-releases-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 2rem; /* Add padding */
    margin: 1rem 0; /* Space between sections */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-family: 'Roboto', sans-serif; 
}

/* Section Styles */
.section {
    padding: 5rem 2rem; /* Keep your original padding */
    scroll-margin-top: 100px; 
}

.section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif; 
    font-size: 2rem; 
    margin-top: 0;
}

/* Grid Layouts */
.artists-grid,        /* start */
.releases-grid,
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
/* dont t */
@media (max-width: 768px) {     
    .artists-grid,
    .releases-grid,
    .career-grid {
        display: flex; /* Use flexbox for horizontal scrolling */
        overflow-x: auto; /* Enable horizontal scrolling */
        padding: 10px; /* Optional padding */
    }

    .artists-grid .card,
    .releases-grid .card,
    .career-grid .card {
        flex: 0 0 auto; /* Prevent cards from shrinking */
        margin-right: 10px; /* Space between cards */
    }
}


/* Hide scrollbar for Internet Explorer and Edge */


/* Cards */
.card {
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition-standard);
    text-align: center;
    padding: 16px;
    margin: 16px; 
    flex: 1;
    transition: transform 0.3s; 
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    border: 1px solid rgba(44, 62, 80, 0.1);
}
@media (max-width: 768px) {
    .card {
        margin: 8px; /* Reduce margin on mobile */
        padding: 12px; /* Reduce padding on mobile */
    }
}
.card-container {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow cards to wrap onto the next line */
    justify-content: space-between; /* Space out cards */
}
@media (max-width: 480px) {
    .card {
        flex: 0 0 100%; /* Full width on small screens */
        margin: 4px; /* Further reduce margin */
    }
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card img {
    width: 100px; /* Set a fixed width */
    height: 100px; /* Set a fixed height */
    border-radius: 50%; /* Makes the image round */
    object-fit: cover;
    margin-top: 20px;
    align-items: center; /* Ensures the image covers the area */
}  

.card-content {
    padding: 1.5rem;
}

@media (max-width: 480px) {
    .card-content {
        padding: 8px; /* Further reduce padding on mobile phones */
    }

    .card-content h2 {
        font-size: 1.2rem; /* Smaller for mobile phones */
    }
    
    .card-content p {
        font-size: 0.8rem; /* Even smaller for mobile phones */
    }
}

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

.career-grid .card img {
    width: 100%;
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image covers the area */
}

.career-grid .card-content {
    padding: 1rem;
}

.career-grid .card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: sans-serif;
    font-weight: lighter;
}

.career-grid .card-content p {
    color: #666;
}

/* Release card specific styles */
.releases-grid .card {
    position: relative;
    min-height: 200px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.releases-grid .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

.releases-grid .card-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Dark mode adjustments */
body.dark-mode .releases-grid .card::before {
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.8)
    );
}

body.dark-mode .card {
    background: var(--dark-surface-2);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
}

.contact-form button {
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-standard);
}

.contact-form button:hover {
    background: var(--accent-color);
}

/* Modal */

.modal.show {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    height: 90%;
    position: relative;
    text-align: center;
    
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
    position: relative; /* Change from fixed to relative */
    margin: 20px auto; /* Add margin for spacing */
    width: 90%; /* Adjust width */
    max-width: 600px; /* Maximum width */
    height: auto; /* Allow content to determine height */
    min-height: 200px; /* Minimum height */
    max-height: none; /* Remove max-height limitation */
    overflow: visible; /* Allow content to be visible */
    border-radius: 20px; /* Consistent radius */
    max-height: 85vh; /* Limit height to 85% of viewport */
    display: flex;
    flex-direction: column;
    max-height: min(85vh, 800px);
    margin: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
   
}

.modal.show .modal-content {
    


    opacity: 1;
}

body.dark-mode .modal-content {
    color: var(--dark-text);
    background-color: var(--dark-surface);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.close-modal:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.modal-header {
    position: sticky;
    top: 0;
    background: inherit;
    padding: 1rem;
    border-bottom: 1px solid var(--accent-color);
    z-index: 1;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    position: relative;
    min-height: 100px;
    max-height: calc(80vh - var(--modal-header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    position: relative;
    max-height: calc(85vh - var(--modal-header-height) - var(--modal-padding) * 2);
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: var(--modal-padding);
    max-height: calc(85vh - var(--modal-header-height));
    scrollbar-gutter: stable;
}

.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal.loading .modal-loading {
    display: flex;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

body.dark-mode .modal-loading {
    background: var(--dark-overlay);
}

body.dark-mode .close-modal {
    color: var(--dark-text);
}

body.dark-mode .close-modal:hover {
    background-color: rgba(255, 255, 255, 0.1);
}



@keyframes modalSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95%;
        margin: auto;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }

    .modal-content {
        width: 95%;
        margin: 10px auto;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        overflow: hidden;
        position: relative;
        height: auto;
        max-height: 85vh;
    }

    .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        flex: 1;
        padding: var(--modal-padding);
        height: auto;
        max-height: calc(85vh - var(--modal-header-height));
        will-change: transform;
    }
}

.modal:focus-within {
    outline: none;
}
.modal-content h2{
    font-weight: 300; /* Light font weight */
    font-family: sans-serif;
}

.modal *:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.career-grid .card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    overflow: hidden;
}

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

.career-grid .card-content {
    padding: 1rem;
}

.career-grid .card-content p {
    color: #666;
}

.footer {
    background-color: #f1f1f1; /* Light background */
    padding: 2rem 1rem; /* Padding for the footer */
    text-align: center; /* Center text */
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Space between sections */
    flex-wrap: wrap; /* Wrap on smaller screens */
}

.footer-section {
    flex: 1; /* Equal width for all sections */
    margin: 1rem; /* Margin around sections */
}

.footer-section h4 {
    margin-bottom: 1rem; /* Space below headings */
    font-size: 1.2rem; /* Font size for headings */
}

.footer-section p,
.footer-section ul {
    font-size: 0.9rem; /* Font size for text */
}

.footer-section ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.footer-section ul li {
    margin: 0.5rem 0; /* Space between links */
}

.footer-section a {
    text-decoration: none; /* Remove underline */
    color: #000; /* Dark text color */
}

.footer-section a:hover {
    text-decoration: underline; /* Underline on hover */
}

.social-icons {
    display: flex; /* Flexbox for icons */
    gap: 1rem; /* Space between icons */
    justify-content: center; /* Center icons */
}

.social-icons a {
    color: #000; /* Icon color */
    font-size: 1.5rem; /* Icon size */
    transition: transform 0.3s ease; /* Smooth transition for zoom */
    display: inline-block; /* Needed for transform to work */
}

.social-icons a:hover {
    transform: scale(1.3); /* Zoom effect on hover */
}

/* Ensure dark mode icons also have the effect */
body.dark-mode .social-icons a:hover {
    transform: scale(1.3);
    color: #fff; /* Keep the color consistent in dark mode */
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 1rem; /* Space above bottom text */
    font-size: 0.8rem; /* Smaller font for copyright */
}

/* Responsive Styles */
@media (max-width: 768px) {

    .footer-content {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center align */
    }

    .footer-section {
        margin: 1rem 0; /* Margin for stacked sections */
    }
}

/* hero button */
.black-button {
    background-color: rgba(0, 0, 0, 0.5); /* Dark transparent background */
    color: #ffffff; /* White text */
    padding: 10px 20px; /* Padding for the button */
    border: 1px solid white; /* White border */
    border-radius:50px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 10px; /* Font size */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
    backdrop-filter: blur(5px); /* Apply blur effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    font-family: sans-serif;
    font-weight: lighter;
}

.black-button:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly more opaque on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.hero-content h1 {
    font-family: 'Roboto', sans-serif; /* Ensure you have the font imported */
    font-weight: 300; /* Light weight */
    font-style: italic; /* Italic style */
    font-size: 36px; /* Adjust size as needed */
    text-align: center; /* Center text */
    margin: 0; /* Remove default margin */
}

.hero-content .hero-subtitle {
    font-family: 'Roboto', sans-serif; /* Ensure you have the font imported */
    font-weight: 200; /* Thinner than the heading */
    font-size: 10px; /* Smaller size */
    text-align: center; /* Center text */
    margin: 10px 0; /* Add some margin for spacing */
    color: #ffffff; /* White text color */
    transition: opacity 0.5s ease-in-out;
}
.hero-subtitle:hover {
    transform: scale(1.1); /* Scale the subtitle to 110% when hovered */
}

/*dark mode*/


body.dark-mode .navbar a {
    color: var(--dark-text); /* Light text for links */
}

body.dark-mode .button {
    background-color: var(--dark-surface-2); /* Dark button */
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}
body.dark-mode .button:hover {
    background-color: var(--dark-accent); /* Light hover effect for dark mode */
    color: var (--dark-text);
}
body.dark-mode a {
    color: var(--dark-text); /* Light text for links */
}
body.dark-mode .menu-toggle span {
    background-color: var(--dark-text); /* Change icon color to white in dark mode */
}
body.dark-mode .logo {
    color: var(--dark-text); /* Light text for the logo in dark mode */
}

body.dark-mode .send-message-button {
    background-color: var(--dark-surface-2); /* Dark background for the button in dark mode */
    color: var(--dark-text); /* Light text color */
    border: 1px solid var(--dark-border); /* Optional border for contrast */
}

body.dark-mode .send-message-button:hover {
    background-color: var(--dark-accent); /* Light hover effect for dark mode */
    color: var(--dark-text);
}
body.dark-mode .card {
    background-color: var(--dark-surface-2); /* Dark background for artist cards */
    color: var(--dark-text); /* Light text color */
    border: 1px solid var(--dark-border); /* Optional border for contrast */
}
body.dark-mode .navbar a  {
    color: var(--dark-text); /* Light text color */
}

body.dark-mode .footer {
    background: var(--dark-surface);
    color: var(--dark-text);
}

body.dark-mode .footer a {
    color: var(--dark-text-secondary);
}

body.dark-mode .footer a:hover {
    color: var(--dark-accent);
}

body.dark-mode .footer-section h4 {
    color: var(--dark-text); /* Light color for section headings */
}

body.dark-mode .social-icons a {
    color: var(--dark-text); /* Light color for social media icons */
}

body.dark-mode .footer-bottom {
    color: var(--dark-text); /* Light color for copyright text */
}
@media (max-width: 768px) {
    body.dark-mode .nav-links {
        background: var(--dark-surface); /* Dark background for the opened mobile menu */
        color: var(--dark-text); /* Light text color for links */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

#about .about-content p {
    font-style: italic; /* Italicize the text */
    font-size: 1rem; /* Example font size */
    line-height: 1.5; /* Example line height for readability */
    text-align: justify;
}

#modal input, .dialog input,
.popup textarea, #modal textarea, .dialog textarea {
    padding: 10px; /* Padding inside input fields */
    margin: 10px 0; /* Margin between fields */
    border: 1px solid #ccc; /* Border for input fields */
    border-radius: 20px; /* Rounded corners */
    font-size: 1rem; /* Font size */
    width: 100%; /* Full width */
    box-sizing: border-box;
    background-color: transparent;
    
}


#modal input:hover, 
#modal textarea:hover {
    /* Change border color on hover */
    box-shadow: 0 0 10px #5c5c5c; /* Light mode glow effect */
    outline: none; /* Disable default outline */
    border-color: transparent;
    caret-color: rgb(45, 45, 45); /* Change blinking text cursor color to white */
    font-weight: 300; /* Disable border color on focus */
}

body.dark-mode #modal input:hover, 
body.dark-mode #modal textarea:hover {
    /* Change border color on hover in dark mode */
    box-shadow: 0 0 10px #e9e9e9; 
    caret-color: white;/* Dark mode glow effect */
}

#modal input::placeholder, 
.dialog input::placeholder,
.popup textarea::placeholder, 
#modal textarea::placeholder, 
.dialog textarea::placeholder {
    font-family: sans-serif;
    font-weight: lighter; /* New font size for placeholder */
}
body.dark-mode #modal input, 
body.dark-mode .dialog input,
body.dark-mode .popup textarea, 
body.dark-mode #modal textarea, 
body.dark-mode .dialog textarea {
    color: var(--dark-text); /* Change text color to white in dark mode */
    background: var(--dark-surface-2);
    border: 1px solid var(--dark-border);
}
/* Media query for desktop or higher screens */
@media (min-width: 1024px) {
    #modal input, .dialog input,
    .popup textarea, #modal textarea, .dialog textarea {
        max-width: 30%;
    }
}
/* Media query for tablet or higher screens */
@media (min-width: 700px) {
    #modal input, .dialog input,
    .popup textarea, #modal textarea, .dialog textarea {
        max-width: 30%;
    }
}

#finds {
    text-align: center;
}

.about-content .send-message-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 50%; /* Full width */
    max-width: 400px; /* Maximum width to prevent it from being too large */
    padding: 10px 15px; /* Padding for the button */
    cursor: pointer;
    transition: var(--transition-standard);
    text-align: center;
    height: 45px;
}
#finds .about-content  button:hover {
    background: var(--accent-color);
}

/*dark mode for discord button */
body.dark-mode #finds .about-content .send-message-button {
    background-color: var(--dark-surface-2); /* Dark background for the button in dark mode */
    color: var(--dark-text); /* Light text color */
    border: 1px solid var(--dark-border); /* Optional border for contrast */
}

/* Dark mode hover effect */
body.dark-mode #finds .about-content .send-message-button:hover {
    background-color: var(--dark-accent); 
    color: var(--dark-text);
}

/* popup stuff */
/* Button styles for popup, modal, and dialog */
#modal button,
.dialog button {
    font-family: sans-serif; /* Cool font */
    font-weight: bold; 
    font-size: 16px; /* Default font size */
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: rgb(60, 60, 60);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .dialog button {
        padding: 1.5rem;
        font-size: 1.25rem;
        width: auto;
    }
}

/* Media query for extra large screens */
@media (min-width: 1200px) {
    .dialog button {
        padding: 2rem;
        font-size: 1.5rem;
        width: auto;
    }
}

/* Hover effect for buttons */
.popup button:hover,
#modal button:hover,
.dialog button:hover {
    background-color: #363636; /* Darker background on hover */
}


/* Dark mode button styles */
body.dark-mode .popup button,
body.dark-mode #modal button,
body.dark-mode .dialog button {
    background-color: #444; /* Dark background for dark mode */
    color: #ffffff; /* Light text color */
}

/* Dark mode hover effect */
body.dark-mode .popup button:hover,
body.dark-mode #modal button:hover,
body.dark-mode .dialog button:hover {
    background-color: #666; /* Darker shade on hover in dark mode */
}
.popup img,
#modal img,
.dialog img {
    width: 150px; /* Fixed width */
    height: 150px; /* Fixed height to maintain square ratio */
    border-radius: 50%; /* Make the image rounded */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    border: 2px solid #252628;
}
#home, #artists, #finds, #releases, #career, #about, #contact {
    padding-top: 60px; /* Adjust this value as needed */
    margin-top: -60px; /* This offsets the padding to maintain layout */
}

.record {
    font-weight: bold; /* Make "Record" bold */
    color: #000; /* Color for "Record" */
}

.flip {
    font-weight: lighter; /* Make "Flip" lighter */
    color: #888; /* Lighter color for "Flip" */
    display: inline-block;  /* Animation properties */
    transition: transform 0.6s ease;
}
.flipping {
    animation: flipAnimation 0.5s forwards; /* Animation properties */
    transform: rotateY(180deg);
}

@keyframes flipAnimation {
    0% {
        transform: rotateX(0deg); /* Initial state */
    }
    50% {
        transform: rotateX(180deg); /* Flipped state */
        color: #000; /* Change color to match "Record" while flipped */
    }
    100% {
        transform: rotateX(0deg); /* Return to original state */
    }
}

body.dark-mode .navbar .record {
    color: white; /* Dark color for the text in dark mode */
}

.hero-logo {
    transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
}
.hero-logo:hover {
    transform: scale(1.1); /* Scale the image to 110% when hovered */
}

section h1, 
section h2 {
    transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
}

section h1:hover,
section h2:hover {
    transform: scale(1.1); /* Scale the heading to 110% when hovered */
}

@media (max-width: 768px) {
    .nav-links,
    .artists-grid,
    .releases-grid,
    .career-grid,
    .footer-content,
    .card,
    .modal-content {
        /* Mobile styles */
        width: 100%;
        margin: calc(var(--spacing-standard) / 2);
        
    }

    .card {
        flex: 0 0 calc(100% - var(--spacing-standard));
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 90%;
        margin: 15px auto;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 20px;
        transform: translateY(-150%); /* Start further up for smoother animation */
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1); /* Smooth easing */
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }


  

    .nav-links li {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease-out;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s; /* Slight delay for items to follow menu */
    }

    body.dark-mode .nav-links {
        background: var(--dark-surface);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Add these new styles for heading animations */
.heading-animation {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.heading-zoom {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .heading-animation {
        transform: scale(0.9);
    }
    
    .heading-zoom {
        transform: scale(1.02);
    }
}


#modal .careert {
    font-family: 'Roboto', sans-serif; /* Cool font */
    text-transform: uppercase; /* All text capital */
    font-weight: 900; /* Very thick font weight */
}

#modal .modalbtn a {
    font-family: 'Arial', sans-serif; /* Professional font */
    font-size: 16px; /* Default font size */
    text-decoration: none;
    color: inherit;
    padding: 5px 10px; /* Add space between text and border *//* Smooth transition for zoom effect */
}


@media (max-width: 600px) {
    #modal .modalbtn a {
        font-size: 14px; /* Smaller font size for mobile */
    }
}

#modal .modalbtn:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

.test-mode-banner {
    background-color: #0b0b0b;
    color: #ffffff;
    padding: 2px;
    font-weight: bold;
    top: 58px;
    position: fixed;
    font-size: 10px;
    width: 100%;
    z-index: 1000;
    animation: backgroundColorChange 10s infinite;
    display: flex;
    justify-content: center; /* Add this line to center horizontally */
}/* Add this line to center horizontally */


.test-mode-banner strong {
    text-align: center;
    margin: 0 auto; /* Add this line to ensure strong element is centered */
}

/* Keyframes for the background color animation */
@keyframes backgroundColorChange {
    0% {
        background-color: #01a8d7;
    }
    25% {
        background-color: #008cff;
    }
    50% {
        background-color: #e100ff;
    }
    75% {
        background-color: #ff0000;
    }
    100% {
        background-color: #ffaa00;
    }
}

/* Modern Mobile Modal Styles 2025 */
.modal {
    --modal-radius: 20px;
    --modal-padding: 20px;
    --modal-header-height: 60px;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    background-color: #00000090;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative; /* Change from fixed to relative */
    max-width: 600px;
    width: 90%;
    background: var(--primary-color);
    margin: auto;
    border-radius: var(--modal-radius);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-handle {
    width: 36px;
    height: 4px;
    background: var(--border, #e2e8f0);
    border-radius: 2px;
    margin: 12px auto;
}

.modal-header {
    padding: 0 var(--modal-padding);
    height: var(--modal-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text, #1a1a1a);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary, #64748b);
    transition: background-color 0.2s;
}

.modal-close:active {
    background: var(--surface-hover, #f3f4f6);
}

.modal-body {
    padding: var(--modal-padding);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.modal-actions {
    padding: var(--modal-padding);
    border-top: 1px solid var(--border, #e2e8f0);
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-btn:active {
    transform: scale(0.98);
}

.modal-btn-primary {
    background: var(--primary, #0284c7);
    color: white;
}

.modal-btn-secondary {
    background: var(--surface-secondary, #f1f5f9);
    color: var(--text, #1a1a1a);
}

/* Dark Mode Support */
[data-theme="dark"] .modal-content {
    background: var(--surface, #1e293b);
}

[data-theme="dark"] .modal-title {
    color: var(--text, #f8fafc);
}

[data-theme="dark"] .modal-btn-secondary {
    background: var(--surface-secondary, #334155);
    color: var(--text, #f8fafc);
}

/* Gesture Support */
@media (hover: none) {
    .modal-content {
        touch-action: none;
    }
}

/* Animation Keyframes */
@keyframes modalPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.modal-pulse {
    animation: modalPulse 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Updated scrollbar styles for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--surface-secondary, #f1f5f9);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--border, #e2e8f0);
    border-radius: 4px;
}

/* Dark mode scrollbar */
[data-theme="dark"] .modal-body::-webkit-scrollbar-track {
    background: var(--surface-secondary, #334155);
}

[data-theme="dark"] .modal-body::-webkit-scrollbar-thumb {
    background: var(--border, #475569);
}

/* Modal Content Adjustments */
.modal-body img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.modal-body iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.modal-body > * {
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.modal-body table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Responsive Content Scaling */
@media (max-width: 768px) {
    .modal-body {
        padding: calc(var(--modal-padding) / 2);
    }

    .modal-body h1 {
        font-size: 1.5rem;
    }

    .modal-body h2 {
        font-size: 1.25rem;
    }

    .modal-body p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .modal {
        align-items: flex-end;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: var(--modal-radius) var(--modal-radius) 0 0;
        transform: translateY(100%);
    }

    .modal.show .modal-content {
        transform: translateY(0);
    }
}

/* Desktop enhancements */
@media (min-width: 769px) {
    .modal-content {
        max-height: 85vh;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.494);
        color: var(--secondary-color);
    }

    .modal-handle {
        display: none; /* Hide drag handle on desktop */
    }
}

/* Desktop Modal Styles */
@media (min-width: 769px) {
    .modal {
        padding: 2rem;
    }
    
    

    .modal.show .modal-content {
        transform: scale(1);
    }

    .modal-handle {
        display: none;
    }

    body.dark-mode .modal-content {
        background: var(--dark-surface);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(241, 8, 8, 0);
    }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }

   .modal-content {
        width: 90%;
        max-width: 600px;
        height: auto;
        max-height: 85vh;
        border-radius: 20px;
        margin: auto;
        transform: scale(0.95);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.16);
        background: rgba(255, 255, 255, 0.89); /* Slightly transparent white for desktop */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    }

    .modal.show .modal-content {
        transform: translateY(0);
    }

    .modal-body {
        max-height: calc(var(--modal-mobile-height) - var(--modal-header-height));
    }

    .modal-header {
        padding: 16px;
        position: relative;
    }

    .modal-handle {
        display: block;
        width: 36px;
        height: 4px;
        background: var(--border);
        border-radius: 2px;
        margin: 8px auto;
    }

    body.dark-mode .modal-content {
        background: var(--dark-surface);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Preserve dark mode on mobile */
body.dark-mode .modal-content {
    background: var(--dark-surface);
}

.section {
        
            transition: opacity 1s ease-out, transform 1s ease-out;
        }
        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .left {
            transform: translateX(-100px);
        }
        .right {
            transform: translateX(100px);
        }
        .top {
            transform: translateY(-100px);
        }
        .bottom {
            transform: translateY(100px);
        }





/* new nav */
