/* ============================================
   MEKDAM NIMA - CLEAN MODERN ART GALLERY DESIGN
   ============================================ */

/* ============================================
   BODY & BASE LAYOUT
   ============================================ */
body {
    font-family: 'Inter', 'Open Sans', 'Raleway', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    background-color: #0b0b0b; /* Slightly softer dark background for depth */
    color: #e5e5e5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY & HEADINGS
   ============================================ */
h1 {
    font-family: 'Poiret One', 'Montserrat', 'Georgia', cursive;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin: 0;
    padding: 20px 0;
    letter-spacing: 7px;
    text-transform: uppercase;
}

h2 {
    font-family: 'Montserrat', 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    color: #cccccc;
    margin: 0;
    padding-bottom: 15px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #D4AF37; /* Clean Metallic Gold */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 0;
    margin: 30px auto;
    letter-spacing: 2px;
    max-width: 80%;
}

h4 {
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #D4AF37;
    margin: 20px 0 10px 0;
    letter-spacing: 1px;
}

p {
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #c5c5c5;
    margin-bottom: 20px;
}

/* ============================================
   LINKS & NAV INTERACTION
   ============================================ */
a:link, a:visited {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Navigation items adjustments */
.navbar-custom .nav-link {
    font-family: 'Poppins', 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

/* ============================================
   THE ART SHOWCASE (Images & Framework)
   ============================================ */
img {
    border-style: none;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Elegant painting frame effect on hover */
.ecardImg, .wallpaperImg, .colorwheelImg, .blockW800px img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
}

.ecardImg:hover, .wallpaperImg:hover, .colorwheelImg:hover, .blockW800px img:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

/* ============================================
   PAGE WRAPPERS & FLUID GRID
   ============================================ */
#pageWrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Fixing fixed pixel layout blocks to be flexible modern boxes */
.blockGeneral {
    margin: 0 auto 40px auto;
    max-width: 800px;
    width: 100%;
}

.blockW500px, .blockW600px, .blockW700px, .blockW800px {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   BLOCK QUOTES & CAPTIONS
   ============================================ */
blockquote, .artist-quote {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif !important;
    font-size: 1.4rem !important;
    font-style: italic !important;
    color: #e5e5e5 !important;
    line-height: 1.8 !important;
    border-left: 3px solid #D4AF37;
    padding: 10px 25px;
    margin: 30px auto;
    max-width: 80%;
    background: rgba(255, 255, 255, 0.02);
}

.caption, figcaption {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    color: #888888 !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    margin-top: -15px;
    margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE DESIGN (Phones & Tablets)
   ============================================ */
@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
    }
    h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }
    h2 {
        font-size: 18px;
        letter-spacing: 3px;
    }
    h3 {
        font-size: 20px;
        max-width: 100%;
    }
    #pageWrapper {
        width: 95%;
        padding: 10px;
    }
    blockquote, .artist-quote {
        max-width: 100%;
        font-size: 1.2rem !important;
    }
}