@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
 * TweakCN / shadcn-achtig donker palet: diep antraciet + brons/koper.
 * Kaarten lichter dan body voor diepte; scherpe tekstcontrasten (WCAG-vriendelijk).
 */
:root {
    color-scheme: dark;

    --bg-primary: #0b0f14;
    --bg-card: #121820;

    --accent-bronze: #d97746;
    --accent-muted: #526b82;
    --accent-bronze-deep: #9a7a5c;

    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-bronze: #e49e79;

    --border-primary: #1e293b;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Legacy aliassen (bestaande selectors blijven werken) */
    --accent-yellow: var(--accent-bronze);
    --accent-teal: var(--accent-muted);
    --accent-yellow-green: var(--accent-bronze-deep);
    --text-yellow: var(--text-bronze);
    --border-yellow: var(--border-primary);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(82, 107, 130, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(217, 119, 70, 0.08), transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    margin-bottom: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-shapes {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-shape {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    opacity: 0.9;
}

.logo-shape-left {
    background: linear-gradient(135deg, var(--accent-teal), #2a3542);
    top: 0;
    left: 0;
    z-index: 1;
}

.logo-shape-right {
    background: linear-gradient(135deg, #6a4a38, var(--accent-yellow));
    top: 5px;
    left: 5px;
    z-index: 2;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin: 0;
    text-transform: none;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
}

/* Dashboard Grid */
.dashboard {
    width: 100%;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Card Styles */
.card {
    position: relative;
    background-color: var(--bg-card);
    border: 2px solid var(--border-yellow);
    border-radius: 8px;
    padding: 30px 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 119, 70, 0.08), rgba(82, 107, 130, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover {
    border-color: var(--accent-bronze);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217, 119, 70, 0.28);
}

.card:hover::before {
    opacity: 1;
}

.card:hover .card-pattern {
    opacity: 0.8;
    transform: scale(1.05);
}

.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.28;
    transition: all 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

/* Wavy Line Patterns - Different variations for each card */
.card-pattern-1 {
    background: 
        linear-gradient(45deg, transparent 30%, var(--accent-yellow) 30%, var(--accent-yellow) 32%, transparent 32%),
        linear-gradient(-45deg, transparent 30%, var(--accent-teal) 30%, var(--accent-teal) 32%, transparent 32%);
    background-size: 40px 40px, 40px 40px;
    background-position: 0 0, 20px 20px;
    clip-path: polygon(0 60%, 100% 40%, 100% 100%, 0 100%);
}

.card-pattern-2 {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            var(--accent-yellow) 10px,
            var(--accent-yellow) 12px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            var(--accent-teal) 10px,
            var(--accent-teal) 12px
        );
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%);
}

.card-pattern-3 {
    background: 
        radial-gradient(circle at 80% 20%, var(--accent-yellow) 2px, transparent 2px),
        radial-gradient(circle at 20% 80%, var(--accent-teal) 2px, transparent 2px);
    background-size: 30px 30px, 30px 30px;
    clip-path: polygon(100% 0, 100% 60%, 0 100%, 0 0);
}

.card-pattern-4 {
    background: 
        linear-gradient(135deg, var(--accent-yellow) 1px, transparent 1px),
        linear-gradient(45deg, var(--accent-teal) 1px, transparent 1px);
    background-size: 25px 25px;
    clip-path: polygon(100% 0, 100% 100%, 40% 100%, 0 0);
}

.card-pattern-5 {
    background: 
        conic-gradient(from 0deg at 30% 30%, var(--accent-yellow) 0deg, transparent 60deg, var(--accent-teal) 120deg, transparent 180deg);
    background-size: 50px 50px;
    clip-path: ellipse(80% 60% at 20% 50%);
}

.card-pattern-6 {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 8px,
            var(--accent-yellow) 8px,
            var(--accent-yellow) 10px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 8px,
            var(--accent-teal) 8px,
            var(--accent-teal) 10px
        );
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.card-pattern-7 {
    background: 
        linear-gradient(30deg, transparent 40%, var(--accent-yellow) 40%, var(--accent-yellow) 42%, transparent 42%),
        linear-gradient(-30deg, transparent 40%, var(--accent-teal) 40%, var(--accent-teal) 42%, transparent 42%);
    background-size: 35px 35px;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.card-pattern-8 {
    background: 
        radial-gradient(ellipse at center, var(--accent-yellow) 1px, transparent 1px),
        radial-gradient(ellipse at center, var(--accent-teal) 1px, transparent 1px);
    background-size: 20px 30px, 30px 20px;
    background-position: 0 0, 10px 10px;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    color: var(--text-yellow);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translate(4px, -4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 16px;
    }

    .logo-title {
        font-size: 24px;
    }

    .logo-subtitle {
        font-size: 12px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        min-height: 160px;
        padding: 24px 20px;
    }

    .card-title {
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1401px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ----- Homepage (index.php): Carla & Robèrt ----- */
.title-section {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-yellow);
}

.main-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0;
    color: var(--text-primary);
    text-transform: none;
    line-height: 1.15;
}

.media-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.media-button-slot {
    flex: 1 1 200px;
    max-width: 270px;
    min-width: 0;
}

.media-button-slot--compact {
    flex: 0 0 auto;
    max-width: 4.25rem;
}

.media-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.95rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-yellow);
    background: linear-gradient(180deg, rgba(18, 24, 32, 0.96), var(--bg-card));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.media-button span {
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}

.media-button--icon-only {
    padding: 0.75rem;
}

.media-button:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 1px rgba(74, 98, 120, 0.35);
    color: var(--text-yellow);
}

.media-button .album-icon,
.media-button .video-icon,
.media-button .photo-album-icon {
    color: var(--accent-yellow);
    opacity: 0.95;
    flex-shrink: 0;
}

.media-button__img {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    flex-shrink: 0;
}

.media-button__img[src$=".svg"] {
    color: var(--accent-yellow);
}

.media-button--icon-only .media-button__img {
    width: 1.75rem;
    height: 1.75rem;
}

.media-button .play-icon {
    font-size: 0.75rem;
    opacity: 0.75;
    color: var(--accent-teal);
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .media-buttons-container {
        flex-wrap: nowrap;
        gap: 0.45rem;
        max-width: min(1360px, 98vw);
    }

    .media-button-slot {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
    }

    .media-button-slot--compact {
        flex: 0 0 3.65rem;
        max-width: 3.65rem;
    }

    .media-button {
        padding: 0.8rem 0.4rem;
        min-height: 2.95rem;
    }

    .media-button span {
        font-size: clamp(0.66rem, 0.62vw, 0.86rem);
        white-space: nowrap;
    }
}

/* 1920x1080: zes knoppen op een rij, titels op een regel */
@media (min-width: 1200px) and (max-width: 2200px) {
    .media-buttons-container {
        gap: 0.5rem;
    }

    .media-button span {
        font-size: clamp(0.68rem, 0.5vw, 0.82rem);
    }
}

/* Legacy aliassen (andere pagina's) */
.myalbum-section,
.videos-section {
    flex: 1 1 240px;
    max-width: 360px;
}

.myalbum-button,
.videos-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: 6px;
    border: 1px solid var(--border-yellow);
    background: linear-gradient(180deg, rgba(18, 24, 32, 0.96), var(--bg-card));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.profiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-yellow);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
    border-color: rgba(217, 119, 70, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.profile-content {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.profile-image img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-yellow);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.profile-name {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
}

.profile-description {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.profile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border-yellow);
    background: rgba(11, 15, 20, 0.55);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.profile-button:hover {
    border-color: var(--accent-yellow);
    background: rgba(217, 119, 70, 0.1);
    color: var(--text-yellow);
}

.profile-button .fa-chevron-right {
    margin-left: auto;
    font-size: 0.65rem;
    opacity: 0.5;
}

.profile-button:hover .fa-chevron-right {
    opacity: 0.9;
}

.bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--border-yellow);
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--border-primary);
    background: rgba(18, 24, 32, 0.6);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-button--icon {
    flex: 0 0 auto;
    width: 2.35rem;
    min-width: 2.35rem;
    padding: 0.5rem;
    text-transform: none;
}

.nav-button--icon i {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1;
}

.nav-button:hover {
    border-color: var(--accent-muted);
    color: var(--text-primary);
    background: rgba(82, 107, 130, 0.12);
}

.nav-button--icon:hover i {
    color: var(--text-primary);
}

/* 1920x1080 en breder: 10 knoppen op 1 rij binnen profielbreedte */
@media (min-width: 900px) {
    .profiles-container {
        margin-bottom: 1.5rem;
    }

    .bottom-nav {
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 0.35rem;
        box-sizing: border-box;
    }

    .nav-button:not(.nav-button--icon) {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.45rem 0.35rem;
        font-size: clamp(0.62rem, 0.52vw, 0.74rem);
        letter-spacing: 0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-button--icon {
        flex: 0 0 2.35rem;
    }
}

@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-buttons {
        align-items: stretch;
    }
}

