/* Custom Dark Theme with #DA86B5 Accent Color */
/* Gracemere Dance - Black Background Theme */

/* ========================================
   GLOBAL BACKGROUNDS & BASE COLORS
   ======================================== */

/* Main body and content backgrounds */
body,
.mkdf-content,
.mkdf-wrapper,
.mkdf-wrapper-inner,
.mkdf-content-inner {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Page sections */
.mkdf-row-grid-section,
.vc_row,
.wpb_row,
.vc_column_container,
.wpb_column {
    background-color: transparent !important;
}

/* ========================================
   HERO CAROUSEL & SLIDER
   ======================================== */

/* Hero text wrapper with subtle gradient */
.hero-text {
    position: absolute !important;
    top: 20% !important;
    left: 10% !important;
    z-index: 2 !important;
    padding: 30px 40px !important;
    max-width: 520px !important;
    color: #ffffff !important;

    /* Subtle contrast gradient - fades from left to right */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0)
    ) !important;
}

/* Refined carousel text styling */
.hero-text .mkdf-st-text,
.swiper-slide .mkdf-st-text {
    color: #f3f3f3 !important;
    font-size: 20px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    opacity: 0.9 !important;
}

/* Carousel title with ultra-soft shadow for readability */
.hero-text .mkdf-st-title,
.swiper-slide .mkdf-st-title {
    color: #ffffff !important;
    font-size: clamp(36px, 5vw, 64px) !important;
    line-height: 1.1 !important;
    margin-top: 10px !important;

    /* Ultra-soft shadow makes text readable over faces/backgrounds */
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Improved CTA button in carousel */
.hero-text a,
.swiper-slide .hero-text a {
    display: inline-block !important;
    margin-top: 30px !important;
    padding: 12px 36px !important;

    /* background: rgba(255, 255, 255, 0.9) !important; */
    color: #111 !important;
    border: 1px solid #fff !important;
    /* text-transform: lowercase !important; */
    letter-spacing: 0.08em !important;
    text-decoration: none !important;
    border-radius: 2px !important;

    transition: all 0.3s ease !important;
}

.hero-text a:hover,
.swiper-slide .hero-text a:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Swiper navigation buttons - update colors for dark theme */
.swiper-button-next,
.swiper-button-prev {
    color: #DA86B5 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #ffffff !important;
}

/* Swiper pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
}

.swiper-pagination-bullet-active {
    background: #DA86B5 !important;
}

/* Mobile polish for carousel */
@media only screen and (max-width: 768px) {
    .hero-text {
        top: 15%;
        left: 5%;
        right: 5%;
        padding: 20px;
        max-width: calc(100% - 10%);

        /* Solid background on mobile for better readability */
        background: rgba(0, 0, 0, 0.45);
    }

    .hero-text .mkdf-st-title,
    .swiper-slide .mkdf-st-title {
        font-size: 36px !important;
    }

    .hero-text .mkdf-st-text,
    .swiper-slide .mkdf-st-text {
        font-size: 16px !important;
    }

    .hero-text a,
    .swiper-slide .hero-text a {
        padding: 10px 24px !important;
        font-size: 14px !important;
    }
}

/* Carousel container adjustments for dark theme */
.wpb_revslider_element,
.swiper {
    background-color: #000000 !important;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* Header backgrounds */
.mkdf-page-header,
.mkdf-top-bar,
.mkdf-menu-area,
.mkdf-logo-area,
.mkdf-sticky-header,
.mkdf-header-box,
.mkdf-mobile-header {
    background-color: #000000 !important;
}

/* Navigation menu */
.mkdf-main-menu > ul > li > a,
.mkdf-mobile-nav a,
.mkdf-mobile-menu-opener a {
    color: #ffffff !important;
}

.mkdf-main-menu > ul > li > a:hover,
.mkdf-main-menu > ul > li.mkdf-active-item > a {
    color: #DA86B5 !important;
}

/* Dropdown menus */
.mkdf-drop-down .second,
.mkdf-drop-down .wide .second {
    background-color: #1a1a1a !important;
    border-color: #DA86B5 !important;
}

.mkdf-drop-down .second .inner ul li a {
    color: #ffffff !important;
}

.mkdf-drop-down .second .inner ul li a:hover {
    color: #DA86B5 !important;
    background-color: #2a2a2a !important;
}

/* Mobile menu */
.mkdf-mobile-header .mkdf-mobile-nav,
.mkdf-mobile-header-inner {
    background-color: #000000 !important;
}

/* ========================================
   TYPOGRAPHY & TEXT
   ======================================== */

h1, h2, h3, h4, h5, h6,
.mkdf-title,
.mkdf-section-title,
p, span, div, a {
    color: #ffffff !important;
}

a:hover {
    color: #DA86B5 !important;
}

/* Specific heading overrides */
.mkdf-st-title,
.mkdf-section-title-holder {
    color: #ffffff !important;
}

.mkdf-st-text {
  color: #f7f7f7;      /* slightly brighter */
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Schedule section spacing */
#schedule .mkdf-section-title-holder {
    padding-top: 40px !important;
}

/* Hide owl carousel dots */
.owl-dots {
    display: none !important;
}

/* Fix testimonial slider */
.mkdf-testimonials.mkdf-owl-slider {
    position: relative !important;
}

.mkdf-testimonials.mkdf-owl-slider .owl-stage-outer {
    overflow: hidden !important;
    position: relative !important;
}

.mkdf-testimonials.mkdf-owl-slider .owl-stage {
    display: block !important;
}

.mkdf-testimonials.mkdf-owl-slider .owl-item {
    min-height: 1px !important;
}

/* Testimonial styling for dark theme */
.mkdf-testimonials-holder {
    background-color: #DA86B5 !important;
    padding: 60px 40px !important;
    border-radius: 0 !important;
}

.mkdf-testimonials-heading {
    color: #ffffff !important;
    font-size: 48px !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

.mkdf-testimonial-text {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.mkdf-testimonial-author,
.mkdf-testimonials-author-name {
    color: #ffffff !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* Testimonial navigation arrows */
.mkdf-testimonials .owl-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5 !important;
}

.mkdf-testimonials .owl-nav button,
.mkdf-testimonials .owl-nav .owl-prev,
.mkdf-testimonials .owl-nav .owl-next {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    font-size: 40px !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mkdf-testimonials .owl-nav button:hover {
    color: #000000 !important;
}

/* Footer contact layout */
.mkdf-page-footer .mkdf-footer-top-holder .mkdf-column-content {
    float: none !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 100% !important;
}

.mkdf-page-footer .mkdf-icon-widget-holder {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.mkdf-page-footer .mkdf-icon-widget-holder .mkdf-icon-element,
.mkdf-page-footer .mkdf-icon-widget-holder .mkdf-icon-text {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* ========================================
   BUTTONS & CALLS TO ACTION
   ======================================== */

/* Primary buttons */
.mkdf-btn,
.mkdf-button,
button,
input[type="submit"],
input[type="button"],
.button,
.woocommerce-Button {
    background-color: #DA86B5 !important;
    border-color: #DA86B5 !important;
    color: #000000 !important;
}

.mkdf-btn:hover,
.mkdf-button:hover,
button:hover,
input[type="submit"]:hover,
.button:hover {
    background-color: #c26fa0 !important;
    border-color: #c26fa0 !important;
    color: #000000 !important;
}

/* Secondary/outline buttons */
.mkdf-btn-outline {
    background-color: transparent !important;
    border-color: #DA86B5 !important;
    color: #DA86B5 !important;
}

.mkdf-btn-outline:hover {
    background-color: #DA86B5 !important;
    color: #000000 !important;
}

/* ========================================
   FORMS & INPUTS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select,
.wpcf7-form-control {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #DA86B5 !important;
    background-color: #2a2a2a !important;
}

input::placeholder,
textarea::placeholder {
    color: #999999 !important;
}

/* Contact Form 7 */
.cf7_custom_style_1 input.wpcf7-form-control,
.cf7_custom_style_2 input.wpcf7-form-control,
.cf7_custom_style_1 textarea.wpcf7-form-control,
.cf7_custom_style_2 textarea.wpcf7-form-control {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

/* ========================================
   SECTIONS & CONTAINERS
   ======================================== */

/* Section backgrounds - keep some variety */
.mkdf-section-inner,
.wpb_wrapper,
.vc_column-inner {
    background-color: transparent !important;
}

/* Alternate section styling */
.mkdf-dark-section,
.mkdf-parallax-section {
    background-color: #0a0a0a !important;
}

/* Light sections now become slightly lighter black */
.mkdf-light-section {
    background-color: #1a1a1a !important;
}

/* ========================================
   CARDS, BOXES & WIDGETS
   ======================================== */

/* .mkdf-info-box,
.mkdf-image-box,
.mkdf-icon-box,
.widget,
.mkdf-sidebar .widget {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
} */

.mkdf-info-box:hover,
.mkdf-image-box:hover {
    border-color: #DA86B5 !important;
}

/* Widget titles */
.widget-title,
.mkdf-widget-title {
    color: #DA86B5 !important;
}

/* ========================================
   TEAM MEMBERS & PORTFOLIO
   ======================================== */

.mkdf-team-member,
.mkdf-team-info,
.mkdf-portfolio-item {
    background-color: #1a1a1a !important;
}

.mkdf-team-member:hover,
.mkdf-portfolio-item:hover {
    border-color: #DA86B5 !important;
}

.mkdf-team-name,
.mkdf-team-position,
.mkdf-portfolio-title {
    color: #ffffff !important;
}

/* ========================================
   TIMETABLE & EVENTS
   ======================================== */

.tt_wrapper,
.tt_timetable,
.event_container,
.event_header {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.event_header,
.tt_tabs_navigation li {
    background-color: #DA86B5 !important;
    color: #000000 !important;
}

.tt_tabs_navigation li:hover,
.tt_tabs_navigation li.active {
    background-color: #c26fa0 !important;
}

.event_container .event_time,
.event_container .event_description {
    color: #ffffff !important;
}

/* ========================================
   WOOCOMMERCE
   ======================================== */

.woocommerce .product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
}

.woocommerce .price,
.woocommerce .amount,
.woocommerce .woocommerce-Price-amount {
    color: #DA86B5 !important;
}

.woocommerce .star-rating span,
.woocommerce .star-rating::before {
    color: #DA86B5 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: #2a2a2a !important;
    border-bottom-color: #DA86B5 !important;
}

/* Add to cart button */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #DA86B5 !important;
    color: #000000 !important;
}

/* ========================================
   FOOTER
   ======================================== */

.mkdf-footer,
.mkdf-footer-top,
.mkdf-footer-bottom {
    background-color: #0a0a0a !important;
    border-top: 2px solid #DA86B5 !important;
}

.mkdf-footer-top-inner,
.mkdf-footer-bottom-inner {
    color: #ffffff !important;
}

.mkdf-footer a {
    color: #DA86B5 !important;
}

.mkdf-footer a:hover {
    color: #c26fa0 !important;
}

/* ========================================
   SLIDER & REVOLUTION SLIDER
   ======================================== */

.rev_slider,
.tp-caption,
.tp-mask-wrap {
    color: #ffffff !important;
}

.tp-button,
.tp-caption.tp-button {
    background-color: #DA86B5 !important;
    border-color: #DA86B5 !important;
    color: #000000 !important;
}

/* ========================================
   PORTFOLIO & GALLERY
   ======================================== */

.mkdf-portfolio-list-holder,
.mkdf-pl-inner {
    background-color: transparent !important;
}

.mkdf-pli-text-holder,
.mkdf-pli-text-wrapper {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

.mkdf-pli-title a,
.mkdf-pli-category a {
    color: #ffffff !important;
}

.mkdf-pli-title a:hover,
.mkdf-pli-category a:hover {
    color: #DA86B5 !important;
}

/* Portfolio filter */
.mkdf-pl-filter-holder {
    background-color: transparent !important;
}

.mkdf-pl-filter {
    color: #ffffff !important;
    border-color: #333333 !important;
}

.mkdf-pl-filter:hover,
.mkdf-pl-filter.active {
    color: #DA86B5 !important;
    border-color: #DA86B5 !important;
}

/* ========================================
   ACCORDIONS & TABS
   ======================================== */

.mkdf-accordion-holder .mkdf-title-holder,
.vc_tta-panel-title {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.mkdf-accordion-holder .mkdf-title-holder.ui-state-active,
.mkdf-accordion-holder .mkdf-title-holder:hover {
    background-color: #DA86B5 !important;
    color: #000000 !important;
}

.mkdf-accordion-holder .mkdf-accordion-content {
    background-color: #0a0a0a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.vc_tta-tabs-list li {
    background-color: #1a1a1a !important;
}

.vc_tta-tabs-list li.vc_active {
    background-color: #DA86B5 !important;
}

.vc_tta-tabs-list li.vc_active a {
    color: #000000 !important;
}

/* ========================================
   MODALS & POPUPS
   ======================================== */

.mfp-bg,
.mfp-wrap {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

.mfp-content,
.white-popup {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.mfp-close,
.mfp-close-btn-in .mfp-close {
    color: #DA86B5 !important;
}

/* ========================================
   SEARCH
   ======================================== */

.mkdf-search-cover,
.mkdf-fullscreen-search-holder {
    background-color: rgba(0, 0, 0, 0.98) !important;
}

.mkdf-search-field {
    background-color: transparent !important;
    border-color: #DA86B5 !important;
    color: #ffffff !important;
}

/* ========================================
   BREADCRUMBS & PAGE TITLE
   ======================================== */

.mkdf-title-holder {
    background-color: #0a0a0a !important;
}

.mkdf-title-holder .mkdf-title-wrapper .mkdf-page-title,
.mkdf-breadcrumbs {
    color: #ffffff !important;
}

.mkdf-breadcrumbs a {
    color: #DA86B5 !important;
}

.mkdf-breadcrumbs a:hover {
    color: #c26fa0 !important;
}

/* ========================================
   COUNTERS & PROGRESS BARS
   ======================================== */

.mkdf-counter,
.mkdf-counter-holder {
    color: #DA86B5 !important;
}

.mkdf-progress-bar {
    background-color: #1a1a1a !important;
}

.mkdf-progress-content {
    background-color: #DA86B5 !important;
}

.mkdf-progress-title,
.mkdf-progress-number {
    color: #ffffff !important;
}

/* ========================================
   LISTS & ICON LISTS
   ======================================== */

.mkdf-icon-list-item {
    color: #ffffff !important;
}

.mkdf-icon-list-item .mkdf-icon-list-icon {
    color: #DA86B5 !important;
}

/* ========================================
   BLOCKQUOTES & TESTIMONIALS
   ======================================== */

blockquote,
.mkdf-testimonial,
.mkdf-blockquote {
    background-color: #1a1a1a !important;
    border-left-color: #DA86B5 !important;
    color: #ffffff !important;
}

.mkdf-testimonial-author,
.mkdf-testimonial-text {
    color: #ffffff !important;
}

/* ========================================
   SOCIAL ICONS
   ======================================== */

.mkdf-social-icon-widget-holder a,
.mkdf-social-share-holder a {
    color: #ffffff !important;
    border-color: #333333 !important;
}

.mkdf-social-icon-widget-holder a:hover,
.mkdf-social-share-holder a:hover {
    color: #DA86B5 !important;
    border-color: #DA86B5 !important;
    background-color: rgba(218, 134, 181, 0.1) !important;
}

/* ========================================
   BORDERS & DIVIDERS
   ======================================== */

hr,
.mkdf-separator,
.mkdf-border {
    border-color: #333333 !important;
    background-color: #333333 !important;
}

.mkdf-separator.mkdf-accent {
    background-color: #DA86B5 !important;
}

/* ========================================
   ANIMATIONS & HOVER EFFECTS
   ======================================== */

.mkdf-appearing-animation {
    opacity: 1 !important;
}

/* ========================================
   DANCE STYLES SECTION
   ======================================== */

.gd-dance-styles {
    background-color: #DA86B5 !important;
    padding: 80px 0;
}

.gd-dance-styles-header {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 760px;
}

.gd-dance-styles-kicker {
    font-family: Scriptina, cursive;
    font-size: 26px;
    letter-spacing: 0.1em;
    color: #111111 !important;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gd-dance-styles-title {
    color: #111111 !important;
    font-size: 36px;
    margin: 0;
}

.gd-dance-style-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gd-dance-card {
    background-color: #0f0f0f;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gd-dance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.gd-dance-card-image {
    height: 210px;
    background-color: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gd-dance-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gd-dance-card-body {
    padding: 22px 24px 26px;
}

.gd-dance-card-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #ffffff !important;
}

.gd-dance-card-body p {
    margin: 0;
    color: #d7d7d7 !important;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE & MOBILE SPECIFIC
   ======================================== */

@media only screen and (max-width: 1000px) {
    .mkdf-mobile-header,
    .mkdf-mobile-header-inner,
    .mkdf-mobile-nav {
        background-color: #000000 !important;
    }

    .mkdf-mobile-header .mkdf-vertical-align-containers {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .mkdf-mobile-header .mkdf-position-left {
        display: flex;
        align-items: center;
    }

    .mkdf-mobile-header .mkdf-position-center {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        pointer-events: none;
    }

    .mkdf-mobile-header .mkdf-mobile-menu-opener {
        flex: 0 0 auto;
    }

    .mkdf-mobile-header .mkdf-mobile-logo-wrapper {
        text-align: left;
    }

    .mkdf-mobile-header .mkdf-mobile-title {
        color: #ffffff !important;
        font-size: 16px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .mkdf-mobile-nav ul li a {
        color: #ffffff !important;
        border-bottom-color: #333333 !important;
    }

    .mkdf-mobile-nav ul li a:hover {
        color: #DA86B5 !important;
    }
}

@media only screen and (max-width: 900px) {
    .gd-dance-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .gd-dance-styles {
        padding: 60px 0;
    }

    .gd-dance-styles-title {
        font-size: 28px;
    }

    .gd-dance-style-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Override any inline white backgrounds */
[style*="background-color: #fff"],
[style*="background-color: white"],
[style*="background-color: #ffffff"],
[style*="background: #fff"],
[style*="background: white"],
[style*="background: #ffffff"] {
    background-color: #000000 !important;
}

/* Override any inline black text colors to white */
[style*="color: #000"],
[style*="color: black"],
[style*="color: #000000"] {
    color: #ffffff !important;
}

/* Accent color utility */
.accent-color,
.mkdf-accent-color {
    color: #DA86B5 !important;
}

.accent-bg,
.mkdf-accent-bg {
    background-color: #DA86B5 !important;
}

/* ========================================
   SPECIFIC OVERRIDES FOR THEME ELEMENTS
   ======================================== */

/* Ensure proper contrast on all text elements */
.wpb_text_column,
.wpb_content_element,
.vc_custom_heading {
    color: #ffffff !important;
}

/* Image overlays */
.mkdf-image-with-text-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Animation titles */
.mkdf-appear-animation .mkdf-title {
    color: #ffffff !important;
}

/* Info box headers */
.mkdf-ib-title {
    color: #DA86B5 !important;
}

.mkdf-ib-text {
    color: #ffffff !important;
}
