/*================================================
*
* PAGE-SPECIFIC CSS
* Consolidated from individual PHP files
*
================================================*/

/* ====================
   MOBILE PAGE STYLES
==================== */

/* Override global apple-section spacing for mobile page */
.mobile-hero.apple-section.apple-section-dark {
    padding: 60px 0 20px 0 !important;
}
.mobile-filter.apple-section {
    padding: 80px 0 20px 0 !important;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
    .mobile-hero.apple-section.apple-section-dark {
        padding: 60px 0 15px 0 !important;
    }
    .mobile-filter.apple-section {
        padding: 60px 0 15px 0 !important;
    }
    .display-4 {
        font-size: 2rem !important;
    }
}

@media (max-width: 575.98px) {
    .mobile-hero.apple-section.apple-section-dark {
        padding: 60px 0 10px 0 !important;
    }
    .mobile-filter.apple-section {
        padding: 50px 0 10px 0 !important;
    }
}

/* Reduce product card shadows for cleaner look */
.mobile-page .apple-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

@media (max-width: 768px) {
    .mobile-page .apple-card {
        box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    }
}

/* Neon Pulse Button Animation for Product Cards */
.mobile-page .apple-card .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-page .apple-card .btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(52, 211, 153, 0.6) !important;
    border: none !important;
    background: linear-gradient(to right, #34d399, #14b8a6, #06b6d4) !important;
    background-size: 200% 200% !important;
    animation: neonPulse 2s ease infinite, neonGradient 3s ease infinite !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.mobile-page .apple-card .btn:active {
    transform: translateY(0px) scale(1) !important;
}

/* Neon gradient animation keyframes */
@keyframes neonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Neon pulse animation keyframes */
@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(52, 211, 153, 0.4);
    }
    50% { 
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(52, 211, 153, 0.8);
    }
}

/* ====================
   LAPTOP PAGE STYLES
==================== */

/* Override global apple-section spacing for laptop page */
.laptop-hero.apple-section.apple-section-dark {
    padding: 60px 0 20px 0 !important;
}
.laptop-filter.apple-section {
    padding: 80px 0 20px 0 !important;
}

/* Mobile responsive overrides for laptop page */
@media (max-width: 768px) {
    .laptop-hero.apple-section.apple-section-dark {
        padding: 60px 0 15px 0 !important;
    }
    .laptop-filter.apple-section {
        padding: 60px 0 15px 0 !important;
    }
}

@media (max-width: 575.98px) {
    .laptop-hero.apple-section.apple-section-dark {
        padding: 60px 0 10px 0 !important;
    }
    .laptop-filter.apple-section {
        padding: 50px 0 10px 0 !important;
    }
}

/* Laptop page specific button animations */
.laptop-page .apple-card .btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(52, 211, 153, 0.6) !important;
    border: none !important;
    background: linear-gradient(to right, #34d399, #14b8a6, #06b6d4) !important;
    background-size: 200% 200% !important;
    animation: neonPulse 2s ease infinite, neonGradient 3s ease infinite !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* ====================
   STORES PAGE STYLES
==================== */

/* Clean Store Card Styles */
.store-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* NEW Store Image Gallery Styles */
.store-image-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 300px;
    cursor: pointer;
}

.store-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.store-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-image-card:hover .store-gallery-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .store-image-card {
        height: 250px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .store-image-card {
        height: 220px;
    }
}

/* ====================
   GALLERY PAGE STYLES
==================== */

/* Gallery Card Styles */
.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 300px;
    position: relative;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .gallery-card {
        height: 250px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-card {
        height: 220px;
    }
}

/* ====================
   ABOUT PAGE STYLES
==================== */

/* About page specific counter animation styles */
.about-page .counter {
    display: inline-block;
    font-weight: 500;
    line-height: 1;
}

.about-page .counter-number {
    display: inline-block;
    transition: all 0.3s ease;
}

.about-page .counter-suffix {
    display: inline-block;
    margin-left: 0.1em;
}

/* ====================
   SERVICES PAGE STYLES
==================== */

/* Service page specific styles can go here */

/* ====================
   CONTACT PAGE STYLES
==================== */

/* Contact page specific styles can go here */

/* ====================
   FRANCHISE PAGE STYLES
==================== */

/* Franchise page specific styles can go here */