/* Lux Marketing Custom Styles */
:root {
    --lux-primary: #1a1a1a;
    --lux-accent: #FF6B35;
    --lux-text: #333333;
    --lux-light: #f5f5f5;
}

/* Fonts are now loaded via lux-fonts.css */

/* Lux Marketing color scheme adjustments */
.button {
    background-color: var(--lux-accent);
}

.button:hover {
    background-color: #e55a2b;
}

.lux-content h1, .lux-content h2, .lux-content h3, .lux-content h4, .lux-content h5, .lux-content h6 {
    color: var(--lux-primary);
}

.paragraph {
    color: var(--lux-text);
}

/* Match Lux Marketing spacing and typography */
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

/* Hero Section Background - Light Version */
.v2-common-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
}

.v2-common-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 26, 26, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.v2-common-hero-section .container {
    position: relative;
    z-index: 1;
}

/* Alternative: Add a pattern overlay for light background */
.v2-common-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a1a1a' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

/* Override text colors for light hero background */
.v2-common-hero-section .white-text {
    color: var(--lux-primary) !important;
}

.v2-common-hero-section .v2-service-hero-paragraph {
    color: var(--lux-text) !important;
}

/* Fix hidden hero content - override Webflow animations */
.v2-common-hero-section [style*="opacity:0"],
.v2-common-hero-section [data-w-id] {
    opacity: 1 !important;
}

/* Ensure hero content is visible */
.hero-review-wrapper,
.v2-service-hero-heading-div,
.v2-service-hero-paragraph,
.common-button-div,
.v2-feature-hero-image-div {
    opacity: 1 !important;
}

/* Optimize image loading and rendering */
img[loading="eager"] {
    content-visibility: auto;
}

/* Prevent layout shift while images load */
.lux-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Disable slow Webflow animations for faster load */
[data-w-id] {
    animation: none !important;
    transition: none !important;
}

/* Re-enable hover effects for buttons */
.button,
.text-link {
    transition: all 0.2s ease !important;
}

/* Fix hero review wrapper layout */
.hero-review-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.hero-review-image-div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

.hero-review-div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.hero-user-image {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.hero-user-image.margin {
    margin-left: -12px !important;
}

/* Service Details Section */
.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px 0;
}

.service-detail-row:last-child {
    margin-bottom: 0;
}

.service-detail-row.reverse {
    direction: rtl;
}

.service-detail-row.reverse > * {
    direction: ltr;
}

.service-detail-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-detail-image-wrapper:hover .service-detail-image {
    transform: scale(1.05);
}

.service-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--lux-primary);
}

.service-detail-content > .paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--lux-text);
}

.service-detail-features {
    margin-bottom: 30px;
}

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

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--lux-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--lux-primary);
}

.feature-item .paragraph.small {
    font-size: 0.95rem;
    margin: 0;
    color: #666;
}

/* Responsive */
@media (max-width: 991px) {
    .service-detail-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .service-detail-row.reverse {
        direction: ltr;
    }
    
    .service-detail-content h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .service-detail-row {
        gap: 30px;
        margin-bottom: 50px;
        padding: 20px 0;
    }
    
    .service-detail-content h3 {
        font-size: 1.5rem;
    }
    
    .service-detail-content > .paragraph {
        font-size: 1rem;
    }
}
