/* Common styles for all product pages */

/* Apple-style hero section */
.apple-hero-section {
    padding: 180px 0 100px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    padding-right: 30px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.hero-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.apple-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apple-btn-primary svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.apple-btn-primary:hover {
    background: #0055b3;
    transform: translateY(-2px);
}

.apple-btn-primary:hover svg {
    transform: translateX(3px);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.image-decoration-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.05);
    top: -50px;
    right: -70px;
    z-index: 1;
}

.image-decoration-2 {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.05);
    bottom: -30px;
    left: -40px;
    z-index: 1;
}

/* Estilos del carrusel moderno */
.modern-product-carousel {
    position: relative;
    padding: 30px 0;
    margin-bottom: 30px;
}

.modern-product-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0066cc, #1a90ff);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

.product-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-btn i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.product-btn:hover {
    color: #004999;
}

.product-btn:hover i {
    transform: translateX(5px);
}

/* Swiper navigation styles */
.swiper-button-next,
.swiper-button-prev {
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(0, 102, 204, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 20px;
    border-radius: 4px;
}

/* Apple-style Personal Assistance Section */
.apple-assistance-section {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.apple-assistance-card {
    background: linear-gradient(90deg, #021e3d 0%, #00477d 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.apple-assistance-content {
    padding: 50px;
    color: white;
}

.apple-assistance-inner {
    max-width: 500px;
}

.apple-assistance-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.apple-assistance-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.apple-assistance-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.apple-assistance-btn svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.apple-assistance-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.apple-assistance-btn:hover svg {
    transform: translateX(3px);
}

.apple-assistance-image {
    height: 100%;
    position: relative;
}

.apple-assistance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .apple-hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .apple-assistance-content {
        padding: 40px 30px;
        text-align: center;
    }
    
    .apple-assistance-inner {
        max-width: 100%;
    }
    
    .apple-assistance-title {
        font-size: 30px;
    }
    
    .apple-assistance-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .apple-hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .modern-product-card {
        margin-bottom: 20px;
    }
    
    .apple-assistance-title {
        font-size: 28px;
    }
    
    .apple-assistance-text {
        font-size: 16px;
    }
}

/* Product carousel styling */
.modern-product-carousel {
    position: relative;
    padding: 30px 0;
    margin-bottom: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-category {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 20px !important;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
    display: block !important;
    visibility: visible !important;
}

.product-description {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 16px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.product-btn:hover {
    color: var(--secondary-color);
}

.product-btn:hover i {
    transform: translateX(5px);
}

/* Swiper navigation and pagination */
.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-swiper .swiper-button-next:after,
.product-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.product-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.product-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Product carousel title specific fixes */
.product-swiper .swiper-slide .product-title,
.product-card .product-title,
.modern-product-carousel .product-card .product-title {
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    display: block !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    color: var(--dark-color);
    z-index: 5 !important;
}

/* Improved product image hover effects */
.product-card {
    overflow: visible;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    z-index: 10;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, scale 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.2);
}

.product-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-content {
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.product-title {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .product-image {
        aspect-ratio: 3/2; /* Slightly shorter on mobile */
    }
    
    .product-card:hover {
        transform: translateY(-5px); /* Less movement on mobile */
    }
    
    .product-card:hover .product-image {
        transform: scale(1.03); /* Less scaling on mobile */
    }
} 