/* Apple-Style Maria's Art Portfolio */


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Apple-style fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Dynamic color palette */
    --text-primary-light: #1c1c1e;
    --text-primary-dark: #ffffff;
    --text-secondary-light: #6e6e73;
    --text-secondary-dark: #e2e8f0;
    --text-muted-light: #8e8e93;
    --text-muted-dark: #94a3b8;
    --accent-primary: #a7c6d4;
    --accent-secondary: #8faeb8;
    --accent-navy: #1b1e24;
    --accent-light-gray: #d0d7dc;
    --border-primary: rgba(255, 255, 255, 0.4);
    --border-secondary: rgba(200, 200, 200, 0.6);
    --shadow-soft: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
    --glass-bg-light: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(255, 255, 255, 0.1);
    --glass-bg-hover-light: rgba(255, 255, 255, 0.9);
    --glass-bg-hover-dark: rgba(255, 255, 255, 0.2);
    
    /* Apple-style gradients */
    --gradient-primary: linear-gradient(180deg, #ffffff 0%, #f5f8fa 40%, #a7c6d4 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f5f8fa 60%, #a7c6d4 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.5;
    color: var(--text-primary-light);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 10%, #e2e8f0 20%, #a7c6d4 30%, #8faeb8 40%, #64748b 50%, #475569 60%, #334155 70%, #1e293b 80%, #0f172a 90%, #000000 100%);
    background-attachment: scroll;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Wave animation keyframes */
@keyframes waveFlow {
    0%, 100% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg) saturate(1) brightness(1);
    }
    25% {
        background-position: 25% 25%;
        filter: hue-rotate(5deg) saturate(1.1) brightness(1.05);
    }
    50% {
        background-position: 50% 50%;
        filter: hue-rotate(10deg) saturate(1.2) brightness(1.1);
    }
    75% {
        background-position: 75% 75%;
        filter: hue-rotate(5deg) saturate(1.1) brightness(1.05);
    }
}

@keyframes waveShift {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-10px) rotate(0.5deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-10px) rotate(0.5deg);
        opacity: 0.5;
    }
}

@keyframes wavePulse {
    0%, 100% {
        background-size: 100% 200%, 120% 180%, 140% 160%;
        opacity: 0.4;
    }
    33% {
        background-size: 120% 180%, 140% 160%, 100% 200%;
        opacity: 0.6;
    }
    66% {
        background-size: 140% 160%, 100% 200%, 120% 180%;
        opacity: 0.8;
    }
}

/* Subtle background texture */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(167, 198, 212, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(143, 174, 184, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    width: calc(100% - 4rem);
    max-width: 1100px;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Enhanced header on scroll */
header.scrolled {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(50px) saturate(180%);
    box-shadow: 
        0 12px 50px rgba(0, 0, 0, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    transform: translateX(-50%) translateY(-2px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo h1 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary-light);
    letter-spacing: -0.02em;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary-light);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: var(--text-primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.admin-link {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px) saturate(140%);
    color: var(--text-primary) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.admin-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.admin-link:hover::before {
    left: 100%;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(35px) saturate(160%);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Section-specific text colors */
.section-light {
    color: var(--text-primary-light);
}

.section-light h1,
.section-light h2,
.section-light h3 {
    color: var(--text-primary-light);
}

.section-light p {
    color: var(--text-secondary-light);
}

.section-dark {
    color: var(--text-primary-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--text-primary-dark);
}

.section-dark p {
    color: var(--text-secondary-dark);
}

/* Force white text for dark sections when scrolled */
body.dark-scroll * {
    color: #ffffff !important;
}

body.dark-scroll .admin-link {
    color: var(--text-primary-light) !important;
}

/* Hero Section */
.hero {
    background: transparent;
    color: var(--text-primary-light);
    padding: 12rem 2rem 8rem;
    text-align: center;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--text-primary-light);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: var(--text-secondary-light);
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px) saturate(150%);
    color: var(--text-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
    min-width: 160px;
    text-align: center;
    display: inline-block;
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(40px) saturate(170%);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Gallery Section */
.gallery {
    padding: 8rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.gallery h2 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(140%);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 18px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(35px) saturate(160%);
    color: var(--text-primary);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.artwork {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(35px) saturate(140%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 700px;
}

.artwork::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.artwork:hover::before {
    opacity: 1;
}

.artwork:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(45px) saturate(160%);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.artwork-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text-secondary);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.image-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
}

.image-scroll-container::-webkit-scrollbar {
    display: none;
}

.carousel-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

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

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 2;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.image-carousel:hover .carousel-prev,
.image-carousel:hover .carousel-next {
    opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.artwork:hover img {
    transform: scale(1.03);
}

.artwork-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.artwork h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.artwork-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.artwork-meta span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.artwork-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.artwork-price {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-navy);
    margin-bottom: 1.5rem;
}

.artwork-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-view,
.btn-inquire {
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(150%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    text-align: center;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-view:hover,
.btn-inquire:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.no-artworks {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
}

/* Poetry Section */
.poetry {
    padding: 8rem 2rem;
    background: transparent;
    position: relative;
    z-index: 1;
}

.poetry h2 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.8;
}

.poetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.poem-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(35px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.poem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.poem-card:hover::before {
    opacity: 1;
}

.poem-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(45px) saturate(160%);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.poem-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.poem-content {
    margin-bottom: 2rem;
}

.poem-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
    font-style: italic;
}

.poem-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(167, 198, 212, 0.2);
}

.poem-date,
.poem-theme {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.poem-theme {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* About Section */
.about {
    background: transparent;
    color: var(--text-primary);
    padding: 8rem 2rem;
    position: relative;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about h2 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background: transparent;
    color: var(--text-primary);
    padding: 8rem 2rem;
    position: relative;
}

.contact h2 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info p {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(35px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.contact-info p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.contact-info p:hover::before {
    opacity: 1;
}

.contact-info p:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(45px) saturate(160%);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Artwork Modal */
.artwork-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.artwork-modal {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(35px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.artwork-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
}

.artwork-image-container {
    position: relative;
    overflow: hidden;
}

.artwork-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artwork-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.artwork-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.artwork-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.artwork-meta p {
    margin: 0;
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.artwork-description h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.artwork-description p {
    color: white;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.inquire-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.inquire-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .artwork-modal-overlay {
        padding: 1rem;
    }
    
    .artwork-modal-content {
        grid-template-columns: 1fr;
        max-height: 80vh;
    }
    
    .artwork-image-container {
        max-height: 300px;
    }
    
    .artwork-details {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .artwork-title {
        font-size: 1.5rem;
    }
}

/* Modal Image Carousel */
.modal-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-image-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
}

.modal-image-scroll-container::-webkit-scrollbar {
    display: none;
}

.modal-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.modal-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.modal-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

.modal-carousel-prev,
.modal-carousel-next {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.modal-image-carousel:hover .modal-carousel-prev,
.modal-image-carousel:hover .modal-carousel-next {
    opacity: 1;
}

.modal-carousel-prev:hover,
.modal-carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.modal-no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: white;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.modal-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.modal-placeholder-text {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Fullscreen Image Viewer */
.fullscreen-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    padding: 2rem;
}

.fullscreen-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.fullscreen-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.fullscreen-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.fullscreen-image:hover {
    transform: scale(1.02);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.fullscreen-prev,
.fullscreen-next {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.fullscreen-prev:hover,
.fullscreen-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.fullscreen-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* Expand button in modal */
.expand-image-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.artwork-image-container:hover .expand-image-btn {
    opacity: 1;
}

.expand-image-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive fullscreen */
@media (max-width: 768px) {
    .fullscreen-image-overlay {
        padding: 1rem;
    }
    
    .fullscreen-close-btn {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .fullscreen-prev,
    .fullscreen-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .fullscreen-nav {
        padding: 0 1rem;
    }
    
    .fullscreen-indicators {
        bottom: 1rem;
    }
}

/* Footer */
footer {
    background: transparent;
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    position: relative;
    font-size: 0.9rem;
}

footer p {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-links a,
    .admin-link {
        display: block;
        text-align: center;
    }
    
    .hero {
        padding: 6rem 2rem 4rem;
        min-height: auto;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .gallery {
        padding: 4rem 1rem;
    }
    
    .gallery h2 {
        font-size: 1.8rem;
    }
    
    .gallery-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .poetry {
        padding: 4rem 1rem;
    }
    
    .poetry h2 {
        font-size: 1.8rem;
    }
    
    .poetry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 3rem 0 0 0;
    }
    
    .poem-card {
        padding: 2rem;
    }
    
    .poem-card h3 {
        font-size: 1.2rem;
    }
    
    .poem-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .about {
        padding: 4rem 1rem;
    }
    
    .contact {
        padding: 4rem 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    footer {
        padding: 1.5rem 1rem 1rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links li:nth-child(3),
    .nav-links li:nth-child(4),
    .nav-links li:nth-child(5) {
        display: none;
    }
}

/* Show all items on larger screens */
@media (min-width: 769px) {
    .nav-links li:nth-child(3),
    .nav-links li:nth-child(4),
    .nav-links li:nth-child(5) {
        display: block;
    }
}