/* Background Video Styles */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background iframe,
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Better than scale for video tags */
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darkens the video so text pops */
    z-index: 1;
}

@media (max-width: 768px) {
    .video-background {
        inset: 0;
        min-height: 100%;
    }
    .video-background video,
    #bg-video {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Contact Section Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1400px;
    width: 90%;
    min-height: 60vh;
    height: auto;
    /* Match bio card exactly */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

/* Entrance animation for contact card */
.contact-container {
    opacity: 0;
    transform: translateY(18px);
    animation: contactReveal 700ms cubic-bezier(0.22,0.8,0.2,1) 120ms forwards;
}
@keyframes contactReveal { to { opacity: 1; transform: translateY(0); } }

/* Staggered field reveal */
.contact-form .form-group { opacity: 0; transform: translateY(8px); animation: fieldReveal 520ms ease forwards; }
.contact-form .form-group:nth-child(1){ animation-delay: 180ms; }
.contact-form .form-group:nth-child(2){ animation-delay: 260ms; }
.contact-form .form-group:nth-child(3){ animation-delay: 340ms; }
.form-actions { animation: fieldReveal 520ms ease forwards; animation-delay: 420ms; }
@keyframes fieldReveal { to { opacity: 1; transform: translateY(0); } }

/* Success animation for contact card */
.contact-success {
    animation: successPulse 900ms ease;
}
@keyframes successPulse {
    0% { box-shadow: 0 8px 24px rgba(31,139,211,0.12); transform: translateY(0); }
    50% { box-shadow: 0 18px 48px rgba(31,139,211,0.22); transform: translateY(-6px); }
    100% { box-shadow: 0 10px 30px rgba(31,139,211,0.14); transform: translateY(0); }
}

/* Dark Mode Variant for Contact */
.contact-container.dark-mode {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Purple Theme for Contact (User Requested) */
.contact-container.purple-theme {
    background: #8e44ad;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(142, 68, 173, 0.4);
}

.contact-container.purple-theme .social-icon {
    color: #ecf0f1;
}

.contact-container.purple-theme .social-icon:hover {
    color: #fff;
}

/* Bio Section Styles */
.bio-content {
    max-width: 800px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-about {
    /* no image — keep as decorative left column (matches bio spacing) */
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(30,16,35,0.08), rgba(0,0,0,0.06));
}

/* make contact info area mirror bio text area */
.contact-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.contact-info h3 {
    font-family: 'Averta', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 0.95;
}

.contact-about h3 {
    font-family: 'Averta', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #c8d6e5;
}

.contact-about p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

/* Keep form compact and centered within left column so fields align nicely */
.contact-form {
    max-width: 680px;
    justify-self: start;
    align-self: start;
    width: 100%;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #e8e5ea;
}

.contact-form input,
.contact-form textarea {
    min-height: 44px;
    line-height: 1.3;
}

/* Telefon ve Mesaj alanları tam genişlik (form 4 grup: ad, e-posta, telefon, mesaj) */
.contact-form .form-group:nth-child(3),
.contact-form .form-group:nth-child(4) {
    grid-column: 1 / -1;
}

/* Form actions span full width below */
.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-group label {
    color: #c8d6e5;
    /* Light text for dark mode */
    font-weight: bold;
    font-size: 0.9rem;
    font-family: 'Averta', sans-serif;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-family: inherit;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    transition: box-shadow 0.18s ease, transform 0.12s ease;
    width: 100%;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(0, 0, 0, 0.6);
}

.submit-btn {
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: 'Averta', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.contact-info {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
    color: #fff;
    justify-content: center;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
    font-family: 'Averta', sans-serif;
}

.social-links-dark {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.social-icon {
    text-decoration: none;
    color: #c8d6e5;
    font-weight: 500;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Centered social row for contact */
.social-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1rem;
}
.social-row .social-icon {
    display: inline-flex;
    flex-direction: row;
    gap: 12px;
    width: auto;
    height: 48px;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    padding: 8px 12px;
    text-decoration: none;
}
.social-row .social-icon svg { display: block; width:28px; height:28px; flex: 0 0 28px; }
.social-row .social-icon:hover {
    transform: translateY(-4px);
    background: linear-gradient(90deg,#6f2aa5,#1f8bd3);
    box-shadow: 0 12px 28px rgba(31,139,211,0.14);
}
.social-label {
    display: block;
    font-size: 1rem;
    color: #f1eef6;
    opacity: 0.95;
    line-height: 1;
    margin-left: 2px;
}

/* Center contact info text */
.centered-contact .contact-info-inner {
    text-align: center;
}
.centered-contact h3 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    color: #fff;
}
.contact-email, .contact-phone {
    margin: 0.25rem 0;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

/* Override inputs for purple theme */
.contact-container.purple-theme input,
.contact-container.purple-theme textarea {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-container.purple-theme .submit-btn {
    background: #fff;
    color: #8e44ad;
    /* Purple text for button */
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        width: 96%;
        padding: 1rem;
    }

    .contact-about,
    .contact-info {
        padding: 1.25rem;
        text-align: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}

/* Music Embed Grid for Singles/EPs - More Compact */
.singles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.spotify-embed-wrapper {
    position: relative;
    width: 100%;
    height: 152px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.15) 0%, rgba(25, 20, 20, 0.4) 100%);
    min-height: 152px;
}

.embed-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.2) 0%, rgba(25, 20, 20, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: opacity 0.4s ease;
    z-index: 1;
    opacity: 1;
}

.embed-placeholder::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(30, 215, 96, 0.4);
    border-top-color: rgba(30, 215, 96, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.spotify-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotify-embed-wrapper iframe.loaded {
    opacity: 1;
}

.spotify-embed-wrapper iframe.loaded ~ .embed-placeholder {
    opacity: 0;
    pointer-events: none;
}

/* Discography grid and album cards */
.music {
    padding: 3rem 0;
}

.music-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Make music/discography container match the About (bio) card style */
.music-grid-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem 2rem;
}

.discography-grid {
    /* Horizontal single-row scroller for albums */
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: start;
    flex-wrap: nowrap; /* prevent wrapping to a new row */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* no extra bottom padding to avoid native scrollbar space */
}

/* Hide native scrollbar across browsers but keep scrolling functional */
.discography-grid::-webkit-scrollbar {
    height: 0;
    width: 0;
    background: transparent;
}
.discography-grid::-webkit-scrollbar-track {
    background: transparent;
}
.discography-grid::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
}
.discography-grid.small-cards {
    gap: 1rem;
}

/* Each album becomes a horizontally scrollable item (no wrap) */
.discography-grid .album-card {
    flex: 0 0 auto;
    min-width: 260px;
    max-width: 340px;
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    .discography-grid .album-card {
        min-width: 220px;
        max-width: 280px;
    }
}
/* Her iki liste de mobilde daha geniş görünsün (yan yana 2 kart görünür) */
@media (max-width: 600px) {
    .discography-grid .album-card {
        min-width: 200px;
        max-width: 75vw;
    }
}

/* Scroll controls (arrows) for horizontal album scroller */
.music-grid-section {
    position: relative; /* container for arrows */
}
.scroller-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: background 180ms ease, transform 120ms ease;
}
.scroller-btn:hover { background: rgba(0,0,0,0.6); transform: translateY(-50%) scale(1.03); }
.scroller-btn.left { left: 8px; }
.scroller-btn.right { right: 8px; }
.scroller-btn svg { width:18px; height:18px; fill: #fff; }

/* Hide native scrollbar in favor of subtle thumb */
.discography-grid {
    scrollbar-width: none; /* Firefox */
    scrollbar-color: transparent transparent;
    -ms-overflow-style: none; /* IE 10+ */
}

.album-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.03));
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 300ms cubic-bezier(0.22,0.8,0.2,1), box-shadow 300ms;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* Entrance animation for album cards (match exhibitions) */
.album-card {
    transform: translateY(28px);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.22,0.8,0.2,1), opacity 560ms ease, box-shadow 300ms;
    will-change: transform, opacity;
}
.album-card.in-view {
    transform: translateY(0);
    opacity: 1;
}
/* (Caption overlay removed per request; preview text shown on the button) */

.video-thumbs {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
    width: 100%;
}

.video-thumbs::-webkit-scrollbar {
    height: 4px;
}
.video-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.album-card.small {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem;
}

.album-cover {
    width: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-color: rgba(20,12,20,0.3);
}

.album-card.small .album-cover {
    width: 100px;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    border-radius: 8px;
    flex: 0 0 100px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}
.album-card.small .album-cover::after {
    display: none;
}
.album-card.small .album-cover .album-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.album-card.small .album-cover .placeholder-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#2c3e50,#8e44ad);
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    font-family: 'Averta', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.album-card.small .album-cover .placeholder-fallback.show {
    display: flex;
}
.album-card.small .album-info {
    padding: 0.5rem 0.6rem;
    gap: 0.35rem;
    min-width: 0;
    font-family: inherit;
    font-style: normal;
}
.album-card.small .album-title {
    font-family: inherit;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.album-card.small .album-year {
    display: block;
    font-family: inherit;
    font-style: normal;
    font-size: 0.88rem;
    margin-top: 0.15rem;
}
.album-card.small .open-spotify-btn {
    font-family: inherit;
    font-style: normal;
    padding: 6px 12px;
    font-size: 0.9rem;
    margin-top: 6px;
}

/* Placeholder cover for items without images */
.album-cover.placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#2c3e50,#8e44ad);
    color: #fff;
    border-radius: 6px;
    min-height: 84px;
    width: 84px;
    flex: 0 0 84px;
    text-align: center;
    padding: 6px;
    box-shadow: inset 0 -6px 18px rgba(0,0,0,0.15);
}
.album-cover.placeholder .placeholder-inner {
    font-family: inherit;
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1.1;
}

/* New: actual <img> cover inside album cards */
.album-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
    width: 100%;
}

.album-card .open-spotify-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 6px;
    font-family: inherit;
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 180ms ease, transform 160ms ease, border-color 180ms ease;
    border: 1px solid transparent;
}
.album-card:hover .open-spotify-btn {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.album-card.small:hover .open-spotify-btn,
.album-card.small .open-spotify-btn:hover {
    background: #1DB954;
    color: #fff;
    border-color: #1DB954;
}

.album-controls {
    padding: 10px 12px 14px;
}
.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 8px 12px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 400;
    font-family: inherit;
    font-style: normal;
    transition: background 160ms ease, transform 120ms ease, border-color 160ms ease;
}
.preview-btn:hover {
    background: #fa243c;
    border-color: #fa243c;
    transform: translateY(-2px);
    color: #fff;
}

.album-embed {
    padding: 0 12px 18px;
    display: none;
}
.album-embed.show {
    display: block;
}

.album-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.album-title {
    margin: 0;
    font-size: 1.05rem;
    color: #f6f3f7;
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}
.album-desc, .album-info p {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    text-align: justify;
}
.album-year {
    font-family: inherit;
    font-style: normal;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.album-desc {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Ensure subsection headers match page font (same as body) */
.sub-section-title {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 1.35rem;
    color: #e8e5ea;
    border-left-width: 2px;
    padding-left: 0.9rem;
    margin-bottom: 1rem;
}

/* Action buttons use page font */
.action-btn, .preview-btn, .open-spotify-btn {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
}

/* Apple-music style action buttons: subtle by default, colored on hover */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
}
.action-btn:hover {
    transform: translateY(-3px);
    background: #fa243c;
    border-color: #fa243c;
    color: #fff;
    box-shadow: 0 12px 30px rgba(250,36,60,0.18);
}

/* Primary Apple Music / Purchase CTA (make it look like a purchase button) */
.platform-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.apple-music-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#ff8a00,#ff2950);
    color: #fff;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 14px 42px rgba(255,41,80,0.22), 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 160ms cubic-bezier(.2,.9,.2,1), box-shadow 160ms ease;
    border: 1px solid rgba(255,255,255,0.12);
    z-index: 10;
    will-change: transform, box-shadow;
}
.apple-music-btn .apple-btn-text {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.apple-music-btn .apple-icon {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: bottom 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.apple-music-btn .apple-icon img {
    width: 36px;
    height: 36px;
    display: block;
    filter: none;
}
.apple-music-btn:hover .apple-btn-text,
.apple-music-btn:active .apple-btn-text {
    opacity: 0;
    visibility: hidden;
}
.apple-music-btn:hover .apple-icon,
.apple-music-btn:active .apple-icon {
    bottom: 0;
}
.apple-music-btn:hover .apple-icon img,
.apple-music-btn:active .apple-icon img {
    width: 40px;
    height: 40px;
}
.apple-music-btn:hover,
.apple-music-btn:active {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 28px 56px rgba(255,41,80,0.32), 0 8px 20px rgba(0,0,0,0.3);
}

@media (max-width: 720px) {
    .apple-music-btn {
        padding: 14px 22px;
    }
    .apple-music-btn .apple-btn-text {
        font-size: 1rem;
    }
    .apple-music-btn .apple-icon img {
        width: 32px;
        height: 32px;
    }
    .apple-music-btn:hover .apple-icon img,
    .apple-music-btn:active .apple-icon img {
        width: 36px;
        height: 36px;
    }
}

/* Subtle pulse to draw attention without being annoying */
@keyframes applePulse {
    0% { box-shadow: 0 8px 24px rgba(255,41,80,0.12); transform: translateY(0) scale(1); }
    50% { box-shadow: 0 20px 48px rgba(255,41,80,0.18); transform: translateY(-2px) scale(1.01); }
    100% { box-shadow: 0 8px 24px rgba(255,41,80,0.12); transform: translateY(0) scale(1); }
}
.apple-music-btn.pulse {
    animation: applePulse 2200ms ease-in-out infinite;
}

/* Make the specific load-more button neutral initially (like Apple Music link style) */
#load-more-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: 'Averta', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    transition: all 180ms ease;
}
#load-more-btn:hover {
    background: #fa243c;
    border-color: #fa243c;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(250,36,60,0.18);
}

.embed-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, rgba(30,215,96,0.06), rgba(0,0,0,0.12));
}

.embed-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.36s ease;
}

.embed-wrapper iframe.loaded {
    opacity: 1;
}

.embed-wrapper .embed-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30,215,96,0.06), rgba(0,0,0,0.12));
    z-index: 1;
}

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

/* Compact the Contact section so it doesn't take up so much vertical space */
section#contact {
    min-height: auto;
    padding: 1.5rem 0;
}
section#contact .contact-container {
    padding: 1rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Slightly reduce interior padding so the card is more compact */
section#contact .contact-info,
section#contact .contact-about {
    padding: 1.25rem;
}

@media (max-width: 680px) {
    .discography-grid {
        grid-template-columns: 1fr;
    }
    .album-card.small {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .singles-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 0.8rem;
    }
}

.hidden-embed {
    display: none;
}

.hidden-embed.show {
    display: block;
}

@media (max-width: 600px) {
    .singles-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

/* Exhibition Grid - Vertical multi-column layout */
.exhibition-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
    padding: 1rem 12px;
    justify-items: stretch;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}
/* make the grid scrollable with limited height so auto-scroll moves content */
/* no internal scrolling; grid flows with page for vertical layout */

/* Card sizing for vertical grid */
.exhibition-card {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .exhibition-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .exhibition-card {
        max-width: 420px;
    }
}

@media (max-width: 900px) {
    .exhibition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .exhibition-card {
        max-width: 320px;
    }
}

@media (max-width: 600px) {
    /* Mobile: single column, larger images but not full-bleed */
    .exhibition-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 600px;
    }
    .exhibition-card {
        max-width: 100%;
    }
}

.exhibition-card {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 260ms ease, box-shadow 260ms ease;
    background: rgba(0,0,0,0.03);
}

.exhibition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

/* Slider styles */
.exhibition-slider {
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.slider-track {
    /* legacy slider layout (not used in gallery mode) */
    --slider-gap: 0;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - (2 * var(--slider-gap))) / 3);
    gap: 0;
    transition: transform 900ms cubic-bezier(0.22, 0.8, 0.2, 1);
    will-change: transform;
    align-items: start;
}

.slider-track .exhibition-card {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-track .exhibition-card,
.slider-track .exhibition-card * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .slider-track {
        /* 2 columns visible on tablet */
        grid-auto-columns: calc((100% - var(--slider-gap)) / 2);
    }
}

@media (max-width: 600px) {
    .slider-track {
        grid-auto-columns: 100%;
        grid-template-rows: repeat(2, auto); /* still 2 rows, but one column wide */
    }
}

/* Fixed image heights for consistent horizontal layout */
.slider-track .ex-image {
    height: 320px;
}

@media (max-width: 900px) {
    .slider-track .ex-image {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .slider-track .ex-image {
        height: 420px;
    }
}

.ex-image {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
    position: relative;
    background-color: rgba(142, 68, 173, 0.06); /* subtle fallback */
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: block;
}

/* User request: make exhibitions section display like mobile on desktop:
   - force single-column carousel (mobile size) on wider screens
   - increase spacing so layout is less cramped and less "upright"
   - slow down slider transition for smoother movement */
@media (min-width: 900px) {
    .slider-track {
        /* keep single-column slide but limit width so slides aren't too narrow visually */
        grid-auto-columns: min(680px, calc(100% - 48px));
        grid-template-rows: repeat(2, auto);
        gap: 0.5rem; /* reduced gap so cards sit closer */
        justify-content: center;
    }
    .slider-track .ex-image {
        height: 420px; /* mobile-like taller images */
    }
    .exhibition-card {
        max-width: 640px;
        margin: 0 auto;
        padding: 0.25rem;
    }
    .exhibition-slider {
        padding: 0.75rem 0;
    }
}

.ex-image.lazy-image {
    background-image: none !important;
}

.ex-image.lazy-image.loaded {
    background-color: transparent;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.36s ease, transform 0.45s ease;
    display: block;
}

.ex-image.loaded .thumbnail-img {
    opacity: 1;
}

.exhibition-card:hover .thumbnail-img {
    transform: scale(1.05);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 1;
    opacity: 1;
}

.image-placeholder::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid rgba(142, 68, 173, 0.4);
    border-top-color: rgba(142, 68, 173, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.ex-image.loaded .image-placeholder {
    opacity: 0;
    pointer-events: none;
}

.exhibition-card:hover .ex-image {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .exhibition-card {
        /* on small screens, allow cards to be larger but constrained by grid max-width */
        min-height: 180px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Darker, image-friendly background for exhibitions */
.exhibitions {
    background: linear-gradient(180deg, rgba(10,6,12,0.98) 0%, rgba(18,8,22,0.96) 100%);
    padding: 3.5rem 0;
    color: #e9e6ef;
}

/* Subtle parallax overlay (moved by JS) */
.background-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8,6,10,0.6), rgba(16,8,18,0.6));
    mix-blend-mode: multiply;
    transition: transform 0.2s linear;
    will-change: transform;
    z-index: 0;
}

/* Entrance animation for gallery cards — staggered for more movement */
.exhibition-card {
    transform: translateY(28px);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.22,0.8,0.2,1), opacity 560ms ease;
    will-change: transform, opacity;
}
.exhibition-card:nth-child(1) { transition-delay: 0ms; }
.exhibition-card:nth-child(2) { transition-delay: 60ms; }
.exhibition-card:nth-child(3) { transition-delay: 120ms; }
.exhibition-card:nth-child(4) { transition-delay: 180ms; }
.exhibition-card:nth-child(5) { transition-delay: 240ms; }
.exhibition-card:nth-child(6) { transition-delay: 300ms; }
.exhibition-card:nth-child(7) { transition-delay: 360ms; }
.exhibition-card:nth-child(8) { transition-delay: 420ms; }
.exhibition-card:nth-child(9) { transition-delay: 480ms; }
.exhibition-card:nth-child(10) { transition-delay: 540ms; }
.exhibition-card:nth-child(11) { transition-delay: 600ms; }
.exhibition-card:nth-child(12) { transition-delay: 660ms; }
.exhibition-card:nth-child(13) { transition-delay: 720ms; }
.exhibition-card:nth-child(14) { transition-delay: 780ms; }
.exhibition-card:nth-child(15) { transition-delay: 840ms; }
.exhibition-card:nth-child(16) { transition-delay: 900ms; }
.exhibition-card:nth-child(17) { transition-delay: 960ms; }
.exhibition-card:nth-child(18) { transition-delay: 1020ms; }
.exhibition-card:nth-child(19) { transition-delay: 1080ms; }
.exhibition-card:nth-child(20) { transition-delay: 1140ms; }
.exhibition-card.in-view {
    transform: translateY(0);
    opacity: 1;
}

/* Subtle continuous motion — light float per card for liveliness */
@keyframes exhibitionFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.exhibition-card.in-view .ex-image {
    animation: exhibitionFloat 4s ease-in-out infinite;
}
.exhibition-card:nth-child(odd).in-view .ex-image { animation-delay: 0s; }
.exhibition-card:nth-child(3n).in-view .ex-image { animation-delay: 0.5s; }
.exhibition-card:nth-child(4n).in-view .ex-image { animation-delay: 1s; }
.exhibition-card:nth-child(5n).in-view .ex-image { animation-delay: 1.5s; }
.exhibition-card:hover .ex-image {
    animation: none;
}

/* Add a cool hover transform and subtle rotation for 'cool' feel */
.exhibition-card:hover .ex-image {
    transform: scale(1.035) rotate(-0.4deg);
    transition: transform 420ms cubic-bezier(0.22,0.8,0.2,1);
}

/* Slight caption overlay */
.exhibition-card .caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    color: rgba(255,255,255,0.92);
    background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 300ms ease, transform 300ms ease;
}
.exhibition-card:hover .caption {
    opacity: 1;
    transform: translateY(0);
}

/* Make thumbnails crisp on dark background */
.thumbnail-img {
    filter: saturate(1.02) contrast(1.02);
}

/* Apply the same exhibition hover animation to album covers */
.album-cover-img {
    transition: transform 420ms cubic-bezier(0.22,0.8,0.2,1);
    will-change: transform;
}
.album-card:hover .album-cover-img {
    transform: scale(1.035) rotate(-0.4deg);
}
.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: auto;
    bottom: 16px;
    z-index: 2000;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
    max-width: 320px;
    margin: 0;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(18, 8, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}
.cookie-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(255,255,255,0.9);
    line-height: 1.25;
}
.cookie-text strong {
    font-weight: 300;
    color: #ce8eff;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    font-style: normal;
}
.cookie-text span { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.cookie-actions { display: inline-flex; flex-shrink: 0; }
.cookie-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.92);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.92rem;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.cookie-btn:hover { transform: translateY(-1px); border-color: rgba(206,142,255,0.55); }
.cookie-accept {
    background: rgba(206,142,255,0.25);
    border-color: rgba(206,142,255,0.7);
}
.cookie-accept:hover { background: rgba(206,142,255,0.35); }

@media (max-width: 680px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 12px;
    }
    .cookie-banner-inner {
        max-width: 100%;
    }
    .cookie-actions { justify-content: flex-end; }
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background: rgba(0, 0, 0, 0.1);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.caption-container {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

#caption-text {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-family: 'Averta', sans-serif;
}

#image-counter {
    font-size: 0.9rem;
    color: #aaa;
}

/* Landscape Phones */
@media (max-width: 768px) {
    #lightbox-img {
        max-height: 70vh;
    }
}

/* Responsive behavior for small-cards (Tekliler ve EP'ler)
   - Desktop: show a compact grid
   - Tablet/mobile: horizontal scroller for touch swipe
*/
@media (min-width: 900px) {
    .discography-grid.small-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
        align-items: start;
        overflow: visible;
    }
    .discography-grid.small-cards .album-card {
        flex: 0 1 auto;
        min-width: auto;
        max-width: none;
        scroll-snap-align: none;
    }
}

@media (max-width: 899px) {
    .discography-grid.small-cards {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }
    .discography-grid.small-cards .album-card {
        flex: 0 0 auto;
        min-width: 240px;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .discography-grid.small-cards::-webkit-scrollbar { height: 0; width: 0; background: transparent; }
}

/* Mobil: iki kart yan yana görünsün, liste daha geniş hissi */
@media (max-width: 600px) {
    .music-grid-section {
        padding: 1.25rem 1rem;
    }
    .discography-grid.small-cards {
        gap: 0.85rem;
        margin: 0 -0.25rem;
    }
    .discography-grid.small-cards .album-card {
        min-width: 220px;
        max-width: 48vw;
        padding: 0.65rem;
        gap: 0.75rem;
    }
    .discography-grid.small-cards .album-card .album-cover {
        width: 100px;
        height: 100px;
        min-height: 100px;
        max-height: 100px;
        flex: 0 0 100px;
        border-radius: 8px;
    }
    .discography-grid.small-cards .album-card .album-info {
        padding: 0.5rem 0.5rem 0.5rem 0;
    }
    .discography-grid.small-cards .album-card .album-title {
        font-size: 1rem;
        -webkit-line-clamp: 3;
    }
    .discography-grid.small-cards .album-card .album-year {
        font-size: 0.88rem;
    }
}

/* Video thumbs and scroller button hide */
.video-thumbs {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 6px 0 12px 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    
    /* Centering logic that does not break mobile scrolling */
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
}
.video-thumbs .video-thumb {
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
}
.video-thumbs img {
    border-radius: 8px;
    display: block;
}
.video-thumbs::-webkit-scrollbar { height: 0; width: 0; }
.scroller-btn { display: none !important; }

@media (max-width: 720px) {
    .video-thumbs .video-thumb img { width: 100px; height: 60px; }
    .video-thumbs .video-thumb div { max-width: 100px; font-size: 0.8rem; }
}