/*
Theme Name: Art For Everyone
Description: Elementor Overrides
*/

/* Ensure Elementor containers use theme fonts */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--afe-font-heading);
}

/* Script/decorative headings */
.afe-script-heading .elementor-heading-title {
  font-family: var(--afe-font-script);
}

/* Pill buttons */
.elementor-widget-button .elementor-button {
  border-radius: var(--afe-radius-lg);
  font-family: var(--afe-font-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Event card date badges */
.afe-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--afe-secondary);
  color: white;
  border-radius: var(--afe-radius-sm);
  padding: 8px 12px;
  text-align: center;
  line-height: 1.2;
}

.afe-date-badge .month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  display: block;
}

.afe-date-badge .day {
  font-size: 22px;
  font-weight: 700;
  display: block;
}

/* Event cards hover */
.afe-event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.afe-event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--afe-shadow-lg);
}

/* Artist cards hover */
.afe-artist-card {
  overflow: hidden;
  border-radius: var(--afe-radius-md);
}
.afe-artist-card img {
  transition: transform 0.4s ease;
}
.afe-artist-card:hover img {
  transform: scale(1.05);
}

/* Gallery images hover */
.afe-gallery-item {
  overflow: hidden;
  border-radius: var(--afe-radius-md);
}
.afe-gallery-item img {
  transition: transform 0.5s ease;
}
.afe-gallery-item:hover img {
  transform: scale(1.08);
}

/* Counter section */
.afe-counter-value {
  font-family: var(--afe-font-heading);
  font-size: 48px;
  font-weight: 700;
  color: white;
}

/* Testimonial cards */
.afe-testimonial-card {
  background: white;
  border-radius: var(--afe-radius-md);
  padding: 32px;
  box-shadow: var(--afe-shadow-sm);
  transition: box-shadow 0.3s ease;
}
.afe-testimonial-card:hover {
  box-shadow: var(--afe-shadow-md);
}

/* Section decorative line */
.afe-section-line {
  width: 60px;
  height: 3px;
  background: var(--afe-primary);
  display: inline-block;
}

/* Play button */
.afe-play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.afe-play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* Floating decorative elements */
.afe-floating-element {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

/* Dark section text */
.afe-dark-section .elementor-heading-title {
  color: #FFFFFF;
}
.afe-dark-section .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.8);
}

/* Elementor Nav Menu Styling Overrides */
.elementor-nav-menu--main .elementor-item {
  font-family: var(--afe-font-body);
  font-weight: 500;
  transition: color 0.3s ease;
}
.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: var(--afe-primary);
}

/* Form Widget Styling Overrides */
.elementor-field-group .elementor-field {
  border-radius: var(--afe-radius-sm);
  border: 1px solid #ccc;
  padding: 12px 16px;
  font-family: var(--afe-font-body);
}
.elementor-field-group .elementor-field:focus {
  border-color: var(--afe-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.2);
}
.elementor-button[type="submit"] {
  border-radius: var(--afe-radius-lg);
  background-color: var(--afe-primary);
  font-family: var(--afe-font-body);
  font-weight: 600;
}
.elementor-button[type="submit"]:hover {
  background-color: var(--afe-primary-dark);
}

/* Social Icons Styling Overrides */
.elementor-social-icon {
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.elementor-social-icon:hover {
  transform: translateY(-3px);
  background-color: var(--afe-primary);
}

/* Icon Box Styling Overrides */
.elementor-widget-icon-box .elementor-icon-box-icon {
  margin-bottom: 20px;
}
.elementor-widget-icon-box .elementor-icon-box-title {
  font-family: var(--afe-font-heading);
  font-weight: 700;
}
.elementor-widget-icon-box .elementor-icon-box-description {
  font-family: var(--afe-font-body);
  color: var(--afe-text-muted);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  :root {
    --afe-section-padding: 60px;
  }
}
@media (max-width: 767px) {
  :root {
    --afe-section-padding: 40px;
  }
  .afe-floating-element {
    display: none !important;
  }
  .elementor-nav-menu--dropdown {
    background-color: var(--afe-white);
  }
}
