/* ============================================
   EDGAR PAYNE - MODERN ONE-PAGE SITE
   Museum Experience Design
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --charcoal: #2b2b2b;
    --museum-white: #f8f8f8;
    --gold-leaf: #c9a961;
    --dark-gold: #a08541;
    --light-gray: #e5e5e5;
    --medium-gray: #666;
    --text-dark: #1a1a1a;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--museum-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
}

h2.section-title {
    font-size: 3em;
    color: var(--charcoal);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.2em;
    margin-bottom: 60px;
    font-weight: 300;
}

.lead {
    font-size: 1.3em;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 30px;
}

/* ============================================
   STICKY NAVIGATION
   ============================================ */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(43, 43, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5em;
    color: white;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--gold-leaf);
}

.nav-cta {
    background: var(--gold-leaf);
    padding: 8px 20px;
    border-radius: 4px;
    color: white !important;
}

.nav-cta:hover {
    background: var(--dark-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

/* ============================================
   HERO SECTION with Ken Burns Effect
   ============================================ */

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-sierra.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ken Burns Effect - Slow Zoom */
.ken-burns {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero-authority {
    font-size: 1.1em;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background: var(--gold-leaf);
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    font-weight: 500;
}

.hero-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 0.9em;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: 10px auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   AUTHORITY SECTION
   ============================================ */

.authority-section {
    padding: var(--section-padding);
    background: white;
    text-align: center;
}

.authority-content h2 {
    font-size: 2.5em;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.authority-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 4em;
    font-family: var(--font-serif);
    color: var(--gold-leaf);
    font-weight: 700;
}

.stat-label {
    font-size: 1.1em;
    color: var(--medium-gray);
    margin-top: 10px;
}

/* ============================================
   GALLERY SECTION - Masonry Grid
   ============================================ */

.gallery-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.gallery-filters {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--gold-leaf);
    color: var(--charcoal);
    padding: 12px 30px;
    margin: 5px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.95em;
    transition: all 0.3s;
    border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-leaf);
    color: white;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    font-size: 0.9em;
    opacity: 0.9;
}

/* ============================================
   BIOGRAPHY SECTION
   ============================================ */

.biography-section {
    padding: var(--section-padding);
    background: white;
}

.biography-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.bio-main p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

/* Accordion */
.bio-accordion {
    margin-top: 40px;
}

.accordion-item {
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.3em;
    color: var(--charcoal);
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--gold-leaf);
}

.accordion-icon {
    font-size: 1.5em;
    color: var(--gold-leaf);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 0 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 0 20px 0;
}

.accordion-content p {
    margin-bottom: 15px;
    color: var(--medium-gray);
}

/* Bio Sidebar */
.bio-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.bio-card h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.fact-list {
    list-style: none;
}

.fact-list li {
    margin-bottom: 12px;
    font-size: 0.95em;
}

.fact-list strong {
    color: var(--charcoal);
}

.small-text {
    font-size: 0.9em;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ============================================
   COLLECTIONS SECTION
   ============================================ */

.collections-section {
    padding: var(--section-padding);
    background: var(--charcoal);
    color: white;
}

.collections-section .section-title,
.collections-section .section-subtitle {
    color: white;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.collection-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s;
}

.collection-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.collection-logo {
    font-size: 3em;
    margin-bottom: 15px;
}

.collection-item h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.collection-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9em;
}

.associations {
    text-align: center;
    margin-top: 80px;
}

.associations h3 {
    font-size: 2em;
    margin-bottom: 30px;
}

.associations-list {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.associations-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
}

.associations-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-leaf);
    font-weight: bold;
}

/* ============================================
   SELL SECTION - Call to Action
   ============================================ */

.sell-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    color: white;
}

.sell-section .section-title,
.sell-section .section-subtitle {
    color: white;
}

.sell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.sell-info h3 {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--gold-leaf);
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    padding-left: 10px;
}

.phone-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--gold-leaf);
}

.phone-icon {
    font-size: 3em;
}

.phone-label {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 5px;
}

.phone-number {
    font-size: 2em;
    font-family: var(--font-serif);
    color: var(--gold-leaf);
    text-decoration: none;
    font-weight: 600;
}

.phone-number:hover {
    color: white;
}

/* Evaluation Form */
.evaluation-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    color: var(--text-dark);
}

.evaluation-form h3 {
    color: var(--charcoal);
    font-size: 1.8em;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-leaf);
}

.file-label {
    display: block;
    padding: 20px;
    background: var(--light-gray);
    border: 2px dashed var(--medium-gray);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    background: var(--gold-leaf);
    color: white;
    border-color: var(--gold-leaf);
}

.file-label input[type="file"] {
    display: none;
}

.help-text {
    font-size: 0.85em;
    color: var(--medium-gray);
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gold-leaf);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.privacy-note {
    text-align: center;
    font-size: 0.85em;
    color: var(--medium-gray);
    margin-top: 15px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--charcoal);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--gold-leaf);
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-phone a {
    color: white;
    text-decoration: none;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9em;
    opacity: 0.7;
    margin-bottom: 5px;
}

.footer-credit {
    color: var(--gold-leaf);
}

/* ============================================
   FLOATING BUTTON (Mobile)
   ============================================ */

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gold-leaf);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    transition: all 0.3s;
}

.floating-btn:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.floating-icon {
    font-size: 1.5em;
}

.floating-text {
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4em;
    }
    
    .masonry-grid {
        column-count: 2;
    }
    
    .biography-content {
        grid-template-columns: 1fr;
    }
    
    .sell-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3em;
    }
    
    .hero-subtitle {
        font-size: 1.5em;
    }
    
    h2.section-title {
        font-size: 2em;
    }
    
    .authority-stats {
        flex-direction: column;
        gap: 40px;
    }
    
    .masonry-grid {
        column-count: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-text {
        display: none;
    }
    
    .floating-btn {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-tagline {
        font-size: 1.2em;
    }
    
    .hero-authority {
        font-size: 0.95em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .stat-number {
        font-size: 3em;
    }
}
