/*================================================
*
* 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 *//* Creative Gradient Underline for Header Nav Links */
.header .header-menu.nav-link-hover-line .nav .nav-item .nav-link:before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  background: linear-gradient(90deg, #1db585 0%, #20c997 50%, #40e0d0 100%);
  height: 2px;
  width: 0;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}

.header .header-menu.nav-link-hover-line .nav .nav-item .nav-link:hover:before {
  width: 100%;
}

.header .header-menu.nav-link-hover-line .nav .nav-item .nav-link:hover {
  color: #1db585;
}

/* Main Product Card Styles - Global */
.main-product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.main-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.main-product-image {
  background: #ffffff;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.main-product-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-product-card:hover .main-product-image img {
  transform: scale(1.05);
}

.main-product-content {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, #fef7f4 0%, #f4eef5 100%);
}

.main-product-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #86868b;
  margin: 0;
}

.main-product-model {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.main-product-btn {
  background: linear-gradient(135deg, #00bfa5, #00d4b5);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.main-product-btn:hover {
  background: linear-gradient(135deg, #00a690, #00bfa5);
  box-shadow: 0 6px 20px rgba(0, 191, 165, 0.35);
  transform: translateY(-2px);
}

.main-product-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 767.98px) {
  .main-product-card {
    min-height: 340px;
  }
  .main-product-image {
    height: 220px;
    padding: 16px;
  }
  .main-product-content {
    padding: 16px 14px;
  }
  .main-product-model {
    font-size: 18px;
  }
  .main-product-btn {
    font-size: 10px;
    padding: 8px 16px;
  }
}

/* Extra small devices */
@media (max-width: 575.98px) {
  .main-product-card {
    min-height: 320px;
  }
}

