/* ===================================
   VAN GOGH EXHIBITION - MODERN DESIGN
   Apple-inspired continuous scrolling
   =================================== */

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fff;
    color: #1d1d1f;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    text-align: center;
}

.hero-content {
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 60px;
}

.scroll-indicator {
    margin-top: 80px;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- BIO INTRO SECTION --- */
.bio-intro-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5%;
    background-color: #fff;
}

.bio-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.bio-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #86868b;
    margin-bottom: 40px;
    font-weight: 400;
}

.bio-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #424245;
    margin-bottom: 25px;
}

/* --- CTA LINK --- */
.cta-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.cta-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0071e3;
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

.cta-link:hover {
    color: #0077ED;
}

/* --- SECTION DIVIDER --- */
.section-divider {
    padding: 80px 5%;
    text-align: center;
    background-color: #f5f5f7;
}

.divider-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -1px;
}

/* --- ARTWORK SHOWCASE SECTIONS --- */
.artwork-showcase {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5%;
}

.artwork-showcase:nth-child(even) {
    background-color: #f5f5f7;
}

.artwork-showcase:nth-child(odd) {
    background-color: #fff;
}

.artwork-showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* Alternate layout for right-aligned artworks */
.artwork-right .artwork-showcase-container {
    direction: ltr;
}

.artwork-showcase-image {
    overflow: hidden;
}

.artwork-showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-showcase-text {
    direction: ltr;
}

.artwork-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.artwork-year {
    font-size: 1.2rem;
    color: #86868b;
    margin-bottom: 30px;
    font-weight: 500;
}

.artwork-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #424245;
    margin-bottom: 30px;
}

/* --- FOOTER --- */
.footer {
    background-color: #1d1d1f;
    padding: 60px 5%;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.5rem;
    color: #f5f5f7;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-text {
    font-size: 0.95rem;
    color: #86868b;
    margin: 8px 0;
}

.footer-links {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #424245;
}

.footer-links a {
    color: #86868b;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f5f5f7;
}

.footer-links span {
    color: #424245;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .bio-intro-container,
    .artwork-showcase-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .artwork-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .divider-title {
        font-size: 2rem;
    }

    .artwork-title {
        font-size: 1.8rem;
    }

    .artwork-showcase {
        padding: 80px 5%;
    }

    .bio-intro-section {
        padding: 80px 5%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .artwork-title {
        font-size: 1.5rem;
    }

    .bio-description,
    .artwork-desc {
        font-size: 1rem;
    }
}

/* --- LEGACY STYLES (FOR OTHER PAGES) --- */

/* Container for other pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header for other pages */
header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #4a90e2, #f4d03f);
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Navigation for other pages */
nav {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #4a90e2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

nav ul li a.active {
    background-color: #f4d03f;
    color: #333;
}

/* Biography page */
.biography-content {
    display: flex;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.bio-image {
    flex: 0 0 300px;
}

.bio-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bio-text {
    flex: 1;
}

.bio-text h2 {
    color: #4a90e2;
    margin-bottom: 20px;
    font-size: 2em;
}

.bio-text p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1.05em;
}

/* Artworks page */
.artworks-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.artworks-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    flex: 0 0 350px;
}

.artwork-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.artwork-thumb:hover {
    transform: scale(1.05);
    border-color: #4a90e2;
}

.artwork-thumb.selected {
    border-color: #f4d03f;
    box-shadow: 0 4px 8px rgba(244, 208, 63, 0.5);
}

.artwork-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.artwork-display {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.artwork-display img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

.artwork-info {
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #4a90e2;
    border-radius: 5px;
}

.artwork-info h2 {
    color: #4a90e2;
    margin-bottom: 10px;
}

.artwork-info .year {
    color: #f4d03f;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: block;
}

.artwork-info p {
    line-height: 1.8;
    color: #555;
}

/* Video page */
.video-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.video-container h2 {
    color: #4a90e2;
    margin-bottom: 20px;
    text-align: center;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.video-placeholder {
    background: #f9f9f9;
    padding: 60px;
    text-align: center;
    border-radius: 10px;
    border: 2px dashed #4a90e2;
}

.video-placeholder p {
    color: #666;
    font-size: 1.1em;
}

/* Responsive for other pages */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .biography-content {
        flex-direction: column;
    }

    .bio-image {
        flex: none;
    }

    .artworks-container {
        flex-direction: column;
    }

    .artworks-thumbnails {
        flex: none;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ===================================
   SUBPAGES MODERN STYLES
   =================================== */

/* --- PAGE HERO (FOR SUBPAGES) --- */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    padding: 60px 5%;
}

.page-hero-content {
    max-width: 900px;
}

.page-hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.page-hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 25px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

/* --- PAGE CONTENT SECTION --- */
.page-content-section {
    padding: 100px 5%;
    background-color: #fff;
}

.page-content-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- BIOGRAPHY PAGE STYLES --- */
.bio-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.bio-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: #86868b;
    font-size: 0.95rem;
}

.bio-article {
    padding: 20px 0;
}

.bio-name {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.bio-dates {
    font-size: 1.2rem;
    color: #86868b;
    margin-bottom: 40px;
    font-weight: 500;
}

.bio-paragraph {
    margin-bottom: 30px;
}

.bio-paragraph p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #424245;
}

.bio-section {
    margin: 50px 0;
}

.bio-section h3 {
    font-size: 1.8rem;
    color: #1d1d1f;
    margin-bottom: 25px;
    font-weight: 600;
}

.period-list {
    list-style: none;
    padding: 0;
}

.period-list li {
    font-size: 1.1rem;
    line-height: 2;
    color: #424245;
    padding-left: 30px;
    position: relative;
}

.period-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.bio-quote {
    background-color: #f5f5f7;
    padding: 40px;
    margin: 50px 0;
    border-left: 5px solid #667eea;
    font-style: italic;
}

.bio-quote p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.bio-quote cite {
    font-size: 1.1rem;
    color: #86868b;
    font-style: normal;
    font-weight: 600;
}

/* --- ARTWORKS PAGE STYLES --- */
.artworks-page-section {
    padding: 80px 5%;
    background-color: #fff;
}

.artworks-page-container {
    max-width: 1400px;
    margin: 0 auto;
}

.artwork-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid #e5e5e7;
}

.artwork-item:last-child {
    border-bottom: none;
}

.artwork-reverse {
    direction: rtl;
}

.artwork-reverse>* {
    direction: ltr;
}

.artwork-item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-item-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.artwork-item-year {
    font-size: 1.1rem;
    color: #86868b;
    margin-bottom: 25px;
    font-weight: 500;
}

.artwork-item-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #424245;
}

/* --- VIDEOS PAGE STYLES --- */
.video-section {
    max-width: 900px;
    margin: 0 auto;
}

.video-info-box {
    background-color: #f5f5f7;
    padding: 30px;
    margin-bottom: 50px;
}

.video-info-box h3 {
    font-size: 1.5rem;
    color: #1d1d1f;
    margin-bottom: 15px;
    font-weight: 600;
}

.video-info-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #424245;
}

.video-info-box code {
    background-color: #e5e5e7;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.video-player-wrapper {
    margin: 50px 0;
}

.video-player-wrapper video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #86868b;
    font-size: 1rem;
}

.video-placeholder-modern {
    background-color: #f5f5f7;
    padding: 80px 40px;
    text-align: center;
    border-radius: 10px;
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.video-placeholder-modern h3 {
    font-size: 1.5rem;
    color: #1d1d1f;
    margin-bottom: 15px;
    font-weight: 600;
}

.video-placeholder-modern p {
    font-size: 1.05rem;
    color: #86868b;
}

.video-suggestions {
    background-color: #fff;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid #e5e5e7;
    border-radius: 10px;
}

.video-suggestions h3 {
    font-size: 1.5rem;
    color: #1d1d1f;
    margin-bottom: 20px;
    font-weight: 600;
}

.video-suggestions ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.video-suggestions li {
    font-size: 1.05rem;
    line-height: 2;
    color: #424245;
    padding-left: 25px;
    position: relative;
}

.video-suggestions li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.note-box {
    background-color: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    font-size: 1rem;
    color: #424245;
}

/* --- RESPONSIVE FOR SUBPAGES --- */
@media (max-width: 1024px) {

    .bio-grid,
    .artwork-item {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .page-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-subtitle {
        font-size: 1.2rem;
    }

    .bio-name {
        font-size: 2rem;
    }

    .artwork-item {
        padding: 50px 0;
    }

    .artwork-item-title {
        font-size: 1.8rem;
    }

    .page-content-section,
    .artworks-page-section {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2rem;
    }

    .bio-name {
        font-size: 1.8rem;
    }

    .artwork-item-title {
        font-size: 1.5rem;
    }
}

/* --- ARTWORK DETAIL PAGE --- */
.artwork-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.artwork-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.artwork-detail-info {
    padding: 20px 0;
}

.artwork-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.artwork-detail-meta {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #86868b;
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f5f5f7;
    border-radius: 8px;
}

.artwork-detail-meta strong {
    color: #1d1d1f;
}

.artwork-detail-section {
    margin: 40px 0;
}

.artwork-detail-section h3 {
    font-size: 1.8rem;
    color: #1d1d1f;
    margin-bottom: 20px;
    font-weight: 600;
}

.artwork-detail-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #424245;
    margin-bottom: 20px;
}

/* Responsive for artwork detail */
@media (max-width: 1024px) {
    .artwork-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .artwork-detail-title {
        font-size: 2rem;
    }

    .artwork-detail-section h3 {
        font-size: 1.5rem;
    }
}