/* Custom Fonts - Fraunces & Inter */
@font-face {
    font-family: 'Fraunces';
    src: url('Fonts/Fraunces.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('Fonts/Inter-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Root Variables - AlbumLove palette */
:root {
    --primary-color: #E8744F;
    --secondary-color: #D4A574;
    --accent-color: #8B4513;
    --dark-bg: #1A1A1A;
    --darker-bg: #0D0D0D;
    --light-text: #FFFFFF;
    --muted-text: #B8B8B8;
    --card-bg: rgba(36, 36, 36, 0.9);
    --card-hover: #2C2C2C;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 100;
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--light-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.menu-content {
    display: flex;
    flex-direction: column;
    padding: 120px 50px;
    gap: 2rem;
}

.menu-item {
    color: var(--light-text);
    text-decoration: none;
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    font-weight: normal;
    position: relative;
    transition: all 0.3s ease;
    padding-left: 0;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.menu-item:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.menu-item:hover::before {
    width: 40px;
}

.menu-item.active {
    color: var(--primary-color);
}

/* Album Grid Background - percentage gaps voor consistente verhouding op alle schermen */
.album-grid-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(102vw + 45px);
    height: 114vh;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    row-gap: 1.2%;
    column-gap: max(0px, calc(1.2% - 3px));
    overflow: hidden;
    background-color: #000;
}

.album-grid-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
}

.album-tile {
    position: relative;
    overflow: hidden;
}

.album-tile-inner {
    position: absolute;
    inset: 0;
}

.album-tile .front,
.album-tile .back {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: opacity 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.album-tile .front img,
.album-tile .back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-tile .gradient-bg {
    position: absolute;
    inset: 0;
}

.album-tile .back {
    opacity: 0;
    z-index: 0;
}

.album-tile .front {
    opacity: 1;
    z-index: 1;
}

.album-tile.flipping .front {
    opacity: 0;
    z-index: 0;
}

.album-tile.flipping .back {
    opacity: 1;
    z-index: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-title img {
    max-width: min(90vw, 1000px);
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--muted-text);
    font-weight: 100;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-text);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 28px; opacity: 0.3; }
}

/* Section Base Styles */
.section {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
    background: rgba(13, 13, 13, 0.85);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: normal;
    margin-bottom: 1rem;
    color: var(--light-text);
    letter-spacing: -1px;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--muted-text);
    font-weight: 100;
}

/* App Section */
.app-section {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.app-description {
    max-width: 600px;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    color: var(--muted-text);
    font-size: 1.2rem;
    line-height: 1.8;
}

.app-screenshots {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    max-width: 80vw;
    margin: 0 auto;
}

.app-screenshots img {
    flex: 1;
    min-width: 0;
    max-width: calc((80vw - 2.5rem) / 6);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    object-fit: contain;
}

/* Curated News Section */
.curated-section {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
}

.curated-carousel-wrapper {
    position: relative;
    margin: 0 -1rem;
    padding: 0 2.5rem;
}

.curated-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    scrollbar-width: none;
    min-height: 200px;
}

@supports (scroll-behavior: smooth) {
    .curated-carousel {
        scroll-behavior: smooth;
    }
}

.curated-carousel::-webkit-scrollbar {
    display: none;
}

.curated-card {
    flex: 0 0 85vw;
    min-width: 280px;
    max-width: 400px;
    flex-shrink: 0;
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.curated-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.curated-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.curated-title {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: normal;
    color: var(--light-text);
    margin: 0;
}

.curated-albums {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.curated-albums img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.curated-body {
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.6;
}

.curated-empty {
    text-align: center;
    color: var(--muted-text);
    padding: 2rem;
}

.curated-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.curated-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.curated-nav-prev {
    left: 0.5rem;
}

.curated-nav-next {
    right: 0.5rem;
}

@media (max-width: 600px) {
    .curated-carousel-wrapper {
        padding: 0 2rem;
    }
    .curated-card {
        flex: 0 0 min(320px, 88vw);
    }
    .curated-albums {
        grid-template-columns: repeat(3, 1fr);
    }
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Fraunces', serif;
    font-weight: normal;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-text);
}

.app-store-badge {
    display: inline-block;
    line-height: 0;
}

.app-store-badge img {
    height: clamp(36px, 8vw, 50px);
    width: auto;
    max-width: 100%;
    transition: opacity 0.2s;
}

.app-store-badge:hover img {
    opacity: 0.9;
}

.btn-primary:hover {
    background: #d66541;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(232, 116, 79, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Roadmap Section */
.roadmap-list {
    max-width: 700px;
    margin: 0 auto;
}

.roadmap-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.roadmap-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.roadmap-item .number {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 3rem;
}

.roadmap-item h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.roadmap-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    color: var(--muted-text);
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: rgba(13, 13, 13, 0.9);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    color: var(--muted-text);
    margin-bottom: 2rem;
    line-height: 2;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.contact-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    color: var(--muted-text);
}

.footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links h4, .footer-social h4 {
    font-family: 'Fraunces', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social p {
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    color: var(--muted-text);
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    color: var(--muted-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-link:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-social .social-link.tiktok:hover {
    color: #00f2ea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Reset password page */
.reset-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    z-index: 2;
}

.reset-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.reset-card h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: normal;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.reset-card label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    color: var(--light-text);
    font-size: 1.15rem;
}

.reset-card input[type="password"] {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--light-text);
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 1.15rem;
}

.reset-card input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.reset-card button[type="submit"] {
    display: block;
    margin: 1.5rem auto 0;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(232, 116, 79, 0.35);
}

.reset-card button[type="submit"]:hover:not(:disabled) {
    background: #d66541;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 116, 79, 0.45);
}

.reset-card button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.reset-message {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 1rem;
}

.reset-message.info {
    background: rgba(232, 116, 79, 0.15);
    color: var(--secondary-color);
    border: 1px solid rgba(232, 116, 79, 0.3);
}

.reset-message.success {
    background: rgba(39, 174, 96, 0.2);
    color: #a8e6cf;
    border: 1px solid rgba(39, 174, 96, 0.4);
}

.reset-message.error {
    background: rgba(231, 76, 60, 0.2);
    color: #f5b7b1;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.reset-card .reset-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 0.95rem;
}

.reset-card .reset-link:hover {
    text-decoration: underline;
}

.reset-nav-home {
    color: var(--light-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.reset-nav-home:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .section {
        padding: 60px 20px;
    }

    .menu-content {
        padding: 100px 30px;
    }

    .menu-item {
        font-size: 1.5rem;
    }

    /* Album grid: edge-to-edge op mobile */
    .album-grid-bg {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100vw;
        width: 100dvw;
        height: 100vh;
        height: 100dvh;
        min-height: -webkit-fill-available;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    /* Download badge: meeschalen met scherm */
    .app-store-badge img {
        height: clamp(32px, 12vw, 50px);
    }
}

@media (max-width: 480px) {
    .album-grid-bg {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(5, 1fr);
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
    }

    .app-store-badge img {
        height: clamp(28px, 10vw, 44px);
    }
}
