/* ============================================================
   ESLAM ATTIA — GLOBAL STYLESHEET
   style.css
   ============================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
    --dark:   #471520;
    --orange: #eb961f;
    --cream:  #f5f0e8;
    --light:  #faf7f2;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: #2a1a1a;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { transition: color .2s; }
ul  { list-style: none; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 0 2rem;
    transition: background .4s, box-shadow .4s;
}
#main-nav.scrolled {
    background: rgba(250, 247, 242, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(71, 21, 32, .08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}
.nav-logo img        { height: 44px; width: auto; }
.nav-logo-text       { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--dark); }
.nav-logo-text em    { font-style: normal; color: var(--orange); }

.nav-links           { display: flex; gap: 2rem; }
.nav-links a {
    font-size: .88rem;
    font-weight: 500;
    color: #5a3a3a;
    text-decoration: none;
    position: relative;
    transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active  { color: var(--orange); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .3s;
}

/* mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(250, 247, 242, .98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    z-index: 199;
    border-bottom: 1px solid rgba(71, 21, 32, .08);
}
.mobile-menu.open    { display: block; }
.mobile-menu ul      { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu a       { font-size: 1rem; font-weight: 500; color: var(--dark); text-decoration: none; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .65);
    padding: 4rem 2rem 2rem;
}
.footer-inner        { max-width: 1280px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
footer h3            { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
footer ul li         { margin-bottom: .6rem; }
footer ul a          { color: rgba(255, 255, 255, .55); text-decoration: none; font-size: .88rem; transition: color .2s; }
footer ul a:hover    { color: var(--orange); }
.footer-desc         { font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.5); max-width: 270px; }
.footer-contact-item { color: rgba(255,255,255,.5); font-size: .88rem; margin-bottom: .8rem; }
.footer-contact-item span { color: var(--orange); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: .82rem;
}
.footer-copy-note    { color: rgba(255, 255, 255, .3); font-size: .78rem; }

/* social links (footer) */
.social-links        { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-links a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: .85rem;
    transition: all .2s;
}
.social-links a:hover { border-color: var(--orange); color: var(--orange); }

/* ── GLOBAL BUTTONS ─────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--orange);
    color: #fff;
    padding: .82rem 1.75rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Inter', sans-serif;
}
.btn-primary:hover {
    background: #d4831a;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(235, 150, 31, .35);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--dark);
    padding: .82rem 1.75rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid rgba(71, 21, 32, .3);
    transition: all .3s;
    font-family: 'Inter', sans-serif;
}
.btn-outline:hover  { border-color: var(--dark); background: rgba(71, 21, 32, .05); }
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: #fff;
    padding: .82rem 1.75rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, .4);
    transition: all .3s;
    font-family: 'Inter', sans-serif;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* btn size modifiers */
.btn-sm { font-size: .82rem !important; padding: .6rem 1.3rem !important; }
.btn-xs { font-size: .78rem !important; padding: .5rem 1.1rem !important; }

/* ── GLOBAL HELPERS ─────────────────────────────────────────── */
.section-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .6rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    line-height: 1.15;
}
.section-divider {
    width: 48px; height: 2px;
    background: var(--orange);
    margin: .9rem auto 0;
    border-radius: 2px;
}
.text-muted   { color: #7a5a5a; }
.text-orange  { color: var(--orange); }
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s, transform .7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── PAGE HERO (shared across inner pages) ──────────────────── */
.page-hero {
    padding: 11rem 2rem 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--cream) 60%, rgba(235, 150, 31, .07) 100%);
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--dark);
}
.page-hero p {
    color: #7a5a5a;
    font-size: 1rem;
    max-width: 560px;
    margin: .75rem auto 0;
    line-height: 1.8;
}

/* ── BACK LINK ──────────────────────────────────────────────── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #7a5a5a;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    transition: color .2s;
}
.back-link:hover { color: var(--orange); }

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 7rem 2rem;
    background-size: cover;
    background-position: center;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(71, 21, 32, .78);
}
.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cta-banner p { color: rgba(255, 255, 255, .72); font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; }
.cta-btns     { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════ */

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(71,21,32,.72) 0%, rgba(71,21,32,.35) 55%, transparent 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.hero-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid rgba(235, 150, 31, .45);
    padding: .35rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero-roles       { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 2rem; }
.hero-role {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, .82);
    font-weight: 300;
    letter-spacing: .04em;
}
.hero-role span   { color: var(--orange); font-weight: 600; margin-right: .5rem; }
.hero-btns        { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ABOUT PREVIEW */
.about-preview {
    padding: 7rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-bg         { background: var(--light); }
.about-img-wrap   { position: relative; }
.about-img-wrap img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.about-img-badge {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    background: var(--orange);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(235, 150, 31, .35);
}
.about-img-badge strong { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.about-img-badge span   { font-size: .78rem; opacity: .85; }
.about-text-intro { color: #7a5a5a; line-height: 1.8; margin-bottom: 1rem; }
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.highlight-item   { background: var(--cream); border-radius: 10px; padding: 1rem 1.25rem; }
.highlight-item strong {
    display: block;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}
.highlight-item span  { font-size: .8rem; color: #7a5a5a; }
.section-title-left   { text-align: left; margin-bottom: 1.25rem; }

/* ARTWORKS (home) */
.artworks-section { background: var(--cream); padding: 6rem 2rem; text-align: center; }
.artworks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 3rem auto 0;
    text-align: left;
}
.artwork-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform .3s, box-shadow .3s;
    display: block;
}
.artwork-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(71,21,32,.12); }
.artwork-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}
.artwork-thumb img        { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.artwork-card:hover .artwork-thumb img { transform: scale(1.06); }
.artwork-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(71,21,32,.75) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.artwork-card:hover .artwork-overlay { opacity: 1; }
.artwork-overlay-text  { color: #fff; font-size: .8rem; opacity: .85; }
.artwork-info          { padding: 1.25rem; }
.artwork-category {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .35rem;
}
.artwork-title   { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: .2rem; }
.artwork-medium  { font-size: .8rem; color: #9a7a7a; }
.artworks-cta    { margin-top: 3rem; }

/* WORKSHOPS (home) */
.workshops-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}
.workshops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem auto 2rem;
    text-align: left;
}
.workshop-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(71,21,32,.06);
    transition: transform .3s, box-shadow .3s;
}
.workshop-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(71,21,32,.12); }
.workshop-img    { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.workshop-body   { padding: 1.75rem; }
.workshop-tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .6rem;
    display: block;
}
.workshop-title  { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin-bottom: .75rem; }
.workshop-desc   { font-size: .9rem; color: #7a5a5a; line-height: 1.7; margin-bottom: 1.25rem; }
.workshop-meta   { display: flex; gap: 1.25rem; font-size: .82rem; color: #9a7a7a; margin-bottom: 1.5rem; flex-wrap: wrap; }
.workshop-meta span { display: flex; align-items: center; gap: .35rem; }
.workshop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--cream);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}
.workshop-price  { font-size: 1.4rem; font-weight: 700; color: var(--orange); font-family: 'Playfair Display', serif; }

/* MEDIA (home) */
.media-section   { background: var(--cream); padding: 6rem 2rem; text-align: center; }
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 3rem auto 0;
    text-align: left;
}
.media-card      { background: #fff; border-radius: 14px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.media-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(71,21,32,.1); }
.media-thumb     { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-card:hover .media-thumb img { transform: scale(1.05); }
.media-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(71,21,32,.35);
    transition: background .3s;
}
.media-card:hover .media-play  { background: rgba(71,21,32,.55); }
.play-icon {
    width: 52px; height: 52px;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-icon svg   { margin-left: 3px; }
.media-body      { padding: 1.25rem; }
.media-title     { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--dark); margin-bottom: .5rem; line-height: 1.4; }
.media-desc      { font-size: .82rem; color: #9a7a7a; margin-bottom: 1rem; line-height: 1.6; }
.media-link      { font-size: .82rem; font-weight: 600; color: var(--orange); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.media-link:hover { text-decoration: underline; }
.media-cta        { margin-top: 3rem; }

/* TESTIMONIALS */
.testimonials-section  { padding: 6rem 2rem; text-align: center; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 3rem auto 0;
}
.testimonial-card {
    background: var(--cream);
    border-radius: 14px;
    padding: 2rem;
    text-align: left;
    position: relative;
}
.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--orange);
    opacity: .25;
    line-height: 1;
    margin-bottom: .5rem;
}
.testimonial-text    { font-size: .92rem; color: #5a3a3a; line-height: 1.75; margin-bottom: 1.5rem; }
.testimonial-author  { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar  {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    flex-shrink: 0;
}
.testimonial-name    { font-weight: 600; font-size: .9rem; color: var(--dark); }
.testimonial-role    { font-size: .78rem; color: #9a7a7a; }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.about-page-hero {
    padding: 12rem 2rem 6rem;
    background: linear-gradient(135deg, var(--cream) 60%, rgba(235,150,31,.08) 100%);
    text-align: center;
}
.about-page-hero h1  { font-family: 'Playfair Display', serif; font-size: clamp(3rem,6vw,5rem); color: var(--dark); margin-bottom: 1rem; }
.about-page-hero p   { color: #7a5a5a; font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.8; }

.bio-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: start;
}
.bio-sticky          { position: sticky; top: 100px; }
.bio-portrait        { width: 100%; border-radius: 16px; aspect-ratio: 3/4; object-fit: cover; display: block; margin-bottom: 2rem; }
.bio-quick           { background: var(--cream); border-radius: 14px; padding: 1.75rem; }
.bio-quick h3        { font-family: 'Playfair Display', serif; color: var(--dark); font-size: 1rem; margin-bottom: 1rem; }
.bio-quick-item      { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; font-size: .88rem; }
.bio-quick-item .icon { color: var(--orange); font-size: 1rem; flex-shrink: 0; }
.bio-quick-item strong { color: var(--dark); display: block; }
.bio-quick-item em   { color: #7a5a5a; font-style: normal; }

.bio-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 1.25rem;
    margin-top: 3rem;
}
.bio-content h2:first-child { margin-top: 0; }
.bio-content p       { color: #5a3a3a; line-height: 1.85; margin-bottom: 1.25rem; font-size: .95rem; }

.timeline            { margin: 2rem 0; }
.timeline-item       { display: flex; gap: 1.5rem; margin-bottom: 1.75rem; }
.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
    width: 56px;
    padding-top: 2px;
}
.timeline-body       { border-left: 2px solid var(--cream); padding-left: 1.25rem; flex: 1; }
.timeline-title      { font-weight: 600; color: var(--dark); margin-bottom: .3rem; font-size: .92rem; }
.timeline-desc       { color: #7a5a5a; font-size: .85rem; line-height: 1.6; }

.skills-grid         { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.skill-item          { background: var(--cream); border-radius: 10px; padding: 1rem 1.25rem; }
.skill-name          { font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: .5rem; display: flex; justify-content: space-between; }
.skill-pct           { color: var(--orange); }
.skill-bar           { height: 4px; background: #e0d0d0; border-radius: 2px; overflow: hidden; }
.skill-fill          { height: 100%; background: var(--orange); border-radius: 2px; }

.studio-photos       { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.studio-photos img   { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.bio-cta             { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   GALLERY PAGE (artworks/index)
   ════════════════════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2.5rem 2rem 0;
}
.filter-btn {
    padding: .5rem 1.3rem;
    border-radius: 50px;
    border: 1.5px solid rgba(71,21,32,.2);
    background: transparent;
    color: #7a5a5a;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s;
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active   { background: var(--orange); border-color: var(--orange); color: #fff; }

.masonry-grid {
    columns: 3;
    column-gap: 1.5rem;
    max-width: 1280px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    cursor: pointer;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cream);
    transition: transform .3s, box-shadow .3s, opacity .4s;
}
.masonry-item:hover  { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(71,21,32,.14); }
.masonry-item img    { width: 100%; display: block; transition: transform .5s; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(71,21,32,.8) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-info        { color: #fff; }
.masonry-cat {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .3rem;
}
.masonry-title       { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: .15rem; }
.masonry-medium      { font-size: .78rem; opacity: .75; }

/* ════════════════════════════════════════════════════════════
   ARTWORK DETAIL PAGE (artworks/show)
   ════════════════════════════════════════════════════════════ */
.artwork-detail-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 2rem 5rem;
}
.artwork-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.artwork-main-img-wrap { position: sticky; top: 100px; }
.artwork-main-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 24px 80px rgba(71,21,32,.15);
    cursor: zoom-in;
    transition: transform .3s;
}
.artwork-main-img:hover { transform: scale(1.01); }
.artwork-thumb-row   { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.artwork-thumb-btn {
    width: 72px; height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color .2s;
}
.artwork-thumb-btn.active { border-color: var(--orange); }
.artwork-thumb-btn img    { width: 100%; height: 100%; object-fit: cover; display: block; }

.artwork-category-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--orange);
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.artwork-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.artwork-description { color: #5a3a3a; line-height: 1.85; font-size: .95rem; margin-bottom: 2rem; }

.artwork-meta-table         { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.artwork-meta-table td      { padding: .9rem 0; border-bottom: 1px solid var(--cream); font-size: .9rem; }
.artwork-meta-table td:first-child {
    color: #9a7a7a;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    width: 40%;
}
.artwork-meta-table td:last-child { color: var(--dark); font-weight: 500; }
.status-available    { color: var(--orange); font-weight: 600; }
.status-sold         { color: #9a7a7a; }

.process-notes       { background: var(--cream); border-radius: 14px; padding: 1.5rem; margin-bottom: 2rem; }
.process-notes h4    { font-family: 'Playfair Display', serif; color: var(--dark); font-size: 1rem; margin-bottom: .75rem; }
.process-notes p     { color: #7a5a5a; font-size: .88rem; line-height: 1.75; }

.inquiry-box         { background: var(--dark); border-radius: 16px; padding: 2rem; color: #fff; text-align: center; }
.inquiry-box h3      { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: .6rem; }
.inquiry-box p       { color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 1.5rem; line-height: 1.6; }
.artwork-detail-actions { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.open       { display: flex; }
.lightbox img        { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(255, 255, 255, .15);
    border: none;
    border-radius: 50%;
    width: 44px; height: 44px;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .3); }

/* related artworks */
.related-section     { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 6rem; }
.related-section h3  { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark); margin-bottom: 2rem; }
.related-grid        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.related-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--cream);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .3s;
}
.related-card:hover       { transform: translateY(-4px); }
.related-card img         { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.related-card-info        { padding: .9rem 1rem; }
.related-card-title       { font-weight: 600; font-size: .9rem; color: var(--dark); }
.related-card-medium      { font-size: .78rem; color: #9a7a7a; }

/* ════════════════════════════════════════════════════════════
   WORKSHOPS INDEX PAGE
   ════════════════════════════════════════════════════════════ */
.workshops-page-grid {
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem 6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.ws-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 28px rgba(71,21,32,.06);
    transition: transform .3s, box-shadow .3s;
}
.ws-card:hover       { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(71,21,32,.13); }
.ws-card-img         { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ws-card-body        { padding: 2rem; }
.ws-tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .5rem;
    display: block;
}
.ws-title            { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dark); margin-bottom: .75rem; }
.ws-desc             { font-size: .9rem; color: #7a5a5a; line-height: 1.75; margin-bottom: 1.25rem; }
.ws-meta             { display: flex; gap: 1.25rem; font-size: .82rem; color: #9a7a7a; margin-bottom: 1.5rem; flex-wrap: wrap; }
.ws-footer           { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--cream); padding-top: 1.25rem; }
.ws-price            { font-size: 1.5rem; font-weight: 700; color: var(--orange); font-family: 'Playfair Display', serif; }
.ws-types            { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.ws-type-pill        { font-size: .72rem; font-weight: 600; color: #7a5a5a; background: var(--cream); padding: .25rem .7rem; border-radius: 50px; }

/* ════════════════════════════════════════════════════════════
   WORKSHOP DETAIL PAGE (workshops/show)
   ════════════════════════════════════════════════════════════ */
.ws-detail-page      { max-width: 1100px; margin: 0 auto; padding: 8rem 2rem 6rem; }
.ws-back             { display: inline-flex; align-items: center; gap: .4rem; color: #7a5a5a; text-decoration: none; font-size: .88rem; font-weight: 500; margin-bottom: 2rem; transition: color .2s; }
.ws-back:hover       { color: var(--orange); }

.ws-hero-img-wrap    { border-radius: 20px; overflow: hidden; position: relative; margin-bottom: 3rem; }
.ws-hero-img         { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.ws-hero-badge {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    background: var(--orange);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 50px;
}
.ws-hero-title {
    position: absolute;
    bottom: 1.5rem; left: 7rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.ws-detail-grid      { display: grid; grid-template-columns: 1fr 340px; gap: 3.5rem; align-items: start; }
.ws-sidebar          { position: sticky; top: 100px; }
.ws-section-h        { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark); margin-bottom: 1rem; margin-top: 2.5rem; }
.ws-section-h:first-child { margin-top: 0; }
.ws-body-text        { color: #5a3a3a; font-size: .92rem; line-height: 1.85; margin-bottom: 1rem; }

.format-tabs         { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.format-tab {
    flex: 1;
    min-width: 120px;
    padding: .75rem 1rem;
    border-radius: 10px;
    border: 1.5px solid rgba(71,21,32,.15);
    background: transparent;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    font-family: 'Inter', sans-serif;
}
.format-tab.active   { border-color: var(--orange); background: rgba(235,150,31,.06); }
.format-tab-name     { font-size: .85rem; font-weight: 600; color: var(--dark); display: block; }
.format-tab-price    { font-size: .78rem; color: var(--orange); font-weight: 600; }

.format-info         { background: var(--cream); border-radius: 14px; padding: 1.5rem; }
.format-info-title   { font-weight: 700; color: var(--dark); font-size: .95rem; margin-bottom: .25rem; }
.format-info-sub     { font-size: .82rem; color: #9a7a7a; margin-bottom: .75rem; }
.format-info-desc    { font-size: .88rem; color: #5a3a3a; line-height: 1.7; margin-bottom: .75rem; }
.format-info-tag     { font-size: .75rem; color: var(--orange); font-weight: 600; }

.curriculum-list     { list-style: none; padding: 0; }
.curriculum-item     { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--cream); }
.curriculum-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
}
.curriculum-text strong { display: block; font-size: .9rem; color: var(--dark); margin-bottom: .2rem; }
.curriculum-text span   { font-size: .82rem; color: #9a7a7a; }

.ws-sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 8px 40px rgba(71,21,32,.09);
}
.ws-price-big        { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--orange); font-weight: 700; text-align: center; }
.ws-price-note       { font-size: .82rem; color: #9a7a7a; text-align: center; margin-bottom: 1.5rem; }
.ws-meta-list        { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.ws-meta-list li     { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: #5a3a3a; padding: .5rem 0; border-bottom: 1px solid var(--cream); }
.ws-meta-list li:last-child { border-bottom: none; }
.ws-meta-list li .meta-icon { font-size: 1rem; width: 1.2rem; }
.ws-enroll-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Inter', sans-serif;
}
.ws-enroll-btn:hover { background: #d4831a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(235,150,31,.35); }
.ws-contact-link     { margin-top: 1rem; text-align: center; }
.ws-contact-link a   { font-size: .82rem; color: var(--orange); text-decoration: none; }
.ws-contact-link a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   MEDIA PAGE
   ════════════════════════════════════════════════════════════ */
.media-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem 6rem;
}
.media-page-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(71,21,32,.06);
    transition: transform .3s, box-shadow .3s;
}
.media-page-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(71,21,32,.12); }
.media-page-thumb    { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.media-page-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-page-card:hover .media-page-thumb img { transform: scale(1.05); }
.media-page-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(71,21,32,.3);
    transition: background .3s;
}
.media-page-card:hover .media-page-play { background: rgba(71,21,32,.5); }
.play-circle {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s;
}
.media-page-card:hover .play-circle { transform: scale(1.1); }
.media-duration {
    position: absolute;
    bottom: .75rem; right: .75rem;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 4px;
}
.media-page-body     { padding: 1.5rem; }
.media-page-title    { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--dark); margin-bottom: .6rem; line-height: 1.4; }
.media-page-desc     { font-size: .83rem; color: #7a5a5a; line-height: 1.65; margin-bottom: 1.1rem; }
.media-page-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #fff;
    background: var(--dark);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    padding: .55rem 1.1rem;
    border-radius: 50px;
    transition: background .2s;
}
.media-page-link:hover { background: var(--orange); }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.contact-page {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem 7rem;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}
.contact-info-title  { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark); margin-bottom: 1rem; }
.contact-info-text   { color: #7a5a5a; font-size: .92rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact-info-item   { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-label  { font-size: .75rem; font-weight: 700; color: #9a7a7a; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.contact-info-value  { font-size: .92rem; color: var(--dark); font-weight: 500; }
.contact-social      { margin-top: 2.5rem; }
.contact-social h3   { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: 1rem; }
.social-row          { display: flex; gap: .75rem; flex-wrap: wrap; }
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(71,21,32,.15);
    color: var(--dark);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    transition: all .2s;
}
.social-pill:hover   { background: var(--orange); border-color: var(--orange); color: #fff; }

.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 48px rgba(71,21,32,.08);
}
.contact-form-card h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dark); margin-bottom: 1.75rem; }
.form-group          { margin-bottom: 1.25rem; }
.form-label          { display: block; font-size: .8rem; font-weight: 600; color: var(--dark); letter-spacing: .05em; margin-bottom: .45rem; }
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: .85rem 1.1rem;
    border: 1.5px solid rgba(71,21,32,.15);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--dark);
    background: var(--light);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(235,150,31,.12); }
.form-textarea       { resize: vertical; min-height: 130px; }
.form-row            { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--orange);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .3s;
    margin-top: .5rem;
    font-family: 'Inter', sans-serif;
}
.form-submit-btn:hover { background: #d4831a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(235,150,31,.3); }
.form-success {
    background: rgba(235,150,31,.1);
    border: 1px solid rgba(235,150,31,.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: .88rem;
}


/* ════════════════════════════════════════════════════════════
   NAV CONTROLS (lang switcher + auth links)
   ════════════════════════════════════════════════════════════ */

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language toggle button */
.lang-btn {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .75rem;
    border-radius: 50px;
    border: 1.5px solid rgba(71, 21, 32, .2);
    background: transparent;
    color: var(--dark);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    transition: all .25s;
    cursor: pointer;
}
.lang-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(235, 150, 31, .06);
}
.lang-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}
.lang-label {
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 700;
}

/* Nav auth buttons */
.nav-auth {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.nav-auth-link {
    font-size: .85rem;
    font-weight: 500;
    color: #5a3a3a;
    text-decoration: none;
    transition: color .2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    padding: 0;
}
.nav-auth-link:hover { color: var(--orange); }

/* Logged-in user display */
.nav-user {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.nav-user-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
}
.nav-logout-btn {
    font-size: .82rem;
    color: #9a7a7a;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color .2s;
    padding: 0;
}
.nav-logout-btn:hover { color: var(--orange); }

/* Mobile menu extras */
.mobile-menu-divider {
    height: 1px;
    background: rgba(71, 21, 32, .08);
    margin: .5rem 0;
    list-style: none;
}
.mobile-register-link {
    font-weight: 700 !important;
    color: var(--orange) !important;
}
.mobile-logout-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    padding: 0;
}
.mobile-lang-link {
    font-weight: 700 !important;
    color: var(--dark) !important;
    display: flex !important;
    align-items: center;
    gap: .4rem;
}


/* ════════════════════════════════════════════════════════════
   AUTH LAYOUT  (login / register)
   ════════════════════════════════════════════════════════════ */

.auth-body {
    min-height: 100vh;
    display: flex;
    background: var(--light);
    overflow-x: hidden;
}

/* Left art panel */
.auth-bg {
    position: fixed;
    top: 0; left: 0;
    width: 45%;
    height: 100vh;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}
.auth-bg-art {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.85);
}
.auth-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(71,21,32,.55) 0%, rgba(71,21,32,.82) 100%);
}
.auth-brand {
    position: relative;
    z-index: 2;
}
.auth-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}
.auth-logo img {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.25));
}
.auth-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.1;
}
.auth-logo em { font-style: normal; color: var(--orange); }
.auth-brand-tagline {
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
    line-height: 1.7;
    font-style: italic;
    max-width: 320px;
}

/* Right form panel */
.auth-panel {
    margin-left: 45%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 3rem;
    width: 55%;
    position: relative;
    z-index: 1;
}
.auth-card {
    width: 100%;
    max-width: 420px;
}

/* Language button (auth pages) */
.auth-lang-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    border-radius: 50px;
    border: 1.5px solid rgba(71,21,32,.2);
    background: rgba(250,247,242,.92);
    backdrop-filter: blur(8px);
    color: var(--dark);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    transition: all .25s;
}
.auth-lang-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* Auth card internal structure */
.auth-header       { margin-bottom: 2rem; }
.auth-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: .5rem;
    line-height: 1.15;
}
.auth-subtitle     { color: #7a5a5a; font-size: .92rem; line-height: 1.6; }

/* Alerts */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .9rem 1.1rem;
    border-radius: 10px;
    font-size: .88rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.auth-alert svg  { flex-shrink: 0; margin-top: 1px; }
.auth-alert-error {
    background: rgba(229, 62, 62, .08);
    border: 1px solid rgba(229, 62, 62, .25);
    color: #c53030;
}
.auth-alert-success {
    background: rgba(56, 161, 105, .08);
    border: 1px solid rgba(56, 161, 105, .25);
    color: #276749;
}

/* Form fields */
.auth-form         { display: flex; flex-direction: column; gap: .1rem; }
.auth-field        { margin-bottom: 1.1rem; }
.auth-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: .05em;
    margin-bottom: .45rem;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    left: .9rem;
    width: 16px;
    height: 16px;
    color: #9a7a7a;
    pointer-events: none;
    flex-shrink: 0;
}
.auth-input {
    width: 100%;
    padding: .85rem 1rem .85rem 2.6rem;
    border: 1.5px solid rgba(71, 21, 32, .15);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--dark);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.auth-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(235, 150, 31, .12);
}
.auth-input-error  { border-color: #e53e3e !important; }
.auth-field-error  { display: block; font-size: .78rem; color: #e53e3e; margin-top: .35rem; }

/* Eye toggle button */
.auth-eye-btn {
    position: absolute;
    right: .9rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    color: #9a7a7a;
    transition: color .2s;
}
.auth-eye-btn:hover { color: var(--orange); }
.auth-eye-btn svg  { width: 16px; height: 16px; }

/* Remember / forgot row */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    margin-top: .25rem;
}
.auth-forgot {
    font-size: .82rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
}
.auth-forgot:hover { text-decoration: underline; }

/* Checkbox */
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-size: .85rem;
    color: #5a3a3a;
    user-select: none;
}
.auth-checkbox input[type="checkbox"] { display: none; }
.auth-checkbox-mark {
    width: 18px; height: 18px;
    border: 1.5px solid rgba(71, 21, 32, .25);
    border-radius: 5px;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.auth-checkbox input:checked + .auth-checkbox-mark {
    background: var(--orange);
    border-color: var(--orange);
}
.auth-checkbox input:checked + .auth-checkbox-mark::after {
    content: '';
    display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Terms line */
.auth-terms {
    margin-bottom: 1.25rem;
    font-size: .84rem;
}
.auth-terms a { color: var(--orange); text-decoration: none; }
.auth-terms a:hover { text-decoration: underline; }

/* Password strength */
.auth-password-strength {
    height: 3px;
    background: rgba(71,21,32,.08);
    border-radius: 2px;
    margin-top: .5rem;
    overflow: hidden;
}
.auth-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width .4s, background .4s;
}
.auth-strength-label {
    font-size: .72rem;
    font-weight: 600;
    margin-top: .3rem;
    display: block;
    min-height: 1rem;
}

/* Submit button */
.auth-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem;
    background: var(--orange);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .3s;
    margin-bottom: 1.5rem;
}
.auth-submit-btn svg { width: 16px; height: 16px; }
.auth-submit-btn:hover {
    background: #d4831a;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(235, 150, 31, .35);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(71, 21, 32, .1);
}
.auth-divider span {
    font-size: .78rem;
    color: #9a7a7a;
    font-weight: 500;
    white-space: nowrap;
}

/* Switch link */
.auth-switch        { text-align: center; }
.auth-switch p      { font-size: .88rem; color: #7a5a5a; margin-bottom: .75rem; }
.auth-switch a      { color: var(--orange); font-weight: 600; text-decoration: none; }
.auth-switch a:hover{ text-decoration: underline; }
.auth-back-home     { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: #9a7a7a; }
.auth-back-home:hover { color: var(--dark); }


/* ════════════════════════════════════════════════════════════
   RTL / ARABIC  (dir="rtl" on <html>)
   ════════════════════════════════════════════════════════════ */

[dir="rtl"] body {
    font-family: 'Noto Naskh Arabic', 'Inter', sans-serif;
}

/* Arabic headings */
[dir="rtl"] .section-title,
[dir="rtl"] .auth-title,
[dir="rtl"] .contact-info-title,
[dir="rtl"] .ws-title,
[dir="rtl"] .ws-section-h,
[dir="rtl"] .artwork-detail-title,
[dir="rtl"] .bio-content h2,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
    font-family: 'Noto Naskh Arabic', serif;
    letter-spacing: 0;
}

/* Flip nav layout */
[dir="rtl"] .nav-inner    { flex-direction: row-reverse; }
[dir="rtl"] .nav-links    { flex-direction: row-reverse; }
[dir="rtl"] .nav-controls { flex-direction: row-reverse; }

/* Active nav underline flips */
[dir="rtl"] .nav-links a.active::after { left: auto; right: 0; }

/* Mobile menu */
[dir="rtl"] .mobile-menu  { text-align: right; }

/* Footer grid */
[dir="rtl"] .footer-grid  { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .social-links  { flex-direction: row-reverse; }

/* Hero content */
[dir="rtl"] .hero-content  { text-align: right; }
[dir="rtl"] .hero-btns     { flex-direction: row-reverse; }
[dir="rtl"] .hero-roles     { align-items: flex-end; }
[dir="rtl"] .hero-role span { margin-right: 0; margin-left: .5rem; }

/* About preview */
[dir="rtl"] .about-preview          { direction: rtl; }
[dir="rtl"] .about-img-badge        { right: auto; left: -1.5rem; bottom: -1.5rem; }
[dir="rtl"] .about-highlights       { direction: rtl; }

/* Bio section */
[dir="rtl"] .bio-section            { direction: rtl; }
[dir="rtl"] .bio-quick-item         { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .timeline-item          { flex-direction: row-reverse; }
[dir="rtl"] .timeline-body          { border-left: none; border-right: 2px solid var(--cream); padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .skills-grid            { direction: rtl; }
[dir="rtl"] .skill-name             { flex-direction: row-reverse; }
[dir="rtl"] .studio-photos          { direction: rtl; }
[dir="rtl"] .bio-cta                { flex-direction: row-reverse; }

/* Gallery filter */
[dir="rtl"] .filter-bar             { flex-direction: row-reverse; }
[dir="rtl"] .masonry-info           { text-align: right; }

/* Artwork detail */
[dir="rtl"] .artwork-detail-grid    { direction: rtl; }
[dir="rtl"] .artwork-thumb-row      { flex-direction: row-reverse; }
[dir="rtl"] .artwork-meta-table     { direction: rtl; }
[dir="rtl"] .artwork-detail-actions { flex-direction: row-reverse; }
[dir="rtl"] .related-grid           { direction: rtl; }
[dir="rtl"] .back-link              { flex-direction: row-reverse; }
[dir="rtl"] .back-link::before      { content: '→'; }
[dir="rtl"] .back-link              { direction: rtl; }

/* Workshop cards */
[dir="rtl"] .workshops-grid         { direction: rtl; }
[dir="rtl"] .workshop-footer        { flex-direction: row-reverse; }
[dir="rtl"] .ws-meta                { flex-direction: row-reverse; }
[dir="rtl"] .ws-types               { flex-direction: row-reverse; }
[dir="rtl"] .ws-footer              { flex-direction: row-reverse; }

/* Workshop detail */
[dir="rtl"] .ws-detail-grid         { direction: rtl; }
[dir="rtl"] .ws-meta-list li        { flex-direction: row-reverse; }
[dir="rtl"] .format-tabs            { flex-direction: row-reverse; }
[dir="rtl"] .curriculum-item        { flex-direction: row-reverse; }
[dir="rtl"] .curriculum-text        { text-align: right; }
[dir="rtl"] .ws-back                { flex-direction: row-reverse; }

/* Media */
[dir="rtl"] .media-grid             { direction: rtl; }
[dir="rtl"] .media-page-grid        { direction: rtl; }
[dir="rtl"] .media-duration         { right: auto; left: .75rem; }

/* Contact */
[dir="rtl"] .contact-page           { direction: rtl; }
[dir="rtl"] .contact-info-item      { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .social-row             { flex-direction: row-reverse; }
[dir="rtl"] .social-pill            { flex-direction: row-reverse; }
[dir="rtl"] .form-row               { direction: rtl; }
[dir="rtl"] .form-label             { text-align: right; }
[dir="rtl"] .form-input,
[dir="rtl"] .form-select,
[dir="rtl"] .form-textarea          { text-align: right; direction: rtl; font-family: 'Noto Naskh Arabic', 'Inter', sans-serif; }

/* Auth layout RTL */
[dir="rtl"] .auth-bg                { left: auto; right: 0; }
[dir="rtl"] .auth-panel             { margin-left: 0; margin-right: 45%; }
[dir="rtl"] .auth-lang-btn          { right: auto; left: 1.5rem; }
[dir="rtl"] .auth-logo              { flex-direction: row-reverse; }
[dir="rtl"] .auth-brand-tagline     { text-align: right; }
[dir="rtl"] .auth-header            { text-align: right; }
[dir="rtl"] .auth-label             { text-align: right; }
[dir="rtl"] .auth-input-icon        { left: auto; right: .9rem; }
[dir="rtl"] .auth-input             { padding: .85rem 2.6rem .85rem 1rem; text-align: right; direction: rtl; font-family: 'Noto Naskh Arabic', 'Inter', sans-serif; }
[dir="rtl"] .auth-eye-btn           { right: auto; left: .9rem; }
[dir="rtl"] .auth-row               { flex-direction: row-reverse; }
[dir="rtl"] .auth-checkbox          { flex-direction: row-reverse; }
[dir="rtl"] .auth-checkbox input:checked + .auth-checkbox-mark::after { transform: rotate(45deg) translate(1px, -1px); }
[dir="rtl"] .auth-terms             { text-align: right; }
[dir="rtl"] .auth-submit-btn        { flex-direction: row-reverse; }
[dir="rtl"] .auth-submit-btn svg    { transform: scaleX(-1); }
[dir="rtl"] .auth-switch            { direction: rtl; }
[dir="rtl"] .auth-back-home         { flex-direction: row-reverse; }
[dir="rtl"] .auth-alert             { flex-direction: row-reverse; text-align: right; }

/* CTA banner RTL */
[dir="rtl"] .cta-banner-inner       { direction: rtl; }
[dir="rtl"] .cta-btns               { flex-direction: row-reverse; }

/* Testimonials RTL */
[dir="rtl"] .testimonials-grid      { direction: rtl; }
[dir="rtl"] .testimonial-author     { flex-direction: row-reverse; }
[dir="rtl"] .testimonial-card       { text-align: right; }

/* Artworks section RTL */
[dir="rtl"] .artworks-grid          { direction: rtl; }
[dir="rtl"] .artwork-info           { text-align: right; }

/* Buttons RTL arrow flip */
[dir="rtl"] .btn-primary svg,
[dir="rtl"] .btn-outline svg        { transform: scaleX(-1); }
