:root {
    --bg-color: #121212;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --accent: #ff4757;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --player-bg: rgba(0, 0, 0, 0.8);
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Averta', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.8s ease;
}

/* Make all headings italic for a more dramatic, editorial look */
h1, h2, h3, h4, h5, h6, .section-title, .sub-section-title {
    font-style: italic;
}

/* Background Overlay for texture - Removed pattern as requested */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    /* Clean background */
    pointer-events: none;
    z-index: 0;
}

.scroll-container {
    position: relative;
    z-index: 1;
    padding-bottom: 120px;
    /* Space for player */
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

#hero {
    padding: 0;
    /* Ensure video goes edge to edge with no gap */
}

@media (max-width: 768px) {
    #hero {
        min-height: 100vh;
        height: 100vh;
        min-height: 100dvh;
        height: 100dvh;
    }
}

.section-title {
    font-family: 'Averta', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0px;
    font-style: italic;
}

/* Hero Section */
/* Hero Section */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    /* Content above video */
}

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

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dim video slightly */
    z-index: 1;
}

.artist-title h1 {
    font-family: 'Averta', sans-serif;
    font-size: 5rem;
    line-height: 1;
    font-weight: 400;
    /* Display font usually doesn't need bold */
    margin-bottom: 0.5rem;
    opacity: 0.85;
    /* Slightly faded as requested */
    letter-spacing: 2px;
}

.artist-title .subtitle {
    font-family: 'Averta', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-align: center;
    opacity: 0.6;
    font-style: italic;
}

/* Vinyl Animation */
.vinyl-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.vinyl-record {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #222 20%, #111 21%, #111 30%, #222 31%, #222 40%, #111 41%, #111 100%);
    animation: spin 8s linear infinite;
    border: 4px solid #000;
}

.vinyl-label {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}

.label-text {
    font-size: 0.8rem;
    font-weight: bold;
    color: #000;
}

/* Sleek Scroll Arrow - more visible & on-brand */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 80px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.95;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    font-family: 'Averta', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 22px;
    height: 22px;
    border-right: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.25);
    animation: scrollArrow 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollArrow {
    0% {
        transform: translateX(-50%) rotate(45deg) translate(-15px, -15px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) rotate(45deg) translate(5px, 5px);
        opacity: 0;
    }
}

/* Music Section (Albums) */
/* Old Album Grid styles removed, now using Spotify Embeds with Headers */

.music-content-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.discography-section {
    width: 100%;
}

.sub-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    font-family: inherit;
    font-style: normal;
}

.embed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

/* Spotify Embed Container for Main Artist */
.spotify-embed-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.spotify-embed-container:hover {
    transform: scale(1.01);
}


/* Platform Links */
.platform-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.apple-music-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.apple-music-btn:hover {
    background: #fa243c;
    border-color: #fa243c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(250, 36, 60, 0.4);
}

.apple-music-btn svg {
    fill: currentColor;
    transition: transform 0.3s;
}

/* Apple icon: red rounded square with white logo */
.apple-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 6px;
    background: #fa243c;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(250,36,60,0.18);
    flex: 0 0 auto;
}
.apple-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* invert black SVG to white */
    filter: brightness(0) invert(1);
}

.apple-text {
    color: #fff;
    font-weight: 600;
    font-family: 'Averta', sans-serif;
    font-size: 1rem;
    text-transform: none;
}

.apple-music-btn:hover svg {
    transform: scale(1.1);
}

.spotify-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.spotify-btn:hover {
    background: #1DB954;
    border-color: #1DB954;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.4);
}

.spotify-btn svg {
    fill: currentColor;
    transition: transform 0.3s;
}

.spotify-btn:hover svg {
    transform: scale(1.1);
}

/* Music Section (Albums) */
/* Old Album Grid styles removed/hidden */
.album-grid {
    display: none;
}

a.album-cover {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}

.album-cover {
    width: 250px;
    background: var(--glass);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.album-cover::after {
    content: 'Spotify\'da Dinle';
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #1DB954;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    transition: bottom 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.album-cover:hover::after {
    bottom: 0;
}

.album-cover:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cover-art {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.art-1 {
    background: linear-gradient(45deg, #d35400, #f1c40f);
    /* Warm for Gül ile Akide */
}

.art-2 {
    background: linear-gradient(135deg, #2c3e50, #bdc3c7);
    /* Cooler/Grey for Erik Ağacı */
}

.art-3 {
    background: linear-gradient(to bottom, #8e44ad, #3498db);
    /* Mystical for Bilmezdim */
}

.art-4 {
    background: linear-gradient(60deg, #1abc9c, #16a085);
    /* Settle - Teal */
}

.art-5 {
    background: linear-gradient(to right, #e74c3c, #8e44ad);
    /* Rüzgar - Red/Purple */
}

.art-6 {
    background: linear-gradient(180deg, #34495e, #2c3e50);
    /* Fin - Dark Blue */
}

.art-7 {
    background: linear-gradient(45deg, #e67e22, #e74c3c);
    /* Bana Öyle Bakma - Orange/Red */
}

.art-8 {
    background: linear-gradient(to top right, #9b59b6, #f1c40f);
    /* Seninim Son Kez - Purple/Yellow */
}

.art-9 {
    background: linear-gradient(120deg, #16a085, #2ecc71);
    /* İki Aşk - Green */
}

.art-10 {
    background: linear-gradient(to bottom left, #2980b9, #2c3e50);
    /* Duş - Deep Blue */
}

.album-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.album-info span {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Floating Apple Music Logo */
.apple-music-float {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s ease;
    animation: floating 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.apple-music-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    transition: transform 0.4s ease;
}

.apple-music-float:hover {
    background: #fa243c;
    border-color: #fa243c;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px #fa243c;
}

.apple-music-float:hover svg {
    transform: scale(1.1);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Video Section */
.video-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #232526, #414345);
    color: #fff;
    cursor: pointer;
}

.play-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.video-frame:hover .play-icon {
    transform: scale(1.1);
}

.video-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;
}

.video-item {
    background: var(--glass);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
}

.video-item:hover {
    background: #fff;
    color: #000;
}

/* About Section */
.about-card {
    max-width: 600px;
    background: var(--glass);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.about-card p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-chip {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: transform 0.2s;
}

.social-chip:hover {
    transform: scale(1.05);
}

.social-chip.spotify {
    background: #1DB954;
}

.social-chip.apple {
    background: #FA243C;
}

.social-chip.youtube {
    background: #FF0000;
}

.social-chip.instagram {
    background: #E1306C;
}

/* Persistent Player */
.music-player-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: var(--player-bg);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-cover {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff9ff3, #feca57);
    animation: spin 5s linear infinite;
    animation-play-state: paused;
    /* Playing logic in JS */
}

/* Class to toggle animation */
.mini-cover.playing {
    animation-play-state: running;
}

.track-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.track-name {
    font-weight: bold;
    font-size: 1rem;
}

.artist-name {
    font-size: 0.8rem;
    opacity: 0.7;
}

.player-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.player-progress {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 4px;
}

.progress-bar-bg {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.progress-bar-fill {
    width: 30%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .artist-title h1 {
        font-size: 3rem;
    }

    .vinyl-wrapper {
        width: 200px;
        height: 200px;
    }

    /* Contact Mobile Fixes */
    .contact-container {
        padding: 1.5rem;
        gap: 2rem;
    }

    .contact-form .form-group {
        margin-bottom: 1rem;
        /* Tighter inputs */
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
}

/* Video Section Updates */
.video-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid #fff;
    transition: transform 0.3s ease;
}

.video-frame:hover {
    transform: scale(1.01);
}

/* Carousel Controls */
.video-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #fff;
    color: #000;
}

.current-video-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#video-title {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Scroll to Top Arrow (Fixed to bottom right) */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 80px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    flex-direction: column-reverse; /* Put text below arrow */
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 0.85;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover {
    opacity: 1;
}

.scroll-to-top span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    font-family: 'Averta', system-ui, -apple-system, sans-serif;
    color: #ce8eff;
}

.scroll-to-top::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    border-top: 3px solid #ce8eff;
    border-left: 3px solid #ce8eff;
    transform: rotate(45deg);
    border-radius: 4px;
    box-shadow: -2px -2px 12px rgba(0, 0, 0, 0.8), -2px -2px 20px rgba(255, 255, 255, 0.15);
    animation: scrollArrowUp 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollArrowUp {
    0% {
        transform: rotate(45deg) translate(8px, 8px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(-8px, -8px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 120px; /* Mobilde daha yukarı alıyoruz */
        right: 20px;
        transform: scale(0.9) translateY(20px);
    }
    .scroll-to-top.visible {
        transform: scale(0.9) translateY(0);
    }
}