/* Enhanced Specifications Section */
.specs-layout {
    margin-top: 80px;
}

.specs-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* Add spacing inside specs accordion content */
.specs-accordion .accordion-content {
    padding: 0 25px 20px;
}

.specs-hero-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.specs-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.specs-hero-content h3 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specs-hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.key-specs {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.key-spec {
    text-align: center;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex: 1;
    transition: transform 0.3s ease;
}

.key-spec:hover {
    transform: translateY(-5px);
}

.spec-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.key-spec .spec-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Detailed Specifications */
.specs-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.spec-category {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.spec-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.spec-category-header {
    padding: 25px 30px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
}

.spec-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Movement Icon - Clean Gear */
.spec-icon.movement::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97c0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1c0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97c0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1c0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

/* Case Icon - Watch Case */
.spec-icon.case::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

/* Crystal Icon - Diamond Shape */
.spec-icon.crystal::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2l6 6 6-6H6zm12 4l-6 6 6 6V6zM6 6v12l6-6-6-6zm6 8l6 6H6l6-6z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2l6 6 6-6H6zm12 4l-6 6 6 6V6zM6 6v12l6-6-6-6zm6 8l6 6H6l6-6z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

/* Strap Icon - Band/Belt */
.spec-icon.strap::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h12v2H6V4zm0 4h12v2H6V8zm0 4h12v2H6v-2zm0 4h12v2H6v-2z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h12v2H6V4zm0 4h12v2H6V8zm0 4h12v2H6v-2zm0 4h12v2H6v-2z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

.spec-category-header h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-category-content {
    padding: 30px;
}

.spec-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.spec-detail:last-child {
    border-bottom: none;
}

.spec-detail:hover {
    background: var(--bg-secondary);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 6px;
}

.spec-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.spec-detail .spec-value {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: right;
    font-weight: 400;
}

/* Responsive Specifications */
@media (max-width: 768px) {
    .specs-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }
    
    .specs-hero-image {
        height: 300px;
    }
    
    .specs-hero-content h3 {
        font-size: 2rem;
    }
    
    .key-specs {
        flex-direction: column;
        gap: 20px;
    }
    
    .specs-detailed {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .spec-category-header {
        padding: 20px 25px;
    }
    
    .spec-category-content {
        padding: 25px;
    }
    
    .spec-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .spec-detail .spec-value {
        text-align: left;
        color: var(--text-primary);
        font-weight: 500;
    }
}

/* Animation for spec categories */
.spec-category {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.spec-category:nth-child(1) { animation-delay: 0.1s; }
.spec-category:nth-child(2) { animation-delay: 0.2s; }
.spec-category:nth-child(3) { animation-delay: 0.3s; }
.spec-category:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced spec detail hover effects */
.spec-detail .spec-value::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.spec-detail:hover .spec-value::after {
    width: 100%;
}
