/* =========================================
   Petr Kopecký — Art Seller
   Joe Muczka Jr. Original Paintings
   ========================================= */

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

:root {
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --dark: #0d0d1a;
    --dark-2: #111122;
    --dark-3: #16213e;
    --navy: #0f3460;
    --text: #e8e8e8;
    --text-muted: #9a9ab0;
    --overlay: rgba(10, 10, 25, 0.72);
    --overlay-heavy: rgba(5, 5, 15, 0.85);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Background --- */
.hero,
.page-hero {
    position: relative;
    background-image: url('../images/artwork.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay,
.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

/* =========================================
   HOMEPAGE HERO
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.logo-pre {
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-top: 0.4rem;
    text-transform: uppercase;
}

/* Decorative divider */
.hero-logo::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin-top: 1.5rem;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-quote {
    margin: 2rem auto;
    max-width: 600px;
    border-left: 3px solid var(--gold);
    padding: 1rem 1.5rem;
    text-align: left;
    background: rgba(0,0,0,0.3);
    border-radius: 0 4px 4px 0;
}

.hero-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

.hero-quote cite {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--gold);
    font-style: normal;
}

/* --- Event teaser on homepage --- */

.hero-event-teaser {
    margin-top: 3rem;
    background: rgba(10, 10, 30, 0.8);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

.event-teaser-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

.event-teaser-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.event-teaser-subtitle {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.event-teaser-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.event-icon {
    font-size: 1rem;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background: var(--gold-light);
    color: var(--dark);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1rem;
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
}

/* Hero button margin */
.hero-event-teaser .btn {
    margin-top: 1.2rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */

.about-section {
    background: var(--dark-2);
    padding: 5rem 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

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

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background: var(--dark-3);
    border-left: 3px solid var(--gold);
    padding: 1.2rem 1.5rem;
    border-radius: 0 4px 4px 0;
}

.highlight-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1.2;
}

.highlight-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.2rem;
}

/* =========================================
   CTA SECTION
   ========================================= */

.cta-section {
    background: linear-gradient(135deg, #0d0d1a 0%, #16213e 100%);
    padding: 5rem 0;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* =========================================
   PAGE HERO (event page, etc.)
   ========================================= */

.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
}

.page-hero--event {
    min-height: 55vh;
}

.page-hero--success {
    min-height: 40vh;
    align-items: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-hero-content--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-link {
    display: inline-block;
    color: var(--gold);
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    text-decoration: none;
}

.back-link:hover {
    opacity: 1;
    text-decoration: none;
}

/* --- Event header on event page --- */

.event-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.event-subtitle {
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.event-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.meta-icon {
    font-size: 1rem;
}

/* =========================================
   EVENT BODY (details + registration form)
   ========================================= */

.event-body {
    background: var(--dark-2);
    padding: 4rem 0;
}

.event-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: start;
}

/* --- Event info column --- */

.event-info h2 {
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.event-highlights {
    background: var(--dark-3);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.event-highlights h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    padding: 0.4rem 0;
    padding-left: 1.4rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.highlights-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.6rem;
    top: 0.55rem;
}

.event-about-art {
    background: var(--dark-3);
    border-left: 3px solid var(--gold);
    padding: 1.5rem;
    border-radius: 0 6px 6px 0;
}

.event-about-art h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.event-about-art p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Registration panel --- */

.reg-card {
    background: var(--dark-3);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-top: 3px solid var(--gold);
    border-radius: 6px;
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.reg-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.reg-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   NETTE FORMS STYLING
   ========================================= */

/* Registration form */
.reg-card form .form-group,
.reg-card form p {
    margin-bottom: 1.1rem;
}

/* Generic form element wrapping for Nette */
form .field-group {
    margin-bottom: 1.1rem;
}

/* Style Nette-rendered form inputs */
.reg-card form input[type=text],
.reg-card form input[type=email],
.reg-card form select,
.reg-card form textarea {
    display: block;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 4px;
    padding: 11px 14px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.2s;
    margin-top: 4px;
}

.reg-card form input[type=text]:focus,
.reg-card form input[type=email]:focus,
.reg-card form select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.reg-card form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.reg-card form select option {
    background: var(--dark-3);
    color: var(--text);
}

/* Checkbox GDPR */
.reg-card form .checkbox-wrap,
.reg-card form label.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.reg-card form input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

/* Nette-rendered checkbox label */
.reg-card form .inp-chbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Form field wrapper */
.reg-card form .form-field {
    margin-bottom: 1.1rem;
}

/* Submit button */
.reg-card form input[type=submit],
.reg-card form button[type=submit] {
    display: block;
    width: 100%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 3px;
    padding: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.25s;
    margin-top: 1.2rem;
}

.reg-card form input[type=submit]:hover,
.reg-card form button[type=submit]:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
}

/* Nette validation errors */
.reg-card form .error,
.reg-card form span.error {
    color: #e74c3c;
    font-size: 0.8rem;
    display: block;
    margin-top: 3px;
}

/* Error highlighting */
.reg-card form input.invalid,
.reg-card form select.invalid {
    border-color: #e74c3c;
}

/* =========================================
   SUCCESS PAGE
   ========================================= */

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.success-body {
    background: var(--dark-2);
    padding: 4rem 0;
}

.success-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--dark-3);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-top: 3px solid var(--gold);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
}

.success-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.success-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.success-event-details {
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    text-align: left;
}

.detail-row {
    display: flex;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    min-width: 60px;
}

.detail-value {
    color: var(--text);
    font-size: 0.875rem;
}

.success-note {
    background: var(--gold-dim);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.success-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.success-note p:last-child {
    margin-bottom: 0;
}

.success-actions {
    margin-top: 2rem;
}

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

.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding: 1.5rem 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-inner p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* =========================================
   FLASH MESSAGES
   ========================================= */

.flash {
    max-width: 900px;
    margin: 1rem auto;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.flash-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.flash-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.flash-info {
    background: rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #3498db;
}

/* =========================================
   HERO LOGO IMAGE
   ========================================= */

.hero-logo-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.35));
}

/* =========================================
   EVENTS SECTIONS (upcoming + past)
   ========================================= */

.events-section {
    padding: 5rem 0;
}

.events-upcoming {
    background: var(--dark-3);
}

.events-past {
    background: var(--dark-2);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: border-color 0.25s, transform 0.25s;
}

.event-card--upcoming {
    background: rgba(15, 52, 96, 0.4);
}

.event-card--past {
    background: rgba(10, 10, 25, 0.5);
    opacity: 0.8;
}

.event-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.event-card-date {
    background: var(--gold);
    color: var(--dark);
    text-align: center;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-card--past .event-card-date {
    background: rgba(201, 168, 76, 0.4);
    color: var(--gold-light);
}

.event-card-day {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-card-month {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.event-card-body {
    padding: 1.2rem 1.4rem;
    flex: 1;
}

.event-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.event-card-subtitle {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
}

.event-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-card-action {
    padding: 1rem 1.4rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    text-align: right;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.78rem;
}

/* =========================================
   INTERNATIONAL BUYING SECTION
   ========================================= */

.international-section {
    background: var(--dark);
    padding: 4rem 0;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.international-box {
    text-align: center;
}

.international-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.international-link {
    display: inline-block;
    transition: transform 0.25s, filter 0.25s;
}

.international-link:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
}

.international-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

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

@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo-img {
        max-width: 260px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .event-layout {
        grid-template-columns: 1fr;
    }

    .reg-card {
        position: static;
    }

    .logo-title {
        font-size: 2.5rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .event-title {
        font-size: 2rem;
    }

    .event-meta-bar {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding: 3rem 1.2rem;
    }

    .logo-title {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 1.2rem;
    }

    .about-section,
    .cta-section,
    .event-body,
    .success-body {
        padding: 3rem 0;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .success-card {
        padding: 1.5rem 1.2rem;
    }
}
