/* =====================================================
   ZAHRA AZIMZADE — ARTIST PORTFOLIO (FULL STYLES)
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --bg-color: #FBF9F5;          
    --card-bg: #F3EFEA;           
    --text-primary: #1C1B1A;      
    --text-muted: #706C66;        
    --accent-gold: #A88344;       
    --border-subtle: rgba(28, 27, 26, 0.08);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER & NAVIGATION */
header {
    width: 100%;
    min-height: 85px;
    padding: 22px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(251, 249, 245, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-gold);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.nav-link {
    position: relative;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active-link {
    color: var(--text-primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--accent-gold);
    transition: width 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* HOME HERO */
.hero {
    width: 100%;
    flex: 1;
    min-height: calc(100vh - 140px);
    padding: 40px 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.hero-image-container {
    width: min(750px, 68vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#heroImage {
    width: 100%;
    height: min(52vh, 480px);
    object-fit: contain;
    cursor: pointer;
    border-radius: 3px;
    transition: opacity 0.4s ease, transform 0.5s ease;
}

#heroImage:hover {
    transform: scale(1.008);
}

.image-info {
    width: 100%;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#imageTitle {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
}

#imageDescription {
    font-size: 11px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 500;
}

/* ARROW BUTTONS */
.arrow, .artwork-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.arrow:hover, .artwork-arrow:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    transform: scale(1.05);
}

/* ART & ILLUSTRATION GRIDS */
.art-page {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 5vw 80px;
}

.art-page > h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.art-intro {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 45px;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;
}

.art-card, .gallery-item {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.35s ease;
}

.art-card img, .gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: var(--card-bg);
    border-radius: 3px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.art-card:hover img, .gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(0.97);
}

.art-card h2, .gallery-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    margin-top: 14px;
    color: var(--text-primary);
}

.art-card p, .gallery-item p {
    font-size: 11px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    font-weight: 500;
}

/* ARTWORK DETAILS PAGE (ÖLÇÜ MƏHDUDİYYƏTİ İLƏ) */
.artwork-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 4vw 60px;
    width: 100%;
}

.artwork-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#artworkImage {
    width: 100%;
    max-width: 650px;
    height: 480px;
    object-fit: contain;
    background: var(--card-bg);
    border-radius: 3px;
    transition: opacity 0.3s ease;
}

.image-counter {
    text-align: center;
    margin-top: 18px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.artwork-thumbnails {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 62px;
    height: 62px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 3px;
    opacity: 0.4;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.artwork-information {
    max-width: 650px;
    margin: 40px auto 50px;
}

.artwork-information h1 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 12px;
}

.artwork-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.artwork-details {
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
}

.artwork-details p {
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.artwork-details strong {
    color: var(--accent-gold);
    font-weight: 500;
}

.other-images {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.other-images h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item img {
    height: 220px;
}

/* VIDEOS SECTION */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
}

.video-card {
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h2 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 400;
    margin-top: 14px;
    color: var(--text-primary);
}

.video-card p {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* ABOUT & CONTACT PAGES */
.about-page, .contacts-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 25px;
}

.about-content, .contacts-content {
    max-width: 620px;
    width: 100%;
}

.about-content h1, .contacts-content h1 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-list {
    border-top: 1px solid var(--border-subtle);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-link {
    font-size: 14px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-gold);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 20px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .art-grid, .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
    }
    nav {
        gap: 15px;
        justify-content: center;
    }
    .art-grid, .video-grid, .gallery {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 20px 15px;
        gap: 15px;
    }
    .hero-image-container {
        width: 100%;
    }
    #heroImage, #artworkImage {
        height: 38vh;
    }
    .arrow, .artwork-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}