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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0c0c0c;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    transition: background 0.3s;
}

.nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav a:hover {
    color: #fff;
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 2px;
}

/* === Hero / Museum Entry === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0c0c0c 70%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('Pics/Alexis-%20Art%20History%20Montage.jpg') center/cover no-repeat;
    opacity: 0.06;
    filter: blur(30px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards;
}

.hero h1 em {
    font-style: italic;
    color: #c9a96e;
}

.hero-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1s 0.7s forwards;
}

.scroll-hint {
    opacity: 0;
    animation: fadeUp 1s 1s forwards;
}

.scroll-hint span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #c9a96e, transparent);
    margin: 0.8rem auto 0;
    animation: scrollPulse 2s infinite;
}

.scroll-hint-text {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* === Gallery Frame Section === */
.gallery-section {
    padding: 6rem 2rem 4rem;
    display: flex;
    justify-content: center;
    background: #0c0c0c;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #c9a96e);
}

.frame-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s, transform 1s;
}

.frame-container.visible {
    opacity: 1;
    transform: scale(1);
}

/* Ornate frame effect */
.frame-outer {
    padding: 20px;
    background: linear-gradient(135deg, #8B7355, #c9a96e, #8B7355, #d4af37, #8B7355);
    border-radius: 4px;
    box-shadow:
        0 0 0 2px #5a4a2a,
        0 0 0 4px #8B7355,
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.frame-inner {
    padding: 30px;
    background: #f5f0e8;
    position: relative;
}

.frame-inner::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.frame-inner img {
    width: 100%;
    display: block;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Spotlight effect */
.spotlight {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(255, 245, 220, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* === Plaque / Description === */
.plaque-section {
    padding: 4rem 2rem 6rem;
    display: flex;
    justify-content: center;
}

.plaque {
    max-width: 600px;
    text-align: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #1a1816, #201e1a);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 2px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.plaque.visible {
    opacity: 1;
    transform: translateY(0);
}

.plaque::before,
.plaque::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9a96e;
    top: -4px;
}

.plaque::before {
    left: 30%;
}

.plaque::after {
    right: 30%;
}

.plaque h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #c9a96e;
    margin-bottom: 0.3rem;
}

.plaque .artist {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.plaque .divider {
    width: 40px;
    height: 1px;
    background: #c9a96e;
    margin: 0 auto 1.5rem;
}

.plaque p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

/* === About Rockwell Section === */
.about-section {
    padding: 6rem 2rem;
    background: #111;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.3), transparent);
}

.about-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s, transform 0.8s;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text .label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 1rem;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s 0.2s, transform 0.8s 0.2s;
}

.about-stats.visible {
    opacity: 1;
    transform: translateX(0);
}

.stat-card {
    padding: 1.5rem;
    background: rgba(201, 169, 110, 0.05);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 4px;
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #c9a96e;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* === Techniques Section === */
.techniques {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.techniques-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 3rem;
}

.technique-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.technique-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s, border-color 0.3s;
}

.technique-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.technique-item:hover {
    border-color: rgba(201, 169, 110, 0.4);
}

.technique-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.technique-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #c9a96e;
    margin-bottom: 0.5rem;
}

.technique-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* === Footer === */
.page-footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.page-footer a {
    color: #c9a96e;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.page-footer a:hover {
    opacity: 0.7;
}

/* === Responsive === */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .technique-list {
        grid-template-columns: 1fr;
    }

    .frame-outer {
        padding: 10px;
    }

    .frame-inner {
        padding: 15px;
    }

    .plaque {
        padding: 2rem 1.5rem;
    }
}