/* Additional styles for secondary pages */

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #F5F1EB 0%, #EDE7DE 50%, #D4B896 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23C65D47" fill-opacity="0.1"><circle cx="40" cy="40" r="3"/></g></g></svg>');
    pointer-events: none;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-earth);
    font-family: 'Crimson Text', serif;
}

.header-subtitle {
    font-size: 1.25rem;
    color: var(--earth-brown);
    line-height: 1.6;
}

/* Active nav state */
.nav-link.active {
    color: var(--terracotta);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Gallery Collection */
.gallery-collection {
    padding: 6rem 0;
    background: var(--ceramic-white);
}

.gallery-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-intro h2 {
    color: var(--terracotta);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.gallery-intro p {
    color: var(--clay-dark);
    font-size: 1.125rem;
    line-height: 1.6;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-piece {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: default;
    background: var(--ceramic-white);
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.1);
}

.gallery-piece:hover {
    box-shadow: 0 15px 30px rgba(93, 64, 55, 0.15);
}

.gallery-piece.featured {
    grid-column: span 2;
}

.gallery-piece .piece-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-piece.featured .piece-image {
    height: 300px;
}

.gallery-piece .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    position: relative;
    transition: transform 0.4s ease;
}

.gallery-piece:hover .image-placeholder {
    transform: scale(1.1);
}

/* Additional color schemes for gallery */
.woven { background: linear-gradient(135deg, #8D6E63, #6D4C41); }
.andy { background: linear-gradient(135deg, #FFAB91, #FF8A65); }
.hairy { background: linear-gradient(135deg, #A1887F, #8D6E63); }

/* Real image styling for gallery pages */
.gallery-piece img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
    background: var(--ceramic-white);
}

.gallery-piece:hover img {
    transform: scale(1.05);
    filter: brightness(0.95) contrast(1.2) saturate(1.2);
}

.gallery-piece .piece-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(45, 24, 16, 0.90));
    color: white;
    padding: 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
    border-radius: 0 0 20px 20px;
}

.gallery-piece:hover .piece-overlay {
    background: linear-gradient(transparent, rgba(45, 24, 16, 0.95));
}

.piece-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-family: 'Crimson Text', serif;
}

.piece-info p {
    display: none; /* Hide long descriptions for compact view */
}

.piece-details {
    display: none; /* Hide details for compact view */
}

.detail-item {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.piece-overlay .heart-stamp {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--terracotta);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Crimson Text', serif;
}

/* Artist working photo */
.artist-working-photo {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.artist-working-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: sepia(0.1) contrast(1.1) brightness(0.95) saturate(1.1);
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.3);
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FAF8F5 0%, #F5F1EB 100%);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.process-lead {
    font-size: 1.25rem;
    color: var(--terracotta);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.process-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(198, 93, 71, 0.3);
}

.step-content h3 {
    color: var(--earth-brown);
    margin-bottom: 0.5rem;
    font-family: 'Crimson Text', serif;
}

.step-content p {
    color: var(--clay-dark);
    line-height: 1.6;
    margin: 0;
}

.process-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clay-wheel {
    position: relative;
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
}

.wheel-base {
    width: 100%;
    height: 20px;
    background: var(--clay-dark);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    box-shadow: 0 5px 15px rgba(93, 64, 55, 0.3);
}

.clay-on-wheel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
}

.clay-form {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--clay-beige), var(--terracotta-light));
    border-radius: 50%;
    position: relative;
    box-shadow: 0 15px 30px rgba(93, 64, 55, 0.2);
    animation: clayPulse 3s infinite ease-in-out;
}

.clay-form::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    border-radius: 50%;
    opacity: 0.6;
}

.hands {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: handsMove 4s infinite ease-in-out;
}

.visual-caption {
    text-align: center;
    font-style: italic;
    color: var(--clay-dark);
    max-width: 300px;
    line-height: 1.4;
    font-size: 1rem;
}

/* Commission Section */
.commission-section {
    padding: 6rem 0;
    background: var(--ceramic-white);
}

.commission-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--earth-brown);
}

.commission-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--warm-cream);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--clay-beige);
    box-shadow: 0 20px 40px rgba(93, 64, 55, 0.15);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--terracotta);
    margin-bottom: 1rem;
    font-family: 'Crimson Text', serif;
}

.info-card p {
    color: var(--earth-brown);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--clay-beige), var(--clay-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23FFFFFF" fill-opacity="0.05"><circle cx="50" cy="50" r="4"/></g></g></svg>');
    animation: float 20s infinite linear;
    pointer-events: none;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--terracotta);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-primary:hover {
    background: var(--ceramic-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: var(--deep-earth);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-family: 'Crimson Text', serif;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.form-group-inline {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    align-items: stretch;
}

.form-group-inline input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--clay-dark);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group-inline input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group-inline input:focus {
    outline: none;
    border-color: var(--terracotta-light);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(198, 93, 71, 0.2);
}

.form-group-inline .btn {
    white-space: nowrap;
    padding: 1rem 2rem;
}

.newsletter-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-style: italic;
}

/* Blog/Videos Styles */
.blog-section {
    padding: 6rem 0;
    background: var(--ceramic-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--warm-cream);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(93, 64, 55, 0.15);
}

.blog-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, var(--clay-beige), var(--terracotta-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.blog-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(198, 93, 71, 0.1);
    backdrop-filter: blur(2px);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--clay-dark);
}

.blog-category {
    background: var(--terracotta);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
}

.blog-card h3 {
    margin-bottom: 1rem;
    color: var(--earth-brown);
    font-family: 'Crimson Text', serif;
}

.blog-card p {
    color: var(--clay-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--terracotta-dark);
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* FND Resources Page */
.resources-section {
    padding: 6rem 0;
    background: var(--ceramic-white);
}

.resource-card {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 16px rgba(93, 64, 55, 0.1);
    border-left: 4px solid var(--terracotta);
}

.resource-card h3 {
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--earth-brown);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-card a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-card a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

/* Animations */
@keyframes clayPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes handsMove {
    0%, 100% { transform: translate(-50%, -50%) rotate(-5deg); }
    50% { transform: translate(-50%, -50%) rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-piece.featured {
        grid-column: span 1;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .commission-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.125rem;
    }
    
    .gallery-masonry {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-piece .piece-image,
    .gallery-piece.featured .piece-image {
        height: 350px;
    }
    
    .gallery-piece .image-placeholder {
        font-size: 6rem;
    }
    
    .piece-info h3 {
        font-size: 1.75rem;
    }
    
    .step {
        align-items: center;
        text-align: left;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .clay-wheel {
        width: 200px;
        height: 200px;
    }
    
    .clay-on-wheel {
        width: 100px;
        height: 100px;
    }
    
    .hands {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-piece .piece-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .piece-info h3 {
        font-size: 1.5rem;
    }
    
    .piece-info p {
        font-size: 1rem;
    }
    
    .piece-details {
        justify-content: center;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-icon {
        font-size: 2.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .visual-caption {
        font-size: 0.875rem;
    }
}