/**
 * Club Pheromone - Elementor Compatibility Styles
 */

/* ==========================================================================
   Elementor Full Width Template
   ========================================================================== */
.elementor-full-width {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.elementor-full-width .elementor-section-wrap {
    width: 100%;
}

/* Fix for Elementor sections */
.elementor-full-width .elementor-section {
    width: 100%;
}

.elementor-full-width .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1400px;
}

.elementor-full-width .elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}

/* ==========================================================================
   Elementor Canvas Template
   ========================================================================== */
.elementor-canvas {
    background-color: #0a0a0a;
    color: #ffffff;
}

.elementor-canvas-main {
    width: 100%;
    min-height: 100vh;
}

/* ==========================================================================
   Elementor Widget Styling
   ========================================================================== */

/* Fix Elementor default colors to match theme */
.elementor-widget-text-editor,
.elementor-widget-heading,
.elementor-widget-icon-box .elementor-icon-box-content,
.elementor-widget-image-box .elementor-image-box-content {
    color: #ffffff;
}

.elementor-widget-heading .elementor-heading-title {
    color: #ffffff;
}

/* Gold accent for Elementor */
.elementor-widget-button .elementor-button {
    background-color: #d4af37;
    color: #0a0a0a;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.elementor-widget-button .elementor-button:hover {
    background-color: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

/* Icon styling */
.elementor-widget-icon-box .elementor-icon-box-icon i,
.elementor-widget-icon-list .elementor-icon-list-icon i {
    color: #d4af37;
}

/* Divider styling */
.elementor-widget-divider .elementor-divider-separator {
    border-top-color: rgba(212, 175, 55, 0.3);
}

/* Tabs styling */
.elementor-widget-tabs .elementor-tabs-wrapper {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.elementor-widget-tabs .elementor-tab-title {
    color: #888888;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.elementor-widget-tabs .elementor-tab-title.elementor-active,
.elementor-widget-tabs .elementor-tab-title:hover {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

.elementor-widget-tabs .elementor-tab-content {
    color: #c0c0c0;
    border: none;
}

/* Accordion styling */
.elementor-widget-accordion .elementor-accordion-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.elementor-widget-accordion .elementor-tab-title {
    background: transparent;
    color: #ffffff;
    font-weight: 500;
    padding: 1.5rem 0;
}

.elementor-widget-accordion .elementor-tab-title.elementor-active {
    color: #d4af37;
}

.elementor-widget-accordion .elementor-tab-content {
    background: transparent;
    color: #c0c0c0;
    border: none;
}

.elementor-widget-accordion .elementor-accordion-icon {
    color: #d4af37;
}

/* Counter styling */
.elementor-widget-counter .elementor-counter-number-wrapper {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
}

.elementor-widget-counter .elementor-counter-title {
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Testimonial styling */
.elementor-widget-testimonial .elementor-testimonial-content {
    color: #c0c0c0;
    font-style: italic;
}

.elementor-widget-testimonial .elementor-testimonial-name {
    color: #ffffff;
    font-weight: 600;
}

.elementor-widget-testimonial .elementor-testimonial-job {
    color: #d4af37;
}

/* Image styling */
.elementor-widget-image img {
    border-radius: 8px;
}

/* Form styling */
.elementor-widget-form .elementor-field-group {
    margin-bottom: 1.5rem;
}

.elementor-widget-form .elementor-field-label {
    color: #d4af37;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.elementor-widget-form .elementor-field-textual {
    background: #0a0a0a;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #ffffff;
    padding: 1rem;
    transition: all 0.3s ease;
}

.elementor-widget-form .elementor-field-textual:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 1px #d4af37;
}

.elementor-widget-form .elementor-button {
    background: #d4af37;
    color: #0a0a0a;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.elementor-widget-form .elementor-button:hover {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

/* Price Table styling */
.elementor-widget-price-table {
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.elementor-widget-price-table .elementor-price-table__header {
    background: rgba(212, 175, 55, 0.05);
    padding: 2rem;
}

.elementor-widget-price-table .elementor-price-table__heading {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.elementor-widget-price-table .elementor-price-table__price {
    color: #d4af37;
}

.elementor-widget-price-table .elementor-price-table__features-list {
    color: #c0c0c0;
}

.elementor-widget-price-table .elementor-price-table__button {
    background: #d4af37;
    color: #0a0a0a;
}

/* Progress Bar styling */
.elementor-widget-progress .elementor-progress-wrapper {
    background: #1a1a1a;
}

.elementor-widget-progress .elementor-progress-bar {
    background: #d4af37;
}

.elementor-widget-progress .elementor-title {
    color: #ffffff;
}

/* Star Rating styling */
.elementor-star-rating__wrapper .elementor-star-rating {
    color: #d4af37;
}

/* Social Icons styling */
.elementor-widget-social-icons .elementor-social-icon {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    transition: all 0.3s ease;
}

.elementor-widget-social-icons .elementor-social-icon:hover {
    background: #d4af37;
    color: #0a0a0a;
    border-color: #d4af37;
}

/* ==========================================================================
   Elementor Editor Preview Styles
   ========================================================================== */
.elementor-editor-active .elementor-full-width {
    padding-top: 0;
}

.elementor-editor-active .navbar {
    display: none;
}

/* ==========================================================================
   Elementor Responsive Fixes
   ========================================================================== */
@media (max-width: 1024px) {
    .elementor-section .elementor-container {
        flex-wrap: wrap;
    }
    
    .elementor-column {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .elementor-widget-heading .elementor-heading-title {
        font-size: 2rem !important;
    }
}

/* ==========================================================================
   Elementor Pro Specific Styles
   ========================================================================== */

/* Theme Builder Header/Footer */
.elementor-location-header,
.elementor-location-footer {
    width: 100%;
}

/* Single Post/Archive templates */
.elementor-location-single,
.elementor-location-archive {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 5% 4rem;
}

/* WooCommerce widgets */
.elementor-widget-woocommerce-products .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.elementor-widget-woocommerce-products .product {
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.elementor-widget-woocommerce-products .product .price {
    color: #d4af37;
}

.elementor-widget-woocommerce-products .product .button {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
}

.elementor-widget-woocommerce-products .product .button:hover {
    background: #d4af37;
    color: #0a0a0a;
}

/* Menu Cart widget */
.elementor-menu-cart__container {
    background: rgba(0, 0, 0, 0.8);
}

.elementor-menu-cart__main {
    background: #141414;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
}

.elementor-menu-cart__product-name {
    color: #ffffff;
}

.elementor-menu-cart__product-price {
    color: #d4af37;
}

.elementor-menu-cart__footer-buttons .elementor-button {
    background: #d4af37;
    color: #0a0a0a;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
}

/* ==========================================================================
   Custom Elementor Widget Styles
   ========================================================================== */

/* Product Grid Widget */
.cp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.cp-product-card {
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-product-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
}

.cp-product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.cp-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cp-product-card:hover .cp-product-card__image img {
    transform: scale(1.05);
}

.cp-product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #d4af37;
    color: #0a0a0a;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cp-product-card__info {
    padding: 1.5rem;
}

.cp-product-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cp-product-card__category {
    font-size: 0.8rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.cp-product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cp-product-card__price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4af37;
}

.cp-product-card__price del {
    color: #888888;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.cp-product-card__add-to-cart {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cp-product-card__add-to-cart:hover {
    background: #d4af37;
    color: #0a0a0a;
}

/* Hero Section Widget */
.cp-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
}

.cp-hero-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
}

.cp-hero-section__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.cp-hero-section__subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.cp-hero-section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e5c158 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cp-hero-section__description {
    font-size: 1.1rem;
    color: #c0c0c0;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cp-hero-section__price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #d4af37;
}

.cp-hero-section__price span {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 400;
}

/* Features Section Widget */
.cp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.cp-feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(212, 175, 55, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-feature-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.cp-feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.cp-feature-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cp-feature-card__description {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Testimonials Section Widget */
.cp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cp-testimonial-card {
    background: #141414;
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.cp-testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
}

.cp-testimonial-card__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #c0c0c0;
    position: relative;
    z-index: 2;
}

.cp-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cp-testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8941f, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #0a0a0a;
}

.cp-testimonial-card__name {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.cp-testimonial-card__stars {
    color: #d4af37;
    font-size: 0.85rem;
}

/* Stats Section Widget */
.cp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.cp-stat-item__number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0a0a0a;
}

.cp-stat-item__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333333;
    font-weight: 600;
}

/* FAQ Section Widget */
.cp-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.cp-faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem 0;
}

.cp-faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
}

.cp-faq-item__question:hover {
    color: #d4af37;
}

.cp-faq-item__icon {
    color: #d4af37;
    transition: transform 0.3s ease;
}

.cp-faq-item.active .cp-faq-item__icon {
    transform: rotate(180deg);
}

.cp-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: #c0c0c0;
    line-height: 1.8;
}

.cp-faq-item.active .cp-faq-item__answer {
    max-height: 200px;
    padding-top: 1rem;
}

/* Marquee Banner Widget */
.cp-marquee-banner {
    background: #d4af37;
    color: #0a0a0a;
    padding: 1rem 0;
    overflow: hidden;
}

.cp-marquee-banner__content {
    display: flex;
    animation: cp-marquee 20s linear infinite;
    white-space: nowrap;
}

.cp-marquee-banner__item {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes cp-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
