/*
Theme Name:   equinox-gym
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/
@import url("./css/fontello.css");

/* ============================================
   Footer Styles - Global
   ============================================ */
/* Ensure footer is visible and not fixed */
#footer-model-3 {
    position: relative !important;
    clear: both;
    margin-top: 0;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure content doesn't overlap footer */
.et-footers-wrapper {
    margin-top: auto;
    position: relative !important;
    clear: both;
    bottom: auto !important;
    top: auto !important;
    display: block !important;
    visibility: visible !important;
}

/* Disable fixed footer option from theme */
body.footer-fixed .et-footers-wrapper,
body.footer-fixed footer,
body.footer-fixed #footer-model-3,
body[class*="footer-fixed"] .et-footers-wrapper,
body[class*="footer-fixed"] footer,
body[class*="footer-fixed"] #footer-model-3 {
    position: relative !important;
}

/* ============================================
   Menu Template Styles
   ============================================ */
.page-template-page-menu .gradient-text {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
}

.page-template-page-menu .yellow-gradient {
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
}

.page-template-page-menu .green-gradient {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
}

.page-template-page-menu .pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
    }
}

.page-template-page-menu .menu-card {
    transition: all 0.3s ease;
    transform: perspective(1000px);
}

.page-template-page-menu .menu-card:hover {
    transform: perspective(1000px) translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.page-template-page-menu .macro-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.page-template-page-menu .price-tag {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.page-template-page-menu .section-divider {
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
}

.page-template-page-menu .category-card {
    transition: all 0.3s ease;
}

.page-template-page-menu #menu-categories {
    direction: rtl;
}

.page-template-page-menu .space-x-reverse > * + * {
    margin-right: 1.5rem;
    margin-left: 0;
}

@media (max-width: 768px) {
    .page-template-page-menu #menu-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-template-page-menu #menu-hero p {
        font-size: 1rem;
    }
    
    .page-template-page-menu #cta-section h2 {
        font-size: 2.5rem;
    }
    .main-sep h4 {
        font-size: 22px !important;
        color: #b7b7b7;
    }
    .wpb_column.vc_column_container.vc_col-sm-12 .vc_custom_1759772261935 {
        margin-top: 0px !important;
        margin-bottom: 50px !important;
    }
}


/* Override any inline styles that might set fixed position */
.et-footers-wrapper[style*="fixed"],
.et-footers-wrapper[style*="position:fixed"],
footer[style*="fixed"],
footer[style*="position:fixed"],
#footer-model-3[style*="fixed"],
#footer-model-3[style*="position:fixed"] {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

/* Remove body class that might enable fixed footer */
body.footer-fixed,
body[class*="footer-fixed"] {
    padding-bottom: 0 !important;
}

/* Add spacing before footer to prevent content overlap */
.template-content,
#main-content,
.site-content,
.content-area {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure page wrapper has proper spacing */
.page-wrapper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Fix for content overlapping footer */
.template-content,
#main-content {
    position: relative;
}

/* Ensure footer wrapper is separate */
.et-footers-wrapper {
    position: relative;
    margin-top: 0;
    clear: both;
}

/* Prevent absolute positioned elements from overlapping footer */
body {
    position: relative;
}

/* Add clearfix before footer */
.et-footers-wrapper::before {
    content: '';
    display: block;
    clear: both;
}

/* Ensure footer appears below all content */
.et-footers-wrapper {
    position: relative !important;
    margin-top: 0 !important;
    clear: both !important;
}

/* Fix for content that might overlap */
#main-content,
.template-content,
.page-wrapper > *:not(.et-footers-wrapper) {
    position: relative;
}

/* Ensure footer is at the bottom */
#footer-model-3 {
    position: relative !important;
    clear: both;
    margin-top: 0;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ============================================
   Blog Template Styles (page-blog.php only)
   ============================================ */

/* Hide scrollbar for blog template */
body.page-template-page-blog ::-webkit-scrollbar { 
    display: none;
}


/* Gradient text effects */
.gradient-text,
body.page-template-page-blog .gradient-text,
body .gradient-text {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
}

.yellow-gradient,
body.page-template-page-blog .yellow-gradient,
body .yellow-gradient {
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
}

/* Floating animation */
body.page-template-page-blog .floating-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Blog card hover effects */
body.page-template-page-blog .blog-card {
    transition: all 0.3s ease;
}

body.page-template-page-blog .blog-card:hover {
    transform: translateY(-5px);
    border-color: #ef4444 !important;
}

/* Pulse glow animation */
body.page-template-page-blog .pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
    }
}

/* Yellow glow animation */
body.page-template-page-blog .yellow-glow {
    animation: yellow-glow 2s infinite;
}

@keyframes yellow-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

/* Blog Hero Section */
body.page-template-page-blog #blog-hero {
    position: relative;
    overflow: hidden;
}

body.page-template-page-blog #blog-hero .hero-overlay {
    position: absolute;
    inset: 0;
}

body.page-template-page-blog #blog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-template-page-blog #blog-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), transparent, rgba(220, 38, 38, 0.8));
}

/* Blog Content Section */
body.page-template-page-blog #blog-content {
    background-color: #111827;
}

/* Blog sidebar sticky positioning */
body.page-template-page-blog #blog-sidebar .sticky {
    position: -webkit-sticky;
    position: sticky;
}

/* Search widget input focus */
body.page-template-page-blog #search-widget input:focus {
    border-color: #ef4444;
    outline: none;
}

/* Search widget RTL fixes */
body.page-template-page-blog #search-widget input {
    direction: rtl;
    text-align: right;
}

body.page-template-page-blog #search-widget button {
    left: 0.75rem;
    right: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-template-page-blog #search-widget button svg {
    display: block;
}

/* Social media icons */
body.page-template-page-blog #social-follow a {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-template-page-blog #social-follow svg {
    display: block;
}

/* Category and tag badges */
body.page-template-page-blog .bg-red-600,
body.page-template-page-blog .bg-yellow-500 {
    transition: all 0.3s ease;
}

/* Newsletter form input focus */
body.page-template-page-blog #newsletter-signup input:focus {
    border-color: #ffd700;
    outline: none;
}

/* Social links hover */
body.page-template-page-blog #social-follow a {
    transition: all 0.3s ease;
}

/* Pagination links */
body.page-template-page-blog .page-numbers {
    transition: all 0.3s ease;
}

body.page-template-page-blog .page-numbers:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for blog template */
@media (max-width: 1024px) {
    body.page-template-page-blog #blog-sidebar {
        margin-top: 2rem;
    }
    
    body.page-template-page-blog #blog-sidebar .sticky {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    body.page-template-page-blog #blog-hero h1 {
        font-size: 2.5rem !important;
    }
    
    body.page-template-page-blog .blog-card {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   About Us Template Styles (page-about-us-eqo.php only)
   ============================================ */

/* Hide scrollbar for about us template */
body.page-template-page-about-us-eqo ::-webkit-scrollbar { 
    display: none;
}

/* Gradient text effects for about us */
.gradient-text,
body.page-template-page-about-us-eqo .gradient-text,
body .gradient-text {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
}

/* Feature card hover effects */
body.page-template-page-about-us-eqo .feature-card {
    transition: all 0.5s ease;
}

body.page-template-page-about-us-eqo .feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ef4444 !important;
}

/* Stat counter animation */
body.page-template-page-about-us-eqo .stat-counter {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating card animation for about us */
body.page-template-page-about-us-eqo .floating-card {
    animation: float 6s ease-in-out infinite;
}

/* RTL adjustments for about us template */
body.page-template-page-about-us-eqo .space-x-reverse {
    direction: rtl;
}

body.page-template-page-about-us-eqo .text-right {
    text-align: right;
}

/* Responsive adjustments for about us template */
@media (max-width: 1024px) {
    body.page-template-page-about-us-eqo #about-hero h1 {
        font-size: 4rem !important;
    }
}

@media (max-width: 768px) {
    body.page-template-page-about-us-eqo #about-hero h1 {
        font-size: 3rem !important;
    }
    
    body.page-template-page-about-us-eqo .feature-card {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   Footer Styles
   ============================================ */

#footer-model-3 {
    position: relative;
    overflow: hidden;
}

#footer-model-3 .newsletter-glow {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.2);
}

/* Footer RTL adjustments */
#footer-model-3 .space-x-reverse {
    direction: rtl;
}

#footer-model-3 .text-right {
    text-align: right;
}

#footer-model-3 ul li {
    text-align: right;
}

/* Footer newsletter form RTL */
#footer-model-3 .newsletter-glow form {
    direction: rtl;
}

#footer-model-3 .newsletter-glow input {
    text-align: right;
}

#footer-model-3 .newsletter-glow button {
    border-radius: 0.5rem 0 0 0.5rem;
}

#footer-model-3 .newsletter-glow input {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Footer social icons */
#footer-model-3 .flex.space-x-reverse {
    direction: rtl;
}

/* Footer responsive */
@media (max-width: 1024px) {
    #footer-model-3 .grid.lg\:grid-cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    #footer-model-3 .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (max-width: 768px) {
    #footer-model-3 .grid.lg\:grid-cols-6 {
        grid-template-columns: 1fr;
    }
    
    #footer-model-3 .lg\:col-span-2 {
        grid-column: span 1 / span 1;
    }
    
    #footer-model-3 .flex.justify-center.space-x-4 {
        flex-direction: column;
        gap: 1rem;
    }
    
    #footer-model-3 .flex.justify-center.space-x-4 button {
        width: 100%;
    }
}
#footer-model-3 .absolute.inset-0 {
    opacity: 0.3;
    filter: grayscale(1);
}

/* ============================================
   Teams Template Styles (page-teams.php only)
   ============================================ */

/* Hide scrollbar for teams template */
body.page-template-page-teams ::-webkit-scrollbar { 
    display: none;
}

/* Body styles for teams template */
body.page-template-page-teams {
    background-color: #111111;
}

/* Gradient text effects */
body.page-template-page-teams .gradient-text {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

body.page-template-page-teams .yellow-gradient {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Pulse glow animation */
body.page-template-page-teams .pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
    }
}

/* Trainer card styles */
body.page-template-page-teams .trainer-card {
    transition: all 0.4s ease;
}

body.page-template-page-teams .trainer-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.25);
}

/* Social icon styles */
body.page-template-page-teams .social-icon {
    transition: all 0.3s ease;
}

/* Progress bar animation */
body.page-template-page-teams .progress-bar div {
    animation: progress-fill 2s ease-out forwards;
}

@keyframes progress-fill {
    from {
        width: 0%;
    }
    to {
        /* width is set inline */
    }
}

/* RTL support for teams template */
body.page-template-page-teams[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body.page-template-page-teams[dir="rtl"] .space-x-4 > * + * {
    margin-right: 1rem;
    margin-left: 0;
}

body.page-template-page-teams[dir="rtl"] .space-x-2 > * + * {
    margin-right: 0.5rem;
    margin-left: 0;
}

body.page-template-page-teams[dir="rtl"] .ml-2 {
    margin-left: 0;
    margin-right: 0.5rem;
}

body.page-template-page-teams[dir="rtl"] .mr-2 {
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Responsive adjustments for teams template */
@media (max-width: 768px) {
    body.page-template-page-teams #team-hero h1 {
        font-size: 2.5rem !important;
    }
    
    body.page-template-page-teams .trainer-card {
        margin-bottom: 1.5rem;
    }
}