/* ---------- Global ---------- */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #000;
    color: #fff;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    max-width: 1000px;
}

.artist-name {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin: 0 0 8px;
    letter-spacing: 1px;
    font-weight: 700;
}

.tagline {
    font-style: italic;
    margin: 0 0 14px;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #ddd;
}

.about {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
    color: #eee;
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
}

/* ---------- ART GALLERY (desktop: split) ---------- */
.art-gallery {
    width: 100%;
    margin: 0;
    padding: 0;
}

.art-section {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.art-section:nth-child(even) {
    flex-direction: row-reverse;
}

/* left/right halves - image & info */
.art-image {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    transition: filter .5s ease;
}

.art-section:hover .art-image {
    filter: grayscale(0);
}

.art-info {
    flex: 1 1 50%;
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.02));
}

.art-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 8px;
}

.art-info .medium {
    color: #ccc;
    margin: 0 0 8px;
}

.art-info .price {
    color: #bbb;
    font-weight: 600;
    margin-top: 8px;
}


/* ---------- FOOTER (override-safe) ---------- */
.site-footer {
  background: #0f0f0f;
  color: #cfcfcf;
  padding: 40px 20px 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* main content area inside footer */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}

/* signature / socials sizing */
.signature img {
  height: 60px;
  width: 180px;
  margin-bottom: 8px;
  opacity: 0.95;
  display: block;
}

/* optional qr (if used) */
.qr-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #333;
  margin-bottom: 8px;
}

/* social links */
.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.socials .social {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}
.socials .social:hover { color: #bbb; }

/* ---------- CENTERED COMPANY LOGO (strong rules) ---------- */
.powered-by {
  text-align: center !important;
  border-top: 1px solid #222;
  padding-top: 18px;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.powered-by p {
  font-size: 0.95rem;
  color: #aaa;
  margin: 0 0 10px 0;
  line-height: 1;
}

/* Force the logo to fixed width, centered, responsive */
.powered-by .powered-logo {
  display: block !important;
  margin: 0 auto !important;
  width: 140px !important;      /* desktop base size */
  max-width: 40vw !important;   /* scale on very small screens */
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* small hover effect */
.powered-by .powered-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ---------- MOBILE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
  .art-section {
    display: block;
    position: relative;
    min-height: auto;
    margin-bottom: 40px;
  }

  .art-image {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
  }

  /* Overlay text on image */
  .art-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    text-align: center;
    padding: 20px 15px;
    font-family: "Poppins", sans-serif;
  }

  .art-info h2 {
    font-size: 1.4rem;
    margin: 0 0 8px;
    color: #000;
  }

  .art-info .medium {
    color: #222;
    font-size: 0.95rem;
    margin: 0 0 8px;
  }

  .art-info .price {
    color: #111;
    font-weight: 600;
    font-size: 1rem;
  }

  /* Remove alternating (even) flip */
  .art-section:nth-child(even) {
    flex-direction: column;
  }    


    
  .footer-inner {
    flex-direction: column;
    gap: 18px;
    padding: 0 8px;
  }

  .signature img { height: 50px; width: 180px; }

  .powered-by {
    padding-top: 12px;
  }

  /* slightly smaller logo on small screens */
  .powered-by .powered-logo {
    width: 100px !important;
    max-width: 45vw !important;
  }
}

/* emergency fallback just in case any other css sets img {width:100%} */
.site-footer img.powered-logo {
  /*width: auto !important;*/
  max-width: 100% !important;
  height: auto !important;
}
















/* ---------- ARTWORK DETAILS PAGE ---------- */
.details-header {
  padding: 20px 40px;
  text-align: left;
  background: #000;
}

.back-link {
  color: #aaa;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #fff;
}

.artwork-details {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 100vh;
  background: #000;
  color: #fff;
}

.artwork-image {
  flex: 1 1 50%;
  overflow: hidden;
}

.artwork-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.artwork-info {
  flex: 1 1 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.art-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.art-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 25px;
}

.art-price {
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(90deg, #888, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 20px;
}

.art-meta p {
  font-size: 1rem;
  color: #bbb;
  margin: 6px 0;
}

/* ---------- Responsive (Mobile Stack) ---------- */
@media (max-width: 768px) {
  .artwork-details {
    flex-direction: column;
  }

  .artwork-image img {
    height: auto;
  }

  .artwork-info {
    padding: 40px 20px;
  }

  .art-title {
    font-size: 1.6rem;
  }

  .art-price {
    font-size: 1.2rem;
  }
}



/* ---------- CALIGRAPHIC FONT ---------- */
.calligraphic {
  font-family: "Copperplate", cursive;
  letter-spacing: 0.5px;
}




.explore-btn {
  display: inline-block !important;   /* ensures button only fits text */
  width: auto !important;             /* prevents full-width stretching */
  margin-top: 10px;
  padding: 8px 22px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 25px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  align-self: flex-start;             /* avoids full-width in flex parents */
}

.explore-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.03);
}

/* optional: center button for mobile view */
@media (max-width: 768px) {
  .explore-btn {
    display: inline-block !important;
    margin: 12px auto;
  }
}
