/* =========================
   DESIGN TOKENS
========================= */

:root {
    --bg: #07070a;
    --panel: #14141b;
    --text: #e9e4da;
    --muted: #b9b2a6;

    --accent: #c7a6ff;
    --accent2: #7fd1b9;

    --border: rgba(255,255,255,0.06);
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BASE
========================= */

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, Arial, sans-serif;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.5px;
    font-weight: 500;
}

p {
    color: var(--text);
    opacity: 0.92;
}

/* =========================
   LINKS
========================= */

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent2);
}

/* =========================
   HEADER
========================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
}

.logo {
    width: 170px;
}

/* NAV */

nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a,
.dropbtn {
    background: none;
    border: none;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

nav a:hover,
.dropbtn:hover {
    color: var(--accent2);
}

/* =========================
   DROPDOWN
========================= */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: var(--panel);
    border: 1px solid var(--border);
    min-width: 180px;
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 60px 20px;

    background: radial-gradient(
        circle at center,
        rgba(199, 166, 255, 0.08),
        transparent 60%
    );
}

.hero-text {
    max-width: 720px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 20px;
}

/* =========================
   ABOUT PAGE (CENTERED FLEX)
========================= */

.about {
    padding: 70px 20px;
}

.about-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* IMAGE COLUMN */
.photo {
    flex: 0 0 320px;
}

.photo img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* TEXT COLUMN */
.bio {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}

.bio h1 {
    margin-bottom: 15px;
    color: var(--accent);
}

/* =========================
   PAGE SECTIONS
========================= */

.paintings,
.lamps,
.classes,
.shop,
.contact {
    max-width: 900px;
    margin: auto;
    padding: 70px 20px;
    text-align: center;
}

/* =========================
   GALLERY
========================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 50px 6%;
}

.art {
    background: var(--panel);
    border: 1px solid var(--border);
    overflow: hidden;
}

.art:hover {
    transform: translateY(-4px);
    border-color: rgba(199,166,255,0.4);
}

.art-info {
    padding: 14px;
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 30px;
    background: var(--panel);
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

/* =========================
   CONTACT PAGE FIXES (SAFE ADDITION)
========================= */

.email {
    text-align: center;
    margin: 20px 0 30px;
}

/* SOCIAL ICON ROW */
.socialmedia {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ICON BUTTON */
.socialmedia a {
    width: 54px;
    height: 54px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: white;
    border-radius: 12px;

    padding: 8px;

    transition: transform 0.2s ease, background 0.2s ease;
}

.socialmedia a:hover {
    transform: translateY(-3px);
    background: #f2f2f2;
}

.socialmedia img {
    width: 100%;
    height: auto;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bio {
        text-align: center;
    }

    .photo {
        flex: 0 0 auto;
        width: 80%;
    }
}