/* Wad Art - Custom Styles */

:root {
  --wa-charcoal: #2C2C2C;
  --wa-gold: #C8956C;
  --wa-gold-light: #D4A87C;
  --wa-bg: #F8F6F3;
  --wa-bg-dark: #F0EDE8;
  --wa-text: #333333;
  --wa-text-light: #6c757d;
  --wa-green: #5B8C5A;
  --wa-red: #B85C5C;
  --wa-amber: #C49A3C;
  --wa-white: #ffffff;
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  color: var(--wa-text);
  background-color: var(--wa-bg);
  font-size: 0.95rem;
}

h1, h2, h3, h4, h5, .brand-text, .footer-brand {
  font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
  background: var(--wa-white);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}

.navbar .brand-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wa-charcoal);
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  color: var(--wa-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--wa-gold);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero {
  background: var(--wa-charcoal);
  color: var(--wa-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 550px;
}

.hero .btn-gold {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2rem; }
}

/* Buttons */
.btn-gold {
  background: var(--wa-gold);
  color: var(--wa-white);
  border: none;
  padding: 0.6rem 1.8rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-gold:hover {
  background: var(--wa-gold-light);
  color: var(--wa-white);
}

.btn-outline-gold {
  border: 2px solid var(--wa-gold);
  color: var(--wa-gold);
  background: transparent;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-outline-gold:hover {
  background: var(--wa-gold);
  color: var(--wa-white);
}

/* Section spacing */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--wa-text-light);
  margin-bottom: 2rem;
}

.section-alt {
  background: var(--wa-white);
}

/* Artwork Cards */
.artwork-card {
  background: var(--wa-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.artwork-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.artwork-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.artwork-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.artwork-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.artwork-card .card-img-wrap .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  padding: 0.35em 0.65em;
}

.artwork-card .card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artwork-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.artwork-card .card-title a {
  color: var(--wa-charcoal);
  text-decoration: none;
}

.artwork-card .card-title a:hover {
  color: var(--wa-gold);
}

.artwork-card .card-meta {
  font-size: 0.8rem;
  color: var(--wa-text-light);
  margin-bottom: 0.5rem;
}

.artwork-card .card-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wa-charcoal);
  margin-top: auto;
}

/* Category pills */
.category-pills .nav-link {
  color: var(--wa-text);
  background: var(--wa-white);
  border: 1px solid #dee2e6;
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  margin: 0 0.25rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.category-pills .nav-link:hover,
.category-pills .nav-link.active {
  background: var(--wa-gold);
  border-color: var(--wa-gold);
  color: var(--wa-white);
}

/* Artwork detail page */
.artwork-detail .artwork-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.artwork-detail .artwork-meta {
  color: var(--wa-text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.artwork-detail .artwork-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wa-charcoal);
}

.artwork-detail .artwork-description {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}

/* Gallery thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.gallery-thumbs a {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.gallery-thumbs a:hover,
.gallery-thumbs a.active {
  border-color: var(--wa-gold);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main-img {
  border-radius: 8px;
  overflow: hidden;
}

.gallery-main-img img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  background: var(--wa-white);
}

/* About page */
.about-content {
  font-size: 1rem;
  line-height: 1.8;
}

.about-img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Commission page */
.commission-types .type-card {
  text-align: center;
  padding: 2rem;
  background: var(--wa-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.commission-types .type-card i {
  font-size: 2.5rem;
  color: var(--wa-gold);
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--wa-charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.site-footer h5,
.site-footer h6 {
  color: var(--wa-white);
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--wa-gold);
}

.site-footer hr {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1rem;
}

.social-links a {
  font-size: 1.3rem;
  margin-right: 1rem;
}

/* Back to top */
.btn-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wa-gold);
  color: var(--wa-white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: opacity 0.3s;
}

.btn-back-to-top.show {
  display: flex;
}

/* 404 */
.page-404-content {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.page-404-content h1 {
  font-size: 6rem;
  color: var(--wa-gold);
  font-weight: 700;
}

/* Modals */
.modal-header {
  border-bottom: 1px solid #eee;
}

.modal-title {
  font-family: 'Playfair Display', serif;
}

/* Badges */
.badge.bg-success { background-color: var(--wa-green) !important; }
.badge.bg-warning { background-color: var(--wa-amber) !important; }
.badge.bg-danger { background-color: var(--wa-red) !important; }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  padding: 1rem 0;
  margin: 0;
  background: transparent;
}

.breadcrumb a {
  color: var(--wa-gold);
  text-decoration: none;
}

/* Lazy load fade in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* WhatsApp button style */
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 4px;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: white;
}

/* Admin styles */
.admin-sidebar {
  background: var(--wa-charcoal);
  color: var(--wa-white);
  min-height: 100vh;
  padding: 1.5rem;
}

.admin-sidebar a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255,255,255,0.1);
  color: var(--wa-white);
}

.admin-content {
  padding: 2rem;
}

.stat-card {
  background: var(--wa-white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wa-charcoal);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--wa-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Checklist for SEO suggestions */
.seo-checklist .form-check {
  padding: 0.5rem 0 0.5rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.seo-checklist .form-check:last-child {
  border-bottom: none;
}

.seo-checklist a {
  color: var(--wa-gold);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }
  .section { padding: 2.5rem 0; }
}

@media (max-width: 575.98px) {
  .artwork-card .card-body { padding: 0.75rem; }
  .artwork-card .card-title { font-size: 0.9rem; }
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
}
