/* Main stylesheet for JShuk. Add your global CSS rules here. */

/* Example base styles (customize as needed): */
body {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  background: #f7fafc;
  color: #1a3353;
  margin: 0;
  padding: 0;
}

/* Add more global styles below as needed */

/* Elite Classifieds Styles */
.classifieds-elite .classifieds-header {
  font-size: 2.8em;
  font-weight: 700;
  background: linear-gradient(90deg, #e52e71, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.classifieds-elite .search-bar {
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 12px 24px;
  font-size: 1.1em;
  width: 350px;
  margin-bottom: 32px;
}
.classifieds-elite .cta-btn {
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.classifieds-elite .cta-btn:hover {
  background: linear-gradient(90deg, #e52e71, #ff8a00);
  transform: scale(1.05);
}
.classifieds-elite .classified-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  margin: 24px auto;
  max-width: 350px;
  position: relative;
}
.classifieds-elite .classified-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}
.classifieds-elite .classified-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
.classifieds-elite .classified-card .details {
  padding: 18px;
}
.classifieds-elite .classified-card .price {
  color: #27ae60;
  font-weight: bold;
  font-size: 1.2em;
}
.classifieds-elite .classified-card .location {
  color: #888;
  font-size: 0.95em;
  margin-bottom: 8px;
}
.classifieds-elite .classified-card .badge {
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85em;
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

/* Ad Styles */
.ad-container {
    display: block;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.ad-header {
    max-width: 728px;
    margin: 0 auto 1rem;
}

.ad-sidebar {
    max-width: 300px;
    margin: 0 auto 1rem;
}

.ad-footer {
    max-width: 728px;
    margin: 1rem auto 0;
}

.ad-carousel {
    max-width: 100%;
    margin: 0 auto 1rem;
}

.ad-inline {
    max-width: 100%;
    margin: 1rem auto;
}

.ad-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ad-link:hover {
    opacity: 0.9;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ad-label {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-cta {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ad-placeholder {
    border: 2px dashed #ddd;
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
}

.ad-placeholder-content {
    color: #999;
}

.ad-placeholder-content i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-header {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .ad-sidebar {
        max-width: 100%;
    }
    
    /* Hide sidebar ads on mobile for classifieds page */
    .classifieds-elite .col-lg-2 {
        display: none;
    }
    
    .classifieds-elite .col-lg-8 {
        width: 100%;
    }
}

/* Header Ad Bar Styling - Improved */
.header-ad-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #f8f9fa;
    padding: 16px 0 8px 0;
    border-bottom: 1px solid #eee;
    z-index: 100;
}
.ad-header {
    max-width: 728px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ad-header img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    background: #eee;
}

/* JShuk Header Ad Visual Improvements */
.ad-container.ad-header {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 1rem;
  margin: 1.5rem auto;
  max-width: 480px;
  width: 100%;
  position: relative;
  transition: max-width 0.3s;
}
@media (max-width: 600px) {
  .ad-container.ad-header {
    max-width: 98vw;
    padding: 0.5rem;
    margin: 1rem 0;
  }
}
.ad-container.ad-header img {
  transition: transform 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.ad-container.ad-header img:hover {
  transform: scale(1.02);
}
.ad-label {
  position: absolute;
  top: -10px;
  right: 0;
  background: #ffc107;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  letter-spacing: 1px;
  z-index: 2;
}
.ad-container .btn-primary {
  display: inline-block;
  margin: 10px auto 0 auto;
}

/* Classifieds Page Sidebar Ad Styles */
.classifieds-elite .col-lg-2 .ad-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 20px;
}

.classifieds-elite .col-lg-2 .ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.classifieds-elite .col-lg-2 .ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ffc107;
    color: #000;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    z-index: 2;
} 