/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background: #F6F4F2;
    color: #2F2F2F;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* ---------- MODERN FIXED NAVBAR (header) ---------- */
/* Main site header / navbar – consistent with dev.pktfederation.ca aesthetic: clean, elevated, glass-morphism edge */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.9rem 2rem;
    transition: all 0.25s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* logo / artist brand */
.nav-logo a {
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: #2F2F2F;
    background: linear-gradient(135deg, #2F2F2F 0%, #4a3b2c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: opacity 0.2s;
}

.nav-logo a:hover {
    opacity: 0.8;
}

/* navigation links list */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: #2F2F2F;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    position: relative;
}

/* underline hover effect (modern & clean) */
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #b76e3e;
    transition: width 0.25s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: #b76e3e;
}

/* active state (for current page feel via data attribute or simple class) */
.nav-menu li a.active {
    color: #b76e3e;
}

.nav-menu li a.active::after {
    width: 100%;
    background: #b76e3e;
}

/* mobile hamburger – hidden on desktop, visible on mobile */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #2F2F2F;
    transition: color 0.2s;
}

/* offset for fixed header (so sections don't hide under navbar) */
main, .content-wrap {
    padding-top: 85px;
}

/* ensure hero doesn't get overlapped but we keep spacing */
section:first-of-type {
    scroll-margin-top: 90px;
}

/* global section styles */
.section-block {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* HERO SECTION - reimagined with full-width image background + overlay to match the original but improved */
.hero-section {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #F6F4F2;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 62%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: translateX(-50%) scale(1.5);
    z-index: 0;
    filter: brightness(0.98) contrast(1.08) saturate(1.04);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(246,244,242,0.9) 0%, rgba(246,244,242,0.68) 24%, rgba(246,244,242,0.22) 47%, rgba(246,244,242,0.03) 68%, rgba(246,244,242,0) 100%);
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(246,244,242,0) 0%, rgba(246,244,242,0.82) 100%);
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: 8%;
    padding: 2.5rem 0;
}

.hero-section h1 {
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #1f1e1c;
    text-shadow: 0 2px 20px rgba(246,244,242,0.65);
    overflow-wrap: normal;
}

.hero-section p {
    font-size: 1.45rem;
    color: #2f2a25;
    font-weight: 500;
    text-shadow: 0 1px 14px rgba(246,244,242,0.75);
}

/* About section (improved) */
.about-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    min-width: 260px;
}

.about-img img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 25px 35px -18px rgba(0,0,0,0.2);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 3px;
    background: #b76e3e;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: #3d3a36;
    font-weight: 400;
}

.social-links,
.contact-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a,
.contact-links a,
.protected-email {
    appearance: none;
    border: 1px solid #d8cfc7;
    border-radius: 8px;
    background: #fff;
    color: #2F2F2F;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-links a:hover,
.contact-links a:hover,
.protected-email:hover,
.protected-email:focus-visible {
    border-color: #b76e3e;
    color: #b76e3e;
    background: #fefcf9;
}

.gallery-section {
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 25px -15px rgba(0,0,0,0.05);
    margin: 0 1rem 2rem;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.gallery-section > p {
    color: #6b6258;
    margin-bottom: 2rem;
    text-align: center;
}

/* Gallery section enhanced */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.2);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem 1rem 1rem;
    color: white;
    opacity: 1;
    transition: opacity 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.artwork-name,
.artwork-size,
.artwork-price {
    display: block;
}

.artwork-name {
    font-weight: 600;
}

.artwork-size,
.artwork-price {
    font-size: 0.9rem;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.gallery-message {
    color: #6b6258;
    margin-top: 2rem;
    text-align: center;
}

.gallery-message:empty {
    display: none;
}

/* Contact section (minimal card) */
.contact-section {
    background: linear-gradient(135deg, #e9e2da 0%, #F6F4F2 100%);
    border-radius: 32px;
    margin: 2rem 2rem 4rem;
    padding: 4rem 2rem;
}

.contact-card {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
}

.contact-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #5a554e;
    margin-bottom: 2rem;
}

.contact-links {
    margin-top: 0;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2dbd2;
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.2s;
    background: #fefcf9;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #b76e3e;
    box-shadow: 0 0 0 3px rgba(183, 110, 62, 0.1);
}

.contact-form button {
    background: #2F2F2F;
    color: white;
    border: none;
    padding: 0.9rem;
    width: 100%;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #b76e3e;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    background: #e7e1da;
    color: #4e4943;
    font-size: 0.85rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Responsive styles */
@media (max-width: 900px) {
    .site-header {
        padding: 0.7rem 1.5rem;
    }
    .nav-menu {
        gap: 1.2rem;
    }
    .hero-content-overlay {
        margin-left: 5%;
        margin-right: 5%;
        padding: 1.8rem 0;
        max-width: 420px;
    }
    .hero-section h1 {
        font-size: 3.4rem;
    }
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    .about-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    .section-block {
        padding: 3rem 1.5rem;
    }
    .contact-section {
        margin: 1rem 1rem 3rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 2rem;
        gap: 1.8rem;
        border-radius: 0 24px 24px 0;
        box-shadow: 10px 8px 28px rgba(0,0,0,0.1);
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li a {
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }
    .nav-container {
        justify-content: space-between;
    }
    .hero-section {
        min-height: 64vh;
    }
    .hero-content-overlay {
        margin: 0 1rem;
        padding: 1.5rem 0;
        text-align: left;
        max-width: calc(100% - 2rem);
    }
    .hero-section h1 {
        font-size: 2.8rem;
        max-width: 7ch;
    }
    .hero-section p {
        font-size: 1.15rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 420px) {
    .hero-content-overlay {
        margin-left: 0.85rem;
        margin-right: 0.85rem;
        max-width: calc(100% - 1.7rem);
    }
    .hero-section h1 {
        font-size: 2.35rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}

/* subtle fade-in utility */
.fade-up {
    animation: fadeUp 0.6s ease-out;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
